public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gas: blackfin: catch invalid register combinations with SEARCH/BITMUX
@ 2011-03-24  4:19 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2011-03-24  4:19 UTC (permalink / raw)
  To: binutils; +Cc: toolchain-devel

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-24  4:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-24  4:19 [PATCH] gas: blackfin: catch invalid register combinations with SEARCH/BITMUX Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).