8000 x86: Support vzeroupper instruction by BradleyWood · Pull Request #7788 · eclipse-omr/omr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

x86: Support vzeroupper instruction #7788

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
Jun 18, 2025

Conversation

BradleyWood
Copy link
Contributor

No description provided.

@BradleyWood
Copy link
Contributor Author

jenkins build all

@0xdaryl
Copy link
Contributor
0xdaryl commented Jun 10, 2025

Can you explain all the modRM refactoring as part of this PR? Was this needed to support vzeroupper? I'm not saying it's wrong, just unexpected.

@BradleyWood
Copy link
Contributor Author
BradleyWood commented Jun 10, 2025

Can you explain all the modRM refactoring as part of this PR? Was this needed to support vzeroupper?

The vzeroupper instruction is a VEX instruction that has no operands, and no modRM byte. The refactoring was to handle instructions following this pattern.

The failures seem to be quirk of running the binary encoding test on hardware that doesn't support AVX. So by default, it tries to encode the instruction like a legacy SSE instruction.

Signed-off-by: Bradley Wood <bradley.wood@ibm.com>
@BradleyWood
Copy link
Contributor Author

jenkins build all

@0xdaryl 0xdaryl merged commit a5a6ac2 into eclipse-omr:master Jun 18, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0