summaryrefslogtreecommitdiff
path: root/crc
diff options
context:
space:
mode:
Diffstat (limited to 'crc')
-rw-r--r--crc/crc32c-intel.c2
-rw-r--r--crc/crc32c.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/crc/crc32c-intel.c b/crc/crc32c-intel.c
index 77d6df41..969a037f 100644
--- a/crc/crc32c-intel.c
+++ b/crc/crc32c-intel.c
@@ -18,7 +18,7 @@
* Volume 2A: Instruction Set Reference, A-M
*/
-#ifdef ARCH_HAVE_SSE
+#ifdef ARCH_HAVE_SSE4_2
#if BITS_PER_LONG == 64
#define REX_PRE "0x48, "
diff --git a/crc/crc32c.h b/crc/crc32c.h
index 50f3665f..596fd6c5 100644
--- a/crc/crc32c.h
+++ b/crc/crc32c.h
@@ -22,7 +22,7 @@
extern uint32_t crc32c(unsigned char const *, unsigned long);
-#ifdef ARCH_HAVE_SSE
+#ifdef ARCH_HAVE_SSE4_2
extern uint32_t crc32c_intel(unsigned char const *, unsigned long);
extern int crc32c_intel_works(void);
#else