Only allow 32-bit/64-bit registers for bndcl/bndcu/bndcn
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 12 Oct 2013 15:57:07 +0000 (15:57 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 12 Oct 2013 15:57:07 +0000 (15:57 +0000)
commit6c75cc62a384293163d99dfb7782cb4b78cb4f1a
tree629ab71478824d086f50e5a4c58489dd3f0018ae
parent44dcb735e4714c44813e4e16168b3121de601ad3
Only allow 32-bit/64-bit registers for bndcl/bndcu/bndcn

gas/testsuite/

* gas/i386/mpx.s: Remove bndcl/bndcu/bndcn tests with AX.
* gas/i386/x86-64-mpx.s: Likwise.

* gas/i386/mpx.d: Updated.
* gas/i386/x86-64-mpx.d: Likewise.

opcodes/

* i386-dis.c (intel_operand_size): Move v_bnd_mode alongside the
default case.
(OP_E_register): Move v_bnd_mode alongside m_mode.
* i386-opc.tbl (bndcl, bndcu, bndcn): Split 32- and 64-bit variants.
Drop Reg16 and Disp16. Add NoRex64.
(bndmk, bndmov, bndldx, bndstx): Drop Disp16.
* i386-tbl.h: Re-generate.
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/mpx.d
gas/testsuite/gas/i386/mpx.s
gas/testsuite/gas/i386/x86-64-mpx.d
gas/testsuite/gas/i386/x86-64-mpx.s
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-opc.tbl
opcodes/i386-tbl.h