Skip to content

Commit 54bf776

Browse files
committed
Correct the SSE41 definition
1 parent f27873f commit 54bf776

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

benchmarks/bulk-insert-and-query.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ int main(int argc, char * argv[]) {
382382
{52, "BlockedBloom-addAll"},
383383
{53, "BlockedBloom64"},
384384
#endif
385-
#ifdef __SSE41__
385+
#ifdef __SSE4_1__
386386
{54, "BlockedBloom16"},
387387
#endif
388388

@@ -895,7 +895,7 @@ int main(int argc, char * argv[]) {
895895
cout << setw(NAME_WIDTH) << names[a] << cf << endl;
896896
}
897897
#endif
898-
#ifdef __SSE41__
898+
#ifdef __SSE4_1__
899899
a = 54;
900900
if (algorithmId == a || (algos.find(a) != algos.end())) {
901901
auto cf = FilterBenchmark<SimdBlockFilterFixed16<SimpleMixSplit>>(

benchmarks/filterapi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ template <typename filterTable> struct FilterAPI<Prefix_Filter<filterTable>> {
473473

474474
#endif
475475

476-
#ifdef __SSE41__
476+
#ifdef __SSE4_1__
477477
template <typename HashFamily>
478478
struct FilterAPI<SimdBlockFilterFixed16<HashFamily>> {
479479
using Table = SimdBlockFilterFixed16<HashFamily>;

src/bloom/simd-block-fixed-fpp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ SimdBlockFilterFixed<HashFamily>::Find(const uint64_t key) const noexcept {
398398
/// 16-byte version (not very good)
399399
///////////////////////////////////////////////////////////////////
400400

401-
#ifdef __SSE41__
401+
#ifdef __SSE4_1__
402402

403403
#include <smmintrin.h>
404404

@@ -485,4 +485,4 @@ SimdBlockFilterFixed16<HashFamily>::Find(const uint64_t key) const noexcept {
485485
return _mm_testc_si128(bucketvalue,mask);
486486
}
487487

488-
#endif // #ifdef __SSE41__
488+
#endif // #ifdef __SSE4_1__

0 commit comments

Comments
 (0)