root / tests / cris / check_addi.s @ f97572e5
History | View | Annotate | Download (776 Bytes)
1 | dd43edf4 | ths | # mach: crisv0 crisv3 crisv8 crisv10 crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: 0\n1\n2\n4\nbe02460f\n69d035a6\nc16c14d4\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | .include "testutils.inc" |
5 | dd43edf4 | ths | start |
6 | dd43edf4 | ths | moveq 0,r3 |
7 | dd43edf4 | ths | moveq 0,r4 |
8 | dd43edf4 | ths | clearf zcvn |
9 | dd43edf4 | ths | addi r4.b,r3 |
10 | dd43edf4 | ths | test_cc 0 0 0 0 |
11 | dd43edf4 | ths | checkr3 0 |
12 | dd43edf4 | ths | |
13 | dd43edf4 | ths | moveq 0,r3 |
14 | dd43edf4 | ths | moveq 1,r4 |
15 | dd43edf4 | ths | setf zcvn |
16 | dd43edf4 | ths | addi r4.b,r3 |
17 | dd43edf4 | ths | test_cc 1 1 1 1 |
18 | dd43edf4 | ths | checkr3 1 |
19 | dd43edf4 | ths | |
20 | dd43edf4 | ths | moveq 0,r3 |
21 | dd43edf4 | ths | moveq 1,r4 |
22 | dd43edf4 | ths | setf cv |
23 | dd43edf4 | ths | clearf zn |
24 | dd43edf4 | ths | addi r4.w,r3 |
25 | dd43edf4 | ths | test_cc 0 0 1 1 |
26 | dd43edf4 | ths | checkr3 2 |
27 | dd43edf4 | ths | |
28 | dd43edf4 | ths | moveq 0,r3 |
29 | dd43edf4 | ths | moveq 1,r4 |
30 | dd43edf4 | ths | clearf cv |
31 | dd43edf4 | ths | setf zn |
32 | dd43edf4 | ths | addi r4.d,r3 |
33 | dd43edf4 | ths | test_cc 1 1 0 0 |
34 | dd43edf4 | ths | checkr3 4 |
35 | dd43edf4 | ths | |
36 | dd43edf4 | ths | move.d 0x12345678,r3 |
37 | dd43edf4 | ths | move.d 0xabcdef97,r4 |
38 | dd43edf4 | ths | clearf cn |
39 | dd43edf4 | ths | setf zv |
40 | dd43edf4 | ths | addi r4.b,r3 |
41 | dd43edf4 | ths | test_cc 0 1 1 0 |
42 | dd43edf4 | ths | checkr3 be02460f |
43 | dd43edf4 | ths | |
44 | dd43edf4 | ths | move.d 0x12345678,r3 |
45 | dd43edf4 | ths | move.d 0xabcdef97,r4 |
46 | dd43edf4 | ths | setf cn |
47 | dd43edf4 | ths | clearf zv |
48 | dd43edf4 | ths | addi r4.w,r3 |
49 | dd43edf4 | ths | test_cc 1 0 0 1 |
50 | dd43edf4 | ths | checkr3 69d035a6 |
51 | dd43edf4 | ths | |
52 | dd43edf4 | ths | move.d 0x12345678,r3 |
53 | dd43edf4 | ths | move.d 0xabcdef97,r4 |
54 | dd43edf4 | ths | addi r4.d,r3 |
55 | dd43edf4 | ths | checkr3 c16c14d4 |
56 | dd43edf4 | ths | |
57 | dd43edf4 | ths | quit |