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

i#6953: Fix sigcontext test AVX error #6954

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

derekbruening
Copy link
Contributor

@derekbruening derekbruening commented Aug 30, 2024

Replaces a kill() with an inlined system call in the linux.sigcontext test to avoid failure when compiled for AVX only, as the compiler inserts VZEROUPPER there (VZEROUPPER is recommended by Intel to avoid a performance penalty when switching between upper-zeroing VEX-encoded XMM operations and legacy upper-preserving SSE* operations: so doing it at transitions to code you don't control makes sense).

Tested on a toolchain targeting AVX.

Fixes #6953

Replaces a kill() with an inlined system call in the linux.sigcontext
test to avoid failure when compiled for AVX only, as the compiler
inserts VZEROUPPER there.

Tested on a toolchain targeting AVX.

Fixes #6953
@derekbruening
Copy link
Contributor Author

These arm runs seem to have a failing test every single PR now. This one is the drstatecmp-fuzz timeout #6944.

@derekbruening derekbruening requested review from edeiana and removed request for ivankyluk August 30, 2024 15:26
@derekbruening derekbruening merged commit 48b436d into master Aug 30, 2024
16 of 17 checks passed
@derekbruening derekbruening deleted the i6953-sigcontext-vzeroupper branch August 30, 2024 18:41
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.

linux.sigcontext test fails when compiled for AVX due to VZEROUPPER
3 participants