From 29c048b696d4e93fe9f595d59fcb6239270e5a29 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 22 Jun 2012 16:42:08 +0000 Subject: 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. --- gas/NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gas/NEWS') diff --git a/gas/NEWS b/gas/NEWS index 6b6dbba..6f62b93 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -13,6 +13,8 @@ * Add support for the Adapteva EPIPHANY architecture. +* For x86, allow 'rep bsf' or 'rep bsr' syntax. + Changes in 2.22: * Add support for the Tilera TILEPro and TILE-Gx architectures. -- cgit v1.1