MDEV-9872: Valgrind supports CRC32B and CRC32Q since valgrind-3.6.1

We don't need to drop down to unoptimized crc because of valgrind now.

Valgrind-3.6.1 was released 16 February 2011.

The Power8 ASM instructions seem to be supported in 3.9.0 (31 October 2013).

Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
This commit is contained in:
Daniel Black 2016-12-05 08:35:55 +11:00
parent 6d1256973a
commit 410bf82b98
2 changed files with 2 additions and 2 deletions

View file

@ -705,7 +705,7 @@ ut_crc32_init()
ut_crc32_byte_by_byte = ut_crc32_byte_by_byte_sw;
ut_crc32_implementation = "Using generic crc32 instructions";
#if defined(__GNUC__) && defined(__x86_64__) && !defined(UNIV_DEBUG_VALGRIND)
#if defined(__GNUC__) && defined(__x86_64__)
uint32_t vend[3];
uint32_t model;
uint32_t family;

View file

@ -303,7 +303,7 @@ ut_crc32_init()
ut_crc32 = ut_crc32_slice8;
ut_crc32_implementation = "Using generic crc32 instructions";
#if defined(__GNUC__) && defined(__x86_64__) && !defined(UNIV_DEBUG_VALGRIND)
#if defined(__GNUC__) && defined(__x86_64__)
ib_uint32_t vend[3];
ib_uint32_t model;
ib_uint32_t family;