x86: Add int1 as one byte opcode 0xf1
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 14 Jul 2021 21:17:48 +0000 (14:17 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 14 Jul 2021 21:29:02 +0000 (14:29 -0700)
commit154b353f689cad41ed9455088b3dede30d9f2e00
tree1cd30dd2c4ce5ff65bc1074b2e2d32fc0c804cf7
parent9cce9fab90e0951c6816d97801e124e392e74dd9
x86: Add int1 as one byte opcode 0xf1

Also change the x86 disassembler to disassemble 0xf1 as int1, instead of
icebp.

gas/

PR gas/28088
* testsuite/gas/i386/opcode.s: Add int1.
* testsuite/gas/i386/x86-64-opcode.s: Add int1, int3 and int.
* testsuite/gas/i386/opcode-intel.d: Updated.
* testsuite/gas/i386/opcode-suffix.d: Likewise.
* testsuite/gas/i386/opcode.d: Likewise.
* testsuite/gas/i386/x86-64-opcode.d: Likewise.

opcodes/

PR gas/28088
* i386-dis.c (dis386): Replace icebp with int1.
* i386-opc.tbl: Add int1.
* i386-tbl.h: Regenerate.
gas/testsuite/gas/i386/opcode-intel.d
gas/testsuite/gas/i386/opcode-suffix.d
gas/testsuite/gas/i386/opcode.d
gas/testsuite/gas/i386/opcode.s
gas/testsuite/gas/i386/x86-64-opcode.d
gas/testsuite/gas/i386/x86-64-opcode.s
opcodes/i386-dis.c
opcodes/i386-opc.tbl
opcodes/i386-tbl.h