Statistics
| Branch: | Revision:

root / tests / tcg / cris / check_movdelsr1.s @ c09015dd

History | View | Annotate | Download (510 Bytes)

1 dd43edf4 ths
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 dd43edf4 ths
# output: aa117acd\n
3 dd43edf4 ths
# output: eeaabb42\n
4 dd43edf4 ths
5 dd43edf4 ths
; Bug with move to special register in delay slot, due to
6 dd43edf4 ths
; special flush-insn-cache simulator use.  Ordinary move worked;
7 dd43edf4 ths
; special register caused branch to fail.
8 dd43edf4 ths
9 dd43edf4 ths
 .include "testutils.inc"
10 dd43edf4 ths
 start
11 dd43edf4 ths
 move -1,srp
12 dd43edf4 ths
13 dd43edf4 ths
 move.d 0xaa117acd,r1
14 dd43edf4 ths
 moveq 3,r9
15 dd43edf4 ths
 cmpq 1,r9
16 dd43edf4 ths
 bhi 0f
17 dd43edf4 ths
 move.d r1,r3
18 dd43edf4 ths
19 dd43edf4 ths
 fail
20 dd43edf4 ths
0:
21 dd43edf4 ths
 checkr3 aa117acd
22 dd43edf4 ths
23 dd43edf4 ths
 move.d 0xeeaabb42,r1
24 dd43edf4 ths
 moveq 3,r9
25 dd43edf4 ths
 cmpq 1,r9
26 dd43edf4 ths
 bhi 0f
27 dd43edf4 ths
 move r1,srp
28 dd43edf4 ths
29 dd43edf4 ths
 fail
30 dd43edf4 ths
0:
31 dd43edf4 ths
 move srp,r3
32 dd43edf4 ths
 checkr3 eeaabb42
33 dd43edf4 ths
 quit