This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] gas: blackfin: catch invalid register combinations with SEARCH/BITMUX
- From: Mike Frysinger <vapier at gentoo dot org>
- To: binutils <binutils at sourceware dot org>
- Cc: toolchain-devel at blackfin dot uclinux dot org
- Date: Thu, 24 Mar 2011 00:18:55 -0400
- Subject: [PATCH] gas: blackfin: catch invalid register combinations with SEARCH/BITMUX
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.