Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions benchmarks/bulk-insert-and-query.cc
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ int main(int argc, char * argv[]) {
{52, "BlockedBloom-addAll"},
{53, "BlockedBloom64"},
#endif
#ifdef __SSE41__
#ifdef __SSE4_1__
{54, "BlockedBloom16"},
#endif

Expand Down Expand Up @@ -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<SimdBlockFilterFixed16<SimpleMixSplit>>(
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/filterapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ template <typename filterTable> struct FilterAPI<Prefix_Filter<filterTable>> {

#endif

#ifdef __SSE41__
#ifdef __SSE4_1__
template <typename HashFamily>
struct FilterAPI<SimdBlockFilterFixed16<HashFamily>> {
using Table = SimdBlockFilterFixed16<HashFamily>;
Expand Down
4 changes: 2 additions & 2 deletions src/bloom/simd-block-fixed-fpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ SimdBlockFilterFixed<HashFamily>::Find(const uint64_t key) const noexcept {
/// 16-byte version (not very good)
///////////////////////////////////////////////////////////////////

#ifdef __SSE41__
#ifdef __SSE4_1__

#include <smmintrin.h>

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

#endif // #ifdef __SSE41__
#endif // #ifdef __SSE4_1__