diff options
author | Jan Beulich <jbeulich@novell.com> | 2013-10-10 12:20:40 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2013-10-10 12:20:40 +0000 |
commit | dcde06549ee1e2c72b70c648f51e2288da1602f9 (patch) | |
tree | e60553f38789c295bc003e3c31e66ce46327546e /gas | |
parent | 13e7a12609c9949734b673abff486cbc0b26bfd1 (diff) | |
download | binutils-redhat-dcde06549ee1e2c72b70c648f51e2288da1602f9.tar.gz |
gas/
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-i386-intel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c index 3f6b057613..e534110f4c 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 |