[PATCH] gas: blackfin: catch invalid register combinations with SEARCH/BITMUX
Mike Frysinger
vapier@gentoo.org
Thu Mar 24 04:19:00 GMT 2011
The destination registers for SEARCH cannot be the same. Same rule
for the source registers for BITMUX.
Attached patch catches this and tests for the issue. committed.
-mike
gas/:
2011-03-23 Mike Frysinger <vapier@gentoo.org>
* config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
the same as dest reg $4.
(BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
gas/testsuite/:
2011-03-23 Mike Frysinger <vapier@gentoo.org>
* gas/bfin/expected_errors.s: Add invalid SEARCH/BITMUX insns.
* gas/bfin/expected_errors.l: Add expected errors.
More information about the Binutils
mailing list