[S3C] Updated to compile with modern qemu
[qemu/mini2440.git] / tests / cris / check_movdelsr1.s
blob300cc87742293ad104a7588d98328e6efb108b0b
1 # mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 # output: aa117acd\n
3 # output: eeaabb42\n
5 ; Bug with move to special register in delay slot, due to
6 ; special flush-insn-cache simulator use. Ordinary move worked;
7 ; special register caused branch to fail.
9 .include "testutils.inc"
10 start
11 move -1,srp
13 move.d 0xaa117acd,r1
14 moveq 3,r9
15 cmpq 1,r9
16 bhi 0f
17 move.d r1,r3
19 fail
21 checkr3 aa117acd
23 move.d 0xeeaabb42,r1
24 moveq 3,r9
25 cmpq 1,r9
26 bhi 0f
27 move r1,srp
29 fail
31 move srp,r3
32 checkr3 eeaabb42
33 quit