gas/
authorJan Beulich <jbeulich@novell.com>
Thu, 10 Oct 2013 12:22:41 +0000 (12:22 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 10 Oct 2013 12:22:41 +0000 (12:22 +0000)
2013-10-10  Jan Beulich <jbeulich@suse.com>

* tc-i386-intel.c (i386_intel_simplify_register): Suppress base/index
swapping for bndmk, bndldx, and bndstx.

gas/ChangeLog
gas/config/tc-i386-intel.c

index 91d3b3a104e3e42a6b7f41558f2affcf6eedc789..688924c9ee3470d6c5131aa4100630c47bc5d64b 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-10  Jan Beulich <jbeulich@suse.com>
+
+       * tc-i386-intel.c (i386_intel_simplify_register): Suppress base/index
+       swapping for bndmk, bndldx, and bndstx.
+
 2013-10-09  Nick Clifton  <nickc@redhat.com>
 
        PR gas/16025
index 3f6b057613451839c796ca8a9cdbef2fe6532ec6..e534110f4cde9e7b6762dbae6fcf1dd7fbd6e4ad 100644 (file)
@@ -291,6 +291,8 @@ i386_intel_simplify_register (expressionS *e)
   else if (!intel_state.index)
     {
       if (intel_state.in_scale
+         || current_templates->start->base_opcode == 0xf30f1b /* bndmk */
+         || (current_templates->start->base_opcode & ~1) == 0x0f1a /* bnd{ld,st}x */
          || i386_regtab[reg_num].reg_type.bitfield.baseindex)
        intel_state.index = i386_regtab + reg_num;
       else
This page took 0.027875 seconds and 4 git commands to generate.