Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Unsupported instruction was included in the Hamming distance AVX512 processing. #163

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

kpango
Copy link
Member

@kpango kpango commented Jul 5, 2024

Bugfix of #161

I've fixed the problem that _mm512_extract_epi64 is not a supported instruction.
So use _mm512_extracti64x4_epi64 to split into upper and lower bits and use 256 for calculation.
If AVX512VPOPCNTDQ is supported, use _mm512_popcnt_epi64 without extract.

@kpango kpango force-pushed the bugfix/avx512/hammingdistance-instruction branch 2 times, most recently from 4ef0b78 to eecb004 Compare July 6, 2024 23:48
… AVX512 processing.

Signed-off-by: kpango <kpango@vdaas.org>
@kpango kpango force-pushed the bugfix/avx512/hammingdistance-instruction branch from eecb004 to db695ae Compare July 6, 2024 23:53
@masajiro
Copy link
Member

masajiro commented Jul 7, 2024

Thanks!

@masajiro masajiro merged commit eb857d0 into main Jul 7, 2024
@kpango kpango deleted the bugfix/avx512/hammingdistance-instruction branch July 8, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants