-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Avoid random access values for operands in not-yet-specified instructions. #2259
Conversation
Thank you, can you plz also add a minor PoC in |
@@ -16915,7 +16915,7 @@ | |||
|
|||
{ /* X86_VCMPSSZrr_Int, X86_INS_VCMP: vcmp */ | |||
0, | |||
{ 0 } | |||
{ CS_AC_WRITE, CS_AC_READ, CS_AC_READ, 0 } |
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 have added the regression test along with this change, which only fixes the rr variant of vcmpunordss
. Let me know if these access values can also be generated by tablegen.
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 access details can be generated. But x86 is not "officially" supported by auto-sync currently.
But the access information should theoretically generate fine.
You need to build our llvm-tblgen (see docs) and run
llvm-tblgen --gen-asm-matcher --printerLang=CCS -I ./llvm/lib/Target/X86/ -I ./llvm/include/ ./llvm/lib/Target/X86/X86.td
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.
If you still want to generate these things, please do it in another PR. So it is nicely distinct from the changes here.
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.
Please rebase ontop of next
.
done |
Thank you! Merged. |
See description in #2258