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

fix potential unterminated CROARING_TARGET_REGION #456

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

longqimin
Copy link
Contributor

  • bug case: CROARING_TARGET_AVX512 is unterminated when defined(__AVX2__) and !defined(__AVX512VBMI2__)
  • fixes as:
    • termiate CROARING_TARGET_AVX2 with CROARING_UNTARGET_AVX2. the same to CROARING_TARGET_AVX512/CROARING_UNTARGET_AVX512.
    • define/undef CROARING_(UN)TARGET_{region} pair members at the same place.

- bug case: `CROARING_TARGET_AVX512` is unterminated when `defined(__AVX2__) and !defined(__AVX512VBMI2__)`
- fixes as:
  - termiate CROARING_TARGET_AVX2 with CROARING_UNTARGET_AVX2. the same to CROARING_TARGET_AVX512/CROARING_UNTARGET_AVX512.
  - define/undef CROARING_(UN)TARGET_{region} pair members at the same place.
@lemire
Copy link
Member

lemire commented Mar 28, 2023

I like it. Let us merge.

I don't know what is up with the tests, but we can fix that up later.

@lemire lemire merged commit b36a210 into RoaringBitmap:master Mar 28, 2023
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