Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (714 Bytes)

1 dd43edf4 ths
# mach: crisv3 crisv8 crisv10 crisv32
2 dd43edf4 ths
# output: 0\nffffffff\nfffffffe\nffff\nff\n56788f9\n56788d9\n567889a\n0\n7ffffffc\n
3 dd43edf4 ths
4 dd43edf4 ths
 .include "testutils.inc"
5 dd43edf4 ths
 start
6 dd43edf4 ths
 moveq 1,r3
7 dd43edf4 ths
 subq 1,r3
8 dd43edf4 ths
 test_cc 0 1 0 0
9 dd43edf4 ths
 checkr3 0
10 dd43edf4 ths
11 dd43edf4 ths
 subq 1,r3
12 dd43edf4 ths
 test_cc 1 0 0 1
13 dd43edf4 ths
 checkr3 ffffffff
14 dd43edf4 ths
15 dd43edf4 ths
 subq 1,r3
16 dd43edf4 ths
 test_cc 1 0 0 0
17 dd43edf4 ths
 checkr3 fffffffe
18 dd43edf4 ths
19 dd43edf4 ths
 move.d 0x10000,r3
20 dd43edf4 ths
 subq 1,r3
21 dd43edf4 ths
 test_cc 0 0 0 0
22 dd43edf4 ths
 checkr3 ffff
23 dd43edf4 ths
24 dd43edf4 ths
 move.d 0x100,r3
25 dd43edf4 ths
 subq 1,r3
26 dd43edf4 ths
 test_cc 0 0 0 0
27 dd43edf4 ths
 checkr3 ff
28 dd43edf4 ths
29 dd43edf4 ths
 move.d 0x5678900,r3
30 dd43edf4 ths
 subq 7,r3
31 dd43edf4 ths
 test_cc 0 0 0 0
32 dd43edf4 ths
 checkr3 56788f9
33 dd43edf4 ths
34 dd43edf4 ths
 subq 32,r3
35 dd43edf4 ths
 test_cc 0 0 0 0
36 dd43edf4 ths
 checkr3 56788d9
37 dd43edf4 ths
38 dd43edf4 ths
 subq 63,r3
39 dd43edf4 ths
 test_cc 0 0 0 0
40 dd43edf4 ths
 checkr3 567889a
41 dd43edf4 ths
42 dd43edf4 ths
 move.d 34,r3
43 dd43edf4 ths
 subq 34,r3
44 dd43edf4 ths
 test_cc 0 1 0 0
45 dd43edf4 ths
 checkr3 0
46 dd43edf4 ths
47 dd43edf4 ths
 move.d 0x80000024,r3
48 dd43edf4 ths
 subq 40,r3
49 dd43edf4 ths
 test_cc 0 0 1 0
50 dd43edf4 ths
 checkr3 7ffffffc
51 dd43edf4 ths
52 dd43edf4 ths
 quit