Skip to content

AVX512: fix disabling other optimizations - #489

Merged
Yuval-Ariel merged 1 commit into
mainfrom
AVX512-disable-only-it
May 11, 2023
Merged

AVX512: fix disabling other optimizations#489
Yuval-Ariel merged 1 commit into
mainfrom
AVX512-disable-only-it

Conversation

@Yuval-Ariel

Copy link
Copy Markdown
Contributor

the previous commit disabled all the rest of the XXH optimizations since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.

this PR fixes that.

@Yuval-Ariel Yuval-Ariel added the bug fix Fixes a known bug label May 4, 2023
@Yuval-Ariel
Yuval-Ariel requested a review from udi-speedb May 4, 2023 06:58
@Yuval-Ariel Yuval-Ariel self-assigned this May 4, 2023
@Yuval-Ariel

Copy link
Copy Markdown
Contributor Author

lets wait with the review for after the rebase

udi-speedb
udi-speedb previously approved these changes May 8, 2023
@mrambacher

Copy link
Copy Markdown
Contributor

Can you explain why this code is different than the vanilla RocksDB?

@Yuval-Ariel

Copy link
Copy Markdown
Contributor Author

since we dont want to run AVX512 together with ASAN. it crashes - #398

the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
@Yuval-Ariel

Copy link
Copy Markdown
Contributor Author

@udi-speedb plz reapprove, i've rebased on current main.

@udi-speedb
udi-speedb self-requested a review May 11, 2023 08:11
@Yuval-Ariel
Yuval-Ariel merged commit be87eba into main May 11, 2023
@Yuval-Ariel
Yuval-Ariel deleted the AVX512-disable-only-it branch May 11, 2023 08:20
udi-speedb pushed a commit that referenced this pull request Nov 19, 2023
fix - AXV512: don't use XXH3_accumulate_512 with ASAN (#398)
the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
udi-speedb pushed a commit that referenced this pull request Dec 5, 2023
fix - AXV512: don't use XXH3_accumulate_512 with ASAN (#398)
the previous commit disabled all the rest of the XXH optimizations
since it didnt prevent the XXH_VECTOR from being defined as XXH_AVX512.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix Fixes a known bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants