Skip to content

x64: Fix the formatting for andn#5789

Merged
elliottt merged 2 commits intobytecodealliance:mainfrom
elliottt:trevor/andn-formatting
Feb 15, 2023
Merged

x64: Fix the formatting for andn#5789
elliottt merged 2 commits intobytecodealliance:mainfrom
elliottt:trevor/andn-formatting

Conversation

@elliottt
Copy link
Member

@elliottt elliottt commented Feb 15, 2023

The formatting for the x64 AluRmRVex instructions followed intel syntax, while we emit at&t syntax for everything else. This PR fixes the argument order in the pretty-printer, and updates the test outputs.

This was identified in #5780 (comment)

@elliottt elliottt requested a review from jameysharp February 15, 2023 17:15
@github-actions github-actions bot added cranelift Issues related to the Cranelift code generator cranelift:area:x64 Issues related to x64 codegen labels Feb 15, 2023
Copy link
Contributor

@jameysharp jameysharp left a comment

Choose a reason for hiding this comment

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

Exactly how I thought this would look. Thanks for looking into it!

@elliottt elliottt merged commit f0137c2 into bytecodealliance:main Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift:area:x64 Issues related to x64 codegen cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants