diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-29 05:54:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-29 05:54:41 +0000 |
commit | fc99ebdc2b470b31622d9efc28fca6f03945532c (patch) | |
tree | bb3bba14326204194606831a8d7f24e5233bd8e5 /gas/testsuite | |
parent | 3823a07437e70105c9a11fbddddb8273e1b8a858 (diff) | |
download | gdb-fc99ebdc2b470b31622d9efc28fca6f03945532c.zip gdb-fc99ebdc2b470b31622d9efc28fca6f03945532c.tar.gz gdb-fc99ebdc2b470b31622d9efc28fca6f03945532c.tar.bz2 |
gas: blackfin: gas: blackfin: reject invalid BYTEUNPACK insns
The destination registers must be different with BYTEUNPACK 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 | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/bfin/expected_errors.s | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 20aeb3f..2101e9f 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 BYTEUNPACK 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 BYTEOP16M 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 1c12e65..40a9043 100644 --- a/gas/testsuite/gas/bfin/expected_errors.l +++ b/gas/testsuite/gas/bfin/expected_errors.l @@ -105,3 +105,4 @@ .*:134: Error: Illegal dest register combination. .*:135: Error: Illegal dest register combination. .*:136: Error: Illegal dest register combination. +.*:137: Error: Illegal dest register combination. diff --git a/gas/testsuite/gas/bfin/expected_errors.s b/gas/testsuite/gas/bfin/expected_errors.s index a671a2c..6ff14a6 100644 --- a/gas/testsuite/gas/bfin/expected_errors.s +++ b/gas/testsuite/gas/bfin/expected_errors.s @@ -134,3 +134,4 @@ (R7, R7) = BYTEOP16P (R1:0, R3:2); (R1, R1) = BYTEOP16M (R1:0, R3:2); (R4, R4) = BYTEOP16M (R1:0, R3:2); + (R5, R5) = BYTEUNPACK R3:2; |