OSDN Git Service

gas/
authorjbeulich <jbeulich>
Thu, 28 Aug 2008 09:42:11 +0000 (09:42 +0000)
committerjbeulich <jbeulich>
Thu, 28 Aug 2008 09:42:11 +0000 (09:42 +0000)
commit43b09e0a0d546d1bd0a60be85501d9edf07dd7e2
tree162ded4f5444e7d86118f16b3a3c6c0cfca8ccdf
parentab1d2aa6e16946314acc58701e182239fcfce7d7
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]