root / tests / cris / check_lapc.s @ 7267c094
History | View | Annotate | Download (780 Bytes)
1 | dd43edf4 | ths | # mach: crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: 0\n0\nfffffffa\nfffffffe\nffffffda\n1e\n1e\n0\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | .include "testutils.inc" |
5 | dd43edf4 | ths | |
6 | dd43edf4 | ths | ; To accommodate dumpr3 with more than one instruction, keep it |
7 | dd43edf4 | ths | ; out of lapc operand ranges and difference calculations. |
8 | dd43edf4 | ths | |
9 | dd43edf4 | ths | start |
10 | dd43edf4 | ths | lapc.d 0f,r3 |
11 | dd43edf4 | ths | 0: |
12 | dd43edf4 | ths | sub.d .,r3 |
13 | dd43edf4 | ths | checkr3 0 |
14 | dd43edf4 | ths | |
15 | dd43edf4 | ths | lapcq 0f,r3 |
16 | dd43edf4 | ths | 0: |
17 | dd43edf4 | ths | sub.d .,r3 |
18 | dd43edf4 | ths | checkr3 0 |
19 | dd43edf4 | ths | |
20 | dd43edf4 | ths | lapc.d .,r3 |
21 | dd43edf4 | ths | sub.d .,r3 |
22 | dd43edf4 | ths | checkr3 fffffffa |
23 | dd43edf4 | ths | |
24 | dd43edf4 | ths | lapcq .,r3 |
25 | dd43edf4 | ths | sub.d .,r3 |
26 | dd43edf4 | ths | checkr3 fffffffe |
27 | dd43edf4 | ths | |
28 | dd43edf4 | ths | 0: |
29 | dd43edf4 | ths | .rept 16 |
30 | dd43edf4 | ths | nop |
31 | dd43edf4 | ths | .endr |
32 | dd43edf4 | ths | lapc.d 0b,r3 |
33 | dd43edf4 | ths | sub.d .,r3 |
34 | dd43edf4 | ths | checkr3 ffffffda |
35 | dd43edf4 | ths | |
36 | dd43edf4 | ths | setf zcvn |
37 | dd43edf4 | ths | lapc.d 0f,r3 |
38 | dd43edf4 | ths | test_cc 1 1 1 1 |
39 | dd43edf4 | ths | sub.d .,r3 |
40 | dd43edf4 | ths | nop |
41 | dd43edf4 | ths | nop |
42 | dd43edf4 | ths | nop |
43 | dd43edf4 | ths | nop |
44 | dd43edf4 | ths | nop |
45 | dd43edf4 | ths | nop |
46 | dd43edf4 | ths | nop |
47 | dd43edf4 | ths | nop |
48 | dd43edf4 | ths | nop |
49 | dd43edf4 | ths | nop |
50 | dd43edf4 | ths | nop |
51 | dd43edf4 | ths | nop |
52 | dd43edf4 | ths | 0: |
53 | dd43edf4 | ths | checkr3 1e |
54 | dd43edf4 | ths | 0: |
55 | dd43edf4 | ths | lapcq 0f,r3 |
56 | dd43edf4 | ths | sub.d 0b,r3 |
57 | dd43edf4 | ths | nop |
58 | dd43edf4 | ths | nop |
59 | dd43edf4 | ths | nop |
60 | dd43edf4 | ths | nop |
61 | dd43edf4 | ths | nop |
62 | dd43edf4 | ths | nop |
63 | dd43edf4 | ths | nop |
64 | dd43edf4 | ths | nop |
65 | dd43edf4 | ths | nop |
66 | dd43edf4 | ths | nop |
67 | dd43edf4 | ths | nop |
68 | dd43edf4 | ths | 0: |
69 | dd43edf4 | ths | checkr3 1e |
70 | dd43edf4 | ths | clearf cn |
71 | dd43edf4 | ths | setf zv |
72 | dd43edf4 | ths | 1: |
73 | dd43edf4 | ths | lapcq .,r3 |
74 | dd43edf4 | ths | test_cc 0 1 1 0 |
75 | dd43edf4 | ths | sub.d 1b,r3 |
76 | dd43edf4 | ths | checkr3 0 |
77 | dd43edf4 | ths | |
78 | dd43edf4 | ths | quit |