diff --git a/benchmarks/bulk-insert-and-query.cc b/benchmarks/bulk-insert-and-query.cc index c17c220..82cd55e 100644 --- a/benchmarks/bulk-insert-and-query.cc +++ b/benchmarks/bulk-insert-and-query.cc @@ -382,7 +382,7 @@ int main(int argc, char * argv[]) { {52, "BlockedBloom-addAll"}, {53, "BlockedBloom64"}, #endif -#ifdef __SSE41__ +#ifdef __SSE4_1__ {54, "BlockedBloom16"}, #endif @@ -895,7 +895,7 @@ int main(int argc, char * argv[]) { cout << setw(NAME_WIDTH) << names[a] << cf << endl; } #endif -#ifdef __SSE41__ +#ifdef __SSE4_1__ a = 54; if (algorithmId == a || (algos.find(a) != algos.end())) { auto cf = FilterBenchmark>( diff --git a/benchmarks/filterapi.h b/benchmarks/filterapi.h index aa1b492..f78c8d8 100644 --- a/benchmarks/filterapi.h +++ b/benchmarks/filterapi.h @@ -473,7 +473,7 @@ template struct FilterAPI> { #endif -#ifdef __SSE41__ +#ifdef __SSE4_1__ template struct FilterAPI> { using Table = SimdBlockFilterFixed16; diff --git a/src/bloom/simd-block-fixed-fpp.h b/src/bloom/simd-block-fixed-fpp.h index e4aef4d..27d4b23 100644 --- a/src/bloom/simd-block-fixed-fpp.h +++ b/src/bloom/simd-block-fixed-fpp.h @@ -398,7 +398,7 @@ SimdBlockFilterFixed::Find(const uint64_t key) const noexcept { /// 16-byte version (not very good) /////////////////////////////////////////////////////////////////// -#ifdef __SSE41__ +#ifdef __SSE4_1__ #include @@ -485,4 +485,4 @@ SimdBlockFilterFixed16::Find(const uint64_t key) const noexcept { return _mm_testc_si128(bucketvalue,mask); } -#endif // #ifdef __SSE41__ +#endif // #ifdef __SSE4_1__