root / tests / cris / check_cmpq.s @ 1ffc346f
History | View | Annotate | Download (983 Bytes)
1 | dd43edf4 | ths | # mach: crisv3 crisv8 crisv10 crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: 1\n1\n1\n1f\n1f\nffffffe1\nffffffe1\nffffffe0\n0\n0\nffffffff\nffffffff\n10000\n100\n5678900\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | .include "testutils.inc" |
5 | dd43edf4 | ths | start |
6 | dd43edf4 | ths | moveq 1,r3 |
7 | dd43edf4 | ths | cmpq 1,r3 |
8 | dd43edf4 | ths | test_cc 0 1 0 0 |
9 | dd43edf4 | ths | checkr3 1 |
10 | dd43edf4 | ths | |
11 | dd43edf4 | ths | cmpq -1,r3 |
12 | dd43edf4 | ths | test_cc 0 0 0 1 |
13 | dd43edf4 | ths | checkr3 1 |
14 | dd43edf4 | ths | |
15 | dd43edf4 | ths | cmpq 31,r3 |
16 | dd43edf4 | ths | test_cc 1 0 0 1 |
17 | dd43edf4 | ths | checkr3 1 |
18 | dd43edf4 | ths | |
19 | dd43edf4 | ths | moveq 31,r3 |
20 | dd43edf4 | ths | cmpq 31,r3 |
21 | dd43edf4 | ths | test_cc 0 1 0 0 |
22 | dd43edf4 | ths | checkr3 1f |
23 | dd43edf4 | ths | |
24 | dd43edf4 | ths | cmpq -31,r3 |
25 | dd43edf4 | ths | test_cc 0 0 0 1 |
26 | dd43edf4 | ths | checkr3 1f |
27 | dd43edf4 | ths | |
28 | dd43edf4 | ths | movs.b -31,r3 |
29 | dd43edf4 | ths | cmpq -31,r3 |
30 | dd43edf4 | ths | test_cc 0 1 0 0 |
31 | dd43edf4 | ths | checkr3 ffffffe1 |
32 | dd43edf4 | ths | |
33 | dd43edf4 | ths | cmpq -32,r3 |
34 | dd43edf4 | ths | test_cc 0 0 0 0 |
35 | dd43edf4 | ths | checkr3 ffffffe1 |
36 | dd43edf4 | ths | |
37 | dd43edf4 | ths | movs.b -32,r3 |
38 | dd43edf4 | ths | cmpq -32,r3 |
39 | dd43edf4 | ths | test_cc 0 1 0 0 |
40 | dd43edf4 | ths | checkr3 ffffffe0 |
41 | dd43edf4 | ths | |
42 | dd43edf4 | ths | moveq 0,r3 |
43 | dd43edf4 | ths | cmpq 1,r3 |
44 | dd43edf4 | ths | test_cc 1 0 0 1 |
45 | dd43edf4 | ths | checkr3 0 |
46 | dd43edf4 | ths | |
47 | dd43edf4 | ths | cmpq -32,r3 |
48 | dd43edf4 | ths | test_cc 0 0 0 1 |
49 | dd43edf4 | ths | checkr3 0 |
50 | dd43edf4 | ths | |
51 | dd43edf4 | ths | moveq -1,r3 |
52 | dd43edf4 | ths | cmpq 1,r3 |
53 | dd43edf4 | ths | test_cc 1 0 0 0 |
54 | dd43edf4 | ths | checkr3 ffffffff |
55 | dd43edf4 | ths | |
56 | dd43edf4 | ths | cmpq -1,r3 |
57 | dd43edf4 | ths | test_cc 0 1 0 0 |
58 | dd43edf4 | ths | checkr3 ffffffff |
59 | dd43edf4 | ths | |
60 | dd43edf4 | ths | move.d 0x10000,r3 |
61 | dd43edf4 | ths | cmpq 1,r3 |
62 | dd43edf4 | ths | test_cc 0 0 0 0 |
63 | dd43edf4 | ths | checkr3 10000 |
64 | dd43edf4 | ths | |
65 | dd43edf4 | ths | move.d 0x100,r3 |
66 | dd43edf4 | ths | cmpq 1,r3 |
67 | dd43edf4 | ths | test_cc 0 0 0 0 |
68 | dd43edf4 | ths | checkr3 100 |
69 | dd43edf4 | ths | |
70 | dd43edf4 | ths | move.d 0x5678900,r3 |
71 | dd43edf4 | ths | cmpq 7,r3 |
72 | dd43edf4 | ths | test_cc 0 0 0 0 |
73 | dd43edf4 | ths | checkr3 5678900 |
74 | dd43edf4 | ths | |
75 | dd43edf4 | ths | quit |