Skip to content

Commit

Permalink
i386: Use .insn describe jmpabs's testcases.
Browse files Browse the repository at this point in the history
gas/ChangeLog:

	* testsuite/gas/i386/x86-64-apx-jmpabs-inval.s: Use .insn instead
	of .byte to describe test cases.
  • Loading branch information
Rejur committed Jan 8, 2024
1 parent b4043a7 commit a0c9f93
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gas/testsuite/gas/i386/x86-64-apx-jmpabs-inval.s
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

.text
# With 66 prefix
.byte 0x66,0xd5,0x00,0xa1,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00
.insn {rex2} data16 0xa1, $1{:u64}
# With 67 prefix
.byte 0x67,0xd5,0x00,0xa1,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00
.insn {rex2} addr32 0xa1, $1{:u64}
# With F2 prefix
.byte 0xf2,0xd5,0x00,0xa1,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00
.insn {rex2} repne 0xa1, $1{:u64}
# With F3 prefix
.byte 0xf3,0xd5,0x00,0xa1,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00
.insn {rex2} rep 0xa1, $1{:u64}
# With LOCK prefix
.byte 0xf0,0xd5,0x00,0xa1,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00
.insn {rex2} lock 0xa1, $1{:u64}
# REX2.M0 = 0 REX2.W = 1
.byte 0xd5,0x08,0xa1,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00

0 comments on commit a0c9f93

Please sign in to comment.