+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.
+
2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
}
| LPAREN REG COMMA REG RPAREN ASSIGN SEARCH REG LPAREN searchmod RPAREN
{
+ if (REG_SAME ($2, $4))
+ return yyerror ("Illegal dest register combination");
+
if (IS_DREG ($2) && IS_DREG ($4) && IS_DREG ($8))
{
notethat ("dsp32alu: (dregs , dregs ) = SEARCH dregs (searchmod)\n");
| BITMUX LPAREN REG COMMA REG COMMA REG_A RPAREN asr_asl
{
+ if (REG_SAME ($3, $5))
+ return yyerror ("Illegal source register combination");
+
if (IS_DREG ($3) && IS_DREG ($5) && !IS_A1 ($7))
{
notethat ("dsp32shift: BITMUX (dregs , dregs , A0) (ASR)\n");
+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.
+
2011-03-18 Alan Modra <amodra@gmail.com>
* gas/elf/bad-size.err: Adjust expected error.
.*:113: Error: Preg expected in address. Input text was \).
.*:114: Error: Preg expected in address. Input text was \).
.*:115: Error: Dreg expected for destination operand. Input text was \).
+.*:117: Error: Illegal dest register combination. Input text was \).
+.*:118: Error: Illegal source register combination. Input text was \).
R2 = B [ R0 ++ ] (X);
R2 = B [ I0 ++ ] (X);
P2 = B [ P0 ++ ] (X);
+
+ (R3, R3) = SEARCH R0 (GE);
+ BITMUX (R4, R4, A0) (ASR);