diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-29 05:51:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-29 05:51:22 +0000 |
commit | 3823a07437e70105c9a11fbddddb8273e1b8a858 (patch) | |
tree | c59866239059a3b5321dfbd51dd4ad54ddeb528b /gas/testsuite | |
parent | 0be99d4ba6c89dca6bbee981c7b89d506f344a40 (diff) | |
download | gdb-3823a07437e70105c9a11fbddddb8273e1b8a858.zip gdb-3823a07437e70105c9a11fbddddb8273e1b8a858.tar.gz gdb-3823a07437e70105c9a11fbddddb8273e1b8a858.tar.bz2 |
gas: blackfin: gas: blackfin: reject invalid BYTEOP16M insns
The destination registers must be different with BYTEOP16M insns,
otherwise the hardware throws up an exception. So reject them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/bfin/expected_errors.l | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/bfin/expected_errors.s | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 2472627..20aeb3f 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2011-03-29 Mike Frysinger <vapier@gentoo.org> + * gas/bfin/expected_errors.s: Add invalid BYTEOP16M insn tests. + * gas/bfin/expected_errors.l: Add new error messages. + +2011-03-29 Mike Frysinger <vapier@gentoo.org> + * gas/bfin/expected_errors.s: Add invalid BYTEOP16P insn tests. * gas/bfin/expected_errors.l: Add new error messages. diff --git a/gas/testsuite/gas/bfin/expected_errors.l b/gas/testsuite/gas/bfin/expected_errors.l index 216c8e1..1c12e65 100644 --- a/gas/testsuite/gas/bfin/expected_errors.l +++ b/gas/testsuite/gas/bfin/expected_errors.l @@ -103,3 +103,5 @@ .*:131: Error: Illegal dest register combination. Input text was A0.H. .*:133: Error: Illegal dest register combination. .*:134: Error: Illegal dest register combination. +.*:135: Error: Illegal dest register combination. +.*:136: Error: Illegal dest register combination. diff --git a/gas/testsuite/gas/bfin/expected_errors.s b/gas/testsuite/gas/bfin/expected_errors.s index 677103c..a671a2c 100644 --- a/gas/testsuite/gas/bfin/expected_errors.s +++ b/gas/testsuite/gas/bfin/expected_errors.s @@ -132,3 +132,5 @@ (R0, R0) = BYTEOP16P (R1:0, R3:2); (R7, R7) = BYTEOP16P (R1:0, R3:2); + (R1, R1) = BYTEOP16M (R1:0, R3:2); + (R4, R4) = BYTEOP16M (R1:0, R3:2); |