From 47cd3fa7ee3ebcee7d27a1b25738cc92c3d8d31c Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 10 Oct 2013 12:22:41 +0000 Subject: [PATCH] gas/ 2013-10-10 Jan Beulich * tc-i386-intel.c (i386_intel_simplify_register): Suppress base/index swapping for bndmk, bndldx, and bndstx. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386-intel.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 91d3b3a104e..688924c9ee3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2013-10-10 Jan Beulich + + * tc-i386-intel.c (i386_intel_simplify_register): Suppress base/index + swapping for bndmk, bndldx, and bndstx. + 2013-10-09 Nick Clifton PR gas/16025 diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c index 3f6b0576134..e534110f4cd 100644 --- a/gas/config/tc-i386-intel.c +++ b/gas/config/tc-i386-intel.c @@ -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 -- 2.30.2