Skip to content

Bugfix/bmi constexpr - #63

Merged
heavenfall merged 2 commits into
developfrom
bugfix/bmi-constexpr
Jun 30, 2026
Merged

Bugfix/bmi constexpr#63
heavenfall merged 2 commits into
developfrom
bugfix/bmi-constexpr

Conversation

@heavenfall

Copy link
Copy Markdown
Collaborator

Bugfix for BMI2 support.

  • bugfix include <warthog/defines.h> to import CMake INTRIN user options.
  • bugfix wrap all WARTHOG_INTRIN_HAS(BMI2) inside constexpr functions to only be used at non-compile time, uses non-BMI2 version for all consteval calls.

@dharabor dharabor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@heavenfall
heavenfall merged commit 02e8af3 into develop Jun 30, 2026
1 check passed
@heavenfall
heavenfall deleted the bugfix/bmi-constexpr branch June 30, 2026 00:11
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