Skip to content

Fix s_pclmul_is_supported() cache flag on MSVC#721

Merged
sjaeckel merged 1 commit intolibtom:developfrom
cyanogilvie:fix/pclmul-cache-init-msvc
Apr 14, 2026
Merged

Fix s_pclmul_is_supported() cache flag on MSVC#721
sjaeckel merged 1 commit intolibtom:developfrom
cyanogilvie:fix/pclmul-cache-init-msvc

Conversation

@cyanogilvie
Copy link
Copy Markdown
Contributor

Move initialized=1 out of the #else branch so that on MSVC it doesn't call __cpuid every time.

Move initialized=1 out of the #else branch so that on MSVC it doesn't
call __cpuid every time.
Copy link
Copy Markdown
Member

@sjaeckel sjaeckel left a comment

Choose a reason for hiding this comment

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

Thanks for reporting this! LGTM

@sjaeckel sjaeckel merged commit 94287f0 into libtom:develop Apr 14, 2026
246 checks passed
@sjaeckel sjaeckel added this to the next milestone Apr 15, 2026
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