~ahs3/+junk/cq-qemu

« back to all changes in this revision

Viewing changes to tests/cris/check_movdelsr1.s

  • Committer: Al Stone
  • Date: 2012-02-09 01:17:20 UTC
  • Revision ID: albert.stone@canonical.com-20120209011720-tztl7ik3qayz80p4
first commit to bzr for qemu

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
 
2
# output: aa117acd\n
 
3
# output: eeaabb42\n
 
4
 
 
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.
 
8
 
 
9
 .include "testutils.inc"
 
10
 start
 
11
 move -1,srp
 
12
 
 
13
 move.d 0xaa117acd,r1
 
14
 moveq 3,r9
 
15
 cmpq 1,r9
 
16
 bhi 0f
 
17
 move.d r1,r3
 
18
 
 
19
 fail
 
20
0:
 
21
 checkr3 aa117acd
 
22
 
 
23
 move.d 0xeeaabb42,r1
 
24
 moveq 3,r9
 
25
 cmpq 1,r9
 
26
 bhi 0f
 
27
 move r1,srp
 
28
 
 
29
 fail
 
30
0:
 
31
 move srp,r3
 
32
 checkr3 eeaabb42
 
33
 quit