root / tests / cris / check_addq.s @ 7267c094
History | View | Annotate | Download (609 Bytes)
1 | dd43edf4 | ths | # mach: crisv3 crisv8 crisv10 crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: ffffffff\n0\n1\n100\n10000\n47\n67\na6\n80000001\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | .include "testutils.inc" |
5 | dd43edf4 | ths | start |
6 | dd43edf4 | ths | moveq -2,r3 |
7 | dd43edf4 | ths | addq 1,r3 |
8 | dd43edf4 | ths | test_cc 1 0 0 0 |
9 | dd43edf4 | ths | checkr3 ffffffff |
10 | dd43edf4 | ths | |
11 | dd43edf4 | ths | addq 1,r3 |
12 | dd43edf4 | ths | test_cc 0 1 0 1 |
13 | dd43edf4 | ths | checkr3 0 |
14 | dd43edf4 | ths | |
15 | dd43edf4 | ths | addq 1,r3 |
16 | dd43edf4 | ths | test_cc 0 0 0 0 |
17 | dd43edf4 | ths | checkr3 1 |
18 | dd43edf4 | ths | |
19 | dd43edf4 | ths | move.d 0xff,r3 |
20 | dd43edf4 | ths | addq 1,r3 |
21 | dd43edf4 | ths | test_cc 0 0 0 0 |
22 | dd43edf4 | ths | checkr3 100 |
23 | dd43edf4 | ths | |
24 | dd43edf4 | ths | move.d 0xffff,r3 |
25 | dd43edf4 | ths | addq 1,r3 |
26 | dd43edf4 | ths | test_cc 0 0 0 0 |
27 | dd43edf4 | ths | checkr3 10000 |
28 | dd43edf4 | ths | |
29 | dd43edf4 | ths | move.d 0x42,r3 |
30 | dd43edf4 | ths | addq 5,r3 |
31 | dd43edf4 | ths | test_cc 0 0 0 0 |
32 | dd43edf4 | ths | checkr3 47 |
33 | dd43edf4 | ths | |
34 | dd43edf4 | ths | addq 32,r3 |
35 | dd43edf4 | ths | test_cc 0 0 0 0 |
36 | dd43edf4 | ths | checkr3 67 |
37 | dd43edf4 | ths | |
38 | dd43edf4 | ths | addq 63,r3 |
39 | dd43edf4 | ths | test_cc 0 0 0 0 |
40 | dd43edf4 | ths | checkr3 a6 |
41 | dd43edf4 | ths | |
42 | dd43edf4 | ths | move.d 0x7ffffffe,r3 |
43 | dd43edf4 | ths | addq 3,r3 |
44 | dd43edf4 | ths | test_cc 1 0 1 0 |
45 | dd43edf4 | ths | checkr3 80000001 |
46 | dd43edf4 | ths | |
47 | dd43edf4 | ths | quit |