Skip to content

Provide cmake-level configuration switch for emulated build#1328

Merged
serge-sans-paille merged 2 commits intomasterfrom
fix/emulated-build-config
Apr 27, 2026
Merged

Provide cmake-level configuration switch for emulated build#1328
serge-sans-paille merged 2 commits intomasterfrom
fix/emulated-build-config

Conversation

@serge-sans-paille
Copy link
Copy Markdown
Contributor

No description provided.

@serge-sans-paille serge-sans-paille force-pushed the fix/emulated-build-config branch 3 times, most recently from f15e116 to 3d98504 Compare April 26, 2026 09:32
Previous manual configuration was setting emulated arch flags while
keeping -march=native which led to conflicting arch detection.
@serge-sans-paille serge-sans-paille force-pushed the fix/emulated-build-config branch from cdb1785 to 94f1284 Compare April 26, 2026 17:01
It is possible to have a batch targeting an emulated build living
alongside a batch for arch512. In such a configuration, trying to
swizzle the emulated build will lead to instantiation of avx512 swizzle
which itself tries to instantiate a batch constant that's invalid in
avx512 terms.

Fix the situation by aggregating all avx512 swizzle of uint16_t under
one function and then switch on patterns.

Based on an idea from @hdu-sdlzx
@serge-sans-paille
Copy link
Copy Markdown
Contributor Author

@AntoinePrv : thanks to @hdu-sdlzx 's hint, this should fix the emulated test.

@serge-sans-paille serge-sans-paille merged commit e80ac4f into master Apr 27, 2026
158 checks passed
@serge-sans-paille serge-sans-paille deleted the fix/emulated-build-config branch April 27, 2026 05:38
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.

1 participant