gas/
commitbf91f13fc0232f819620859dd814b6093d05dc0b
authorJan Beulich <jbeulich@novell.com>
Thu, 28 Aug 2008 09:42:11 +0000 (28 09:42 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 28 Aug 2008 09:42:11 +0000 (28 09:42 +0000)
tree600d70296b531575dd95fd39a8ba9a877ad5e603
parentd10fa6bec993672eb37207a52b56154b233e7d4d
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]