Skip to content

Ignore XSTATE_BV when comparing XTEST XsaveArea #1641

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

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

marxin
Copy link
Contributor

@marxin marxin commented Sep 21, 2024

Ignore XSTATE_BV (state-component bitmap) that occupies the first byte of the XSAVE Header
(at offset 512 bytes from the start). The value may change, for more information see the following chapter:
13.7 OPERATION OF XSAVE - Intel® 64 and IA-32 Architectures Software Developer’s Manual.

Tested on AMD Ryzen 9 7900X 12-Core Processor.

@rustbot
Copy link
Collaborator

rustbot commented Sep 21, 2024

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) some time within the next two weeks.

@Amanieu Amanieu enabled auto-merge (rebase) September 22, 2024 11:34
@Amanieu Amanieu merged commit bd39ef8 into rust-lang:master Sep 22, 2024
33 checks passed
@marxin marxin deleted the fix-xsave-tests branch September 22, 2024 12:23
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.

3 participants