diff options
author | Daniel Black <daniel.black@au.ibm.com> | 2016-12-05 08:35:55 +1100 |
---|---|---|
committer | Daniel Black <daniel.black@au.ibm.com> | 2016-12-05 08:35:55 +1100 |
commit | 410bf82b98cb2b29e7663ea8f2fc2d45cd0579b0 (patch) | |
tree | b917a7eec6f98de4effd9559b762c48cb8443e51 /storage/innobase/ut/ut0crc32.cc | |
parent | 6d1256973ab82406853ee114d03ae6bb8a877895 (diff) | |
download | mariadb-git-410bf82b98cb2b29e7663ea8f2fc2d45cd0579b0.tar.gz |
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>
Diffstat (limited to 'storage/innobase/ut/ut0crc32.cc')
-rw-r--r-- | storage/innobase/ut/ut0crc32.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/ut/ut0crc32.cc b/storage/innobase/ut/ut0crc32.cc index 6468ade22e9..6415d04e89f 100644 --- a/storage/innobase/ut/ut0crc32.cc +++ b/storage/innobase/ut/ut0crc32.cc @@ -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; |