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.
This commit is contained in:
Jan Beulich 2013-10-10 12:22:41 +00:00
parent 05feb1933f
commit 47cd3fa7ee
2 changed files with 7 additions and 0 deletions

View 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

View 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