diff options
author | Hu, Lin1 <lin1.hu@intel.com> | 2024-01-08 15:47:30 +0800 |
---|---|---|
committer | Hu, Lin1 <lin1.hu@intel.com> | 2024-01-08 16:09:45 +0800 |
commit | a0c9f938521a36b34a27740e5008e35f0ddd2b3f (patch) | |
tree | c8bbf352995376f074aa4e0eb910dd7f580b629e | |
parent | b4043a7a02e12b9d2201c19a3850c5c6b981a903 (diff) | |
download | gdb-a0c9f938521a36b34a27740e5008e35f0ddd2b3f.zip gdb-a0c9f938521a36b34a27740e5008e35f0ddd2b3f.tar.gz gdb-a0c9f938521a36b34a27740e5008e35f0ddd2b3f.tar.bz2 |
i386: Use .insn describe jmpabs's testcases.
gas/ChangeLog:
* testsuite/gas/i386/x86-64-apx-jmpabs-inval.s: Use .insn instead
of .byte to describe test cases.
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-apx-jmpabs-inval.s | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/testsuite/gas/i386/x86-64-apx-jmpabs-inval.s b/gas/testsuite/gas/i386/x86-64-apx-jmpabs-inval.s index de4440a..481fc7c 100644 --- a/gas/testsuite/gas/i386/x86-64-apx-jmpabs-inval.s +++ b/gas/testsuite/gas/i386/x86-64-apx-jmpabs-inval.s @@ -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 |