-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add integer binary instructions to Winch #6538
Add integer binary instructions to Winch #6538
Conversation
Subscribe to Label Action
This issue or pull request has been labeled: "fuzzing", "winch"
Thus the following users have been cc'd because of the following labels:
To subscribe or unsubscribe from this label, edit the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment regarding handling of invalid operand combinations. After that I think we can get this landed.
winch/codegen/src/isa/x64/asm.rs
Outdated
_ => panic!( | ||
"Invalid operand combination for and; src = {:?} dst = {:?}", | ||
src, dst | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe for this and all the other functions below, we can use Self::handle_invalid_operand_combination
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also noticed I can substitute self.load_constant
for self.move_ir
when loading a larger than 32-bit integer into the scratch register so I'll make that change too.
Part of #6528. Adds x86 support for a number of integer binary instructions to Winch.