gas/
authorRoland McGrath <roland@gnu.org>
Fri, 22 Jun 2012 16:42:08 +0000 (16:42 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 22 Jun 2012 16:42:08 +0000 (16:42 +0000)
commit29c048b696d4e93fe9f595d59fcb6239270e5a29
tree82d345d16980f63360aa7e356b877025255a171f
parent0a6d03060482e8eae207d4be1d6e8f6ff5e4d340
gas/
* config/tc-i386.c (parse_insn): Don't complain about REP prefix
when the template has opcode_modifier.repprefixok set.
* NEWS: Mention the change.

gas/testsuite/
* gas/i386/rep-bsf.d: New file.
* gas/i386/rep-bsf.s: New file.
* gas/i386/i386.exp: Add the new test.

opcodes/
* i386-opc.h (RepPrefixOk): New enum constant.
(i386_opcode_modifier): New bitfield 'repprefixok'.
* i386-gen.c (opcode_modifiers): Add RepPrefixOk.
* i386-opc.tbl: Add RepPrefixOk to bsf, bsr, and to all
instructions that have IsString.
* i386-tbl.h: Regenerate.
12 files changed:
gas/ChangeLog
gas/NEWS
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/rep-bsf.d [new file with mode: 0644]
gas/testsuite/gas/i386/rep-bsf.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h