Commit 410bf82b authored by Daniel Black's avatar Daniel Black

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: default avatarDaniel Black <daniel.black@au.ibm.com>
parent 6d125697
...@@ -705,7 +705,7 @@ ut_crc32_init() ...@@ -705,7 +705,7 @@ ut_crc32_init()
ut_crc32_byte_by_byte = ut_crc32_byte_by_byte_sw; ut_crc32_byte_by_byte = ut_crc32_byte_by_byte_sw;
ut_crc32_implementation = "Using generic crc32 instructions"; 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 vend[3];
uint32_t model; uint32_t model;
uint32_t family; uint32_t family;
......
...@@ -303,7 +303,7 @@ ut_crc32_init() ...@@ -303,7 +303,7 @@ ut_crc32_init()
ut_crc32 = ut_crc32_slice8; ut_crc32 = ut_crc32_slice8;
ut_crc32_implementation = "Using generic crc32 instructions"; 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 vend[3];
ib_uint32_t model; ib_uint32_t model;
ib_uint32_t family; ib_uint32_t family;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment