mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
* 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.
This commit is contained in:
parent
fca6a796b7
commit
118176876b
@ -1,3 +1,8 @@
|
||||
2009-09-03 Jie Zhang <jie.zhang@analog.com>
|
||||
|
||||
* config/bfin-parse.y (gen_multi_instr_1): Check anomaly
|
||||
05000074 only when both slot1 and slot2 are filled.
|
||||
|
||||
2009-09-03 Jie Zhang <jie.zhang@analog.com>
|
||||
|
||||
* config/tc-bfin.c (md_assemble): Bump line counters if there is
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,8 @@
|
||||
2009-09-03 Jie Zhang <jie.zhang@analog.com>
|
||||
|
||||
* gas/bfin/parallel5.s: New test.
|
||||
* gas/bfin/error.exp: New test.
|
||||
|
||||
2009-09-03 Jie Zhang <jie.zhang@analog.com>
|
||||
|
||||
* gas/bfin/line_number.l, gas/bfin/line_number.s: New test.
|
||||
|
10
gas/testsuite/gas/bfin/error.exp
Normal file
10
gas/testsuite/gas/bfin/error.exp
Normal file
@ -0,0 +1,10 @@
|
||||
# Test assembler warnings and errors.
|
||||
|
||||
load_lib gas-dg.exp
|
||||
dg-init
|
||||
|
||||
if [istarget bfin-*-*] {
|
||||
dg-runtest "$srcdir/$subdir/parallel5.s" "" ""
|
||||
}
|
||||
|
||||
dg-finish
|
4
gas/testsuite/gas/bfin/parallel5.s
Normal file
4
gas/testsuite/gas/bfin/parallel5.s
Normal file
@ -0,0 +1,4 @@
|
||||
# { dg-do assemble { target bfin-*-* } }
|
||||
# { dg-options "--mcpu=bf537-0.2" }
|
||||
.section .text;
|
||||
R0 = W[P1++] (X) || R1.L = W[I1++];
|
Loading…
Reference in New Issue
Block a user