From: Hu, Lin1 Date: Mon, 8 Jan 2024 07:47:30 +0000 (+0800) Subject: i386: Use .insn describe jmpabs's testcases. X-Git-Tag: upstream/2.42~216 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0c9f938521a36b34a27740e5008e35f0ddd2b3f;p=platform%2Fupstream%2Fbinutils.git 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. --- 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