]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/binutils-tumbl.git/commit
MASM accepts ESP/RSP being specified second in a memory address
authorJan Beulich <jbeulich@novell.com>
Wed, 25 Jul 2012 11:34:49 +0000 (11:34 +0000)
committerJan Beulich <jbeulich@novell.com>
Wed, 25 Jul 2012 11:34:49 +0000 (11:34 +0000)
commit772e259a3e377dd18ca2a53d143de4fc75bf4a36
tree677cc09499144a54f5bdea21005ccd9911f02207
parent065618e644ef1c2f3d6d3f5aa667efaec54cd3cc
MASM accepts ESP/RSP being specified second in a memory address
operand, by silently making it the base register despite not being
specified first.

Consequently, we also permit an xmm/ymm index to be specified first
(possibly alone), nevertheless putting it in as index register.

2012-07-24  Jan Beulich <jbeulich@suse.com>

* config/tc-i386-intel.c (i386_intel_simplify_register): Handle
xmm/ymm index register being specified first as well as esp/rsp
base register being specified last in a memory operand.
gas/ChangeLog
gas/config/tc-i386-intel.c