gas/
authorJan Beulich <jbeulich@novell.com>
Thu, 28 Aug 2008 09:42:11 +0000 (09:42 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 28 Aug 2008 09:42:11 +0000 (09:42 +0000)
commitfc0763e65af9240d302c14f3bbab5e3e0f3b7364
treec3a3f767048ce397556d20f3c20cad35e79b86e5
parent6bba1048d63e0476b94b9934527defd81c590a13
gas/
2008-08-28  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (md_assemble): Force number of displacement
operands to zero when processing string instruction.
(i386_index_check): Special-case string instruction operands. Don't
fudge address prefix if there already was a memory operand. Fix
error message to correctly reflect the addressing mode used.
(i386_att_operand): Fix comment.
(i386_intel_operand): Snapshot, clear, and restore base and index
reg for each operand processed. Increment count of memory operands
later.

gas/testsuite/
2008-08-28  Jan Beulich  <jbeulich@novell.com>

* gas/i386/string-bad.{l,s}, gas/i386/string-ok.{d,e,s}: New.
* gas/i386/i386.exp: Run new tests.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/string-bad.l [new file with mode: 0644]
gas/testsuite/gas/i386/string-bad.s [new file with mode: 0644]
gas/testsuite/gas/i386/string-ok.d [new file with mode: 0644]
gas/testsuite/gas/i386/string-ok.e [new file with mode: 0644]
gas/testsuite/gas/i386/string-ok.s [new file with mode: 0644]