2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
+ * gas/i386/rex.s: Add a test for VEX insn.
+ * gas/i386/rex.d: Updated.
+
+2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
+
* gas/i386/i386.exp: Run long-1, long-1-intel, x86-64-long-1,
and x86-64-long-1-intel.
[ ]*[0-9a-f]+:[ ]+4a 0f ae 04 05 00 00 00 00[ ]+(rex.WX? )?fxsaveq?[ ]+(0x0)?\(,%r8(,1)?\)
[ ]*[0-9a-f]+:[ ]+43 0f ae 04 00[ ]+fxsavel?[ ]+\(%r8,%r8(,1)?\)
[ ]*[0-9a-f]+:[ ]+4b 0f ae 04 00[ ]+(rex.W(XB)? )?fxsaveq?[ ]+\(%r8,%r8(,1)?\)
+[ ]*[0-9a-f]+:[ ]+40 c5 f9 28 00[ ]+rex vmovapd \(%rax\),%xmm0
[ ]*[0-9a-f]+:[ ]+40[ ]+rex
[ ]*[0-9a-f]+:[ ]+41[ ]+rex.B
[ ]*[0-9a-f]+:[ ]+42[ ]+rex.X
rex/fxsave (%r8,%r8)
rex64/fxsave (%r8,%r8)
+ .byte 0x40
+ vmovapd (%rax),%xmm0
+
# Test prefixes family.
rex
rex.B
2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
+ * i386-dis.c (print_insn): Check rex_ignored.
+
+2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
+
* i386-dis.c (ckprefix): Updated to return 0 if number of
prefixes > 14 and record the last position for each prefix.
(lock_prefix): Removed.
}
/* Check if the REX prefix used. */
- if ((rex ^ rex_used) == 0)
+ if (rex_ignored == 0 && (rex ^ rex_used) == 0)
all_prefixes[last_rex_prefix] = 0;
/* Check if the SEG prefix used. */