Commit 897cc8f
committed
[AMDGPU][MC] Disassembler warning for v_cmpx instructions
For GFX10+ the destnation reg of v_cmpx instructions is
implicitly EXEC, which is encoded as 0x7E. However, the
disassembler does not check this field, thus allowing any
value. With this patch, if the field is not 0x7E a warning
is issued.1 parent 7c104b6 commit 897cc8f
File tree
2 files changed
+418
-1
lines changed- llvm
- lib/Target/AMDGPU/Disassembler
- test/MC/Disassembler/AMDGPU
2 files changed
+418
-1
lines changedLines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
| 666 | + | |
| 667 | + | |
666 | 668 | | |
667 | 669 | | |
668 | 670 | | |
| |||
801 | 803 | | |
802 | 804 | | |
803 | 805 | | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
804 | 814 | | |
805 | | - | |
| 815 | + | |
806 | 816 | | |
807 | 817 | | |
808 | 818 | | |
| |||
0 commit comments