-
Notifications
You must be signed in to change notification settings - Fork 1.5k
x64: Custom print logic #10918
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
x64: Custom print logic #10918
Conversation
…om processing logic. prtest:full
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 think the important bits are mostly here, most of the comments below are smaller Rust issues. The one real issue here is where we put the logic... see below.
Co-authored-by: Andrew Brown <andrew.brown@intel.com>
Ready for review, addressed feedback |
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.
Thanks! This looks good. I'll put this in the merge queue but if @alexcrichton has any further suggestions we could follow this up in the compare
PR.
This PR implements custom print logic for
lock
instruction, and reworks the existing logic forcustom_visit
to be more in the form of.custom(Visit | Display)
. Thecustom_visit
logic was originally implemented in #10887 and the changes are made based on some of these comments #10887 (comment)The
Display
logic will be used for compare instructions as well.@abrown