This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]