diff options
author | Jie Zhang <jie.zhang@analog.com> | 2009-09-03 16:50:39 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2009-09-03 16:50:39 +0000 |
commit | 118176876bb5ceef6f8d15413602107c157dd106 (patch) | |
tree | 1c2f3b27c03d0716c179b48291f3befbc864a3d3 /gas/config/bfin-parse.y | |
parent | fca6a796b7fafc1254c61fb2bf36e1bd8893eef8 (diff) | |
download | gdb-118176876bb5ceef6f8d15413602107c157dd106.zip gdb-118176876bb5ceef6f8d15413602107c157dd106.tar.gz gdb-118176876bb5ceef6f8d15413602107c157dd106.tar.bz2 |
* config/bfin-parse.y (gen_multi_instr_1): Check anomaly
05000074 only when both slot1 and slot2 are filled.
testsuite/
* gas/bfin/parallel5.s: New test.
* gas/bfin/error.exp: New test.
Diffstat (limited to 'gas/config/bfin-parse.y')
-rw-r--r-- | gas/config/bfin-parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/bfin-parse.y b/gas/config/bfin-parse.y index 952859e..f7228be 100644 --- a/gas/config/bfin-parse.y +++ b/gas/config/bfin-parse.y @@ -391,6 +391,7 @@ gen_multi_instr_1 (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2) /* Anomaly 05000074 */ if (ENABLE_AC_05000074 + && dsp32 != NULL && dsp16_grp1 != NULL && (dsp32->value & 0xf780) == 0xc680 && ((dsp16_grp1->value & 0xfe40) == 0x9240 || (dsp16_grp1->value & 0xfe08) == 0xba08 |