diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-10-12 15:57:07 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-10-12 15:57:07 +0000 |
commit | 4cb9556769a24f799056f0479a12fbfcfb89809d (patch) | |
tree | 30641b0172e67737c537eb76780c3d7a9adc210a /gas/testsuite/gas/i386/x86-64-mpx.s | |
parent | 036d3bc008164a5e004f5adeeabfaaf7cf1e282c (diff) | |
download | binutils-redhat-4cb9556769a24f799056f0479a12fbfcfb89809d.tar.gz |
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.
Diffstat (limited to 'gas/testsuite/gas/i386/x86-64-mpx.s')
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-mpx.s | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gas/testsuite/gas/i386/x86-64-mpx.s b/gas/testsuite/gas/i386/x86-64-mpx.s index 1b696c0435..0db4bdc022 100644 --- a/gas/testsuite/gas/i386/x86-64-mpx.s +++ b/gas/testsuite/gas/i386/x86-64-mpx.s @@ -1,7 +1,7 @@ # MPX instructions .allow_index_reg .text - +start: ### bndmk bndmk (%r11), %bnd1 bndmk (%rax), %bnd1 @@ -41,7 +41,6 @@ bndcl (%rax), %bnd1 bndcl %r11, %bnd1 bndcl %rcx, %bnd1 - bndcl %ax, %bnd1 bndcl (0x399), %bnd1 bndcl 0x3(%r9), %bnd2 bndcl 0x3(%rax), %bnd2 @@ -55,7 +54,6 @@ bndcu (%rax), %bnd1 bndcu %r11, %bnd1 bndcu %rcx, %bnd1 - bndcu %ax, %bnd1 bndcu (0x399), %bnd1 bndcu 0x3(%r9), %bnd2 bndcu 0x3(%rax), %bnd2 @@ -69,7 +67,6 @@ bndcn (%rax), %bnd1 bndcn %r11, %bnd1 bndcn %rcx, %bnd1 - bndcn %ax, %bnd1 bndcn (0x399), %bnd1 bndcn 0x3(%r9), %bnd2 bndcn 0x3(%rax), %bnd2 @@ -147,7 +144,6 @@ bndcl bnd1, [rax] bndcl bnd1, r11 bndcl bnd1, rcx - bndcl bnd1, ax bndcl bnd1, [0x399] bndcl bnd1, [r9+0x3] bndcl bnd1, [rax+0x3] @@ -161,7 +157,6 @@ bndcu bnd1, [rax] bndcu bnd1, r11 bndcu bnd1, rcx - bndcu bnd1, ax bndcu bnd1, [0x399] bndcu bnd1, [r9+0x3] bndcu bnd1, [rax+0x3] @@ -175,7 +170,6 @@ bndcn bnd1, [rax] bndcn bnd1, r11 bndcn bnd1, rcx - bndcn bnd1, ax bndcn bnd1, [0x399] bndcn bnd1, [r9+0x3] bndcn bnd1, [rax+0x3] |