root / tests / tcg / cris / check_addiv32.s @ c09015dd
History | View | Annotate | Download (905 Bytes)
1 | dd43edf4 | ths | # mach: crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: 4455aa77\n4455aa77\nee19ccff\nff22\n4455aa77\nff224455\n55aa77ff\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | .include "testutils.inc" |
5 | dd43edf4 | ths | .data |
6 | dd43edf4 | ths | x: |
7 | dd43edf4 | ths | .dword 0x55aa77ff |
8 | dd43edf4 | ths | .dword 0xccff2244 |
9 | dd43edf4 | ths | .dword 0x88ccee19 |
10 | dd43edf4 | ths | |
11 | dd43edf4 | ths | start |
12 | dd43edf4 | ths | setf cv |
13 | dd43edf4 | ths | moveq -1,r0 |
14 | dd43edf4 | ths | move.d x-32768,r5 |
15 | dd43edf4 | ths | move.d 32769,r6 |
16 | dd43edf4 | ths | addi r6.b,r5,acr |
17 | dd43edf4 | ths | test_cc 0 0 1 1 |
18 | dd43edf4 | ths | move.d [acr],r3 |
19 | dd43edf4 | ths | checkr3 4455aa77 |
20 | dd43edf4 | ths | |
21 | dd43edf4 | ths | addu.w 32771,r5 |
22 | dd43edf4 | ths | setf znvc |
23 | dd43edf4 | ths | moveq -1,r8 |
24 | dd43edf4 | ths | addi r8.w,r5,acr |
25 | dd43edf4 | ths | test_cc 1 1 1 1 |
26 | dd43edf4 | ths | move.d [acr],r3 |
27 | dd43edf4 | ths | checkr3 4455aa77 |
28 | dd43edf4 | ths | |
29 | dd43edf4 | ths | moveq 5,r10 |
30 | dd43edf4 | ths | clearf znvc |
31 | dd43edf4 | ths | addi r10.b,acr,acr |
32 | dd43edf4 | ths | test_cc 0 0 0 0 |
33 | dd43edf4 | ths | move.d [acr],r3 |
34 | dd43edf4 | ths | checkr3 ee19ccff |
35 | dd43edf4 | ths | |
36 | dd43edf4 | ths | subq 1,r5 |
37 | dd43edf4 | ths | move.d r5,r8 |
38 | dd43edf4 | ths | subq 1,r8 |
39 | dd43edf4 | ths | moveq 1,r9 |
40 | dd43edf4 | ths | addi r9.d,r8,acr |
41 | dd43edf4 | ths | test_cc 0 0 0 0 |
42 | dd43edf4 | ths | movu.w [acr],r3 |
43 | dd43edf4 | ths | checkr3 ff22 |
44 | dd43edf4 | ths | |
45 | dd43edf4 | ths | moveq -2,r11 |
46 | dd43edf4 | ths | addi r11.w,acr,acr |
47 | dd43edf4 | ths | move.d [acr],r3 |
48 | dd43edf4 | ths | checkr3 4455aa77 |
49 | dd43edf4 | ths | |
50 | dd43edf4 | ths | moveq 5,r9 |
51 | dd43edf4 | ths | addi r9.d,acr,acr |
52 | dd43edf4 | ths | subq 18,acr |
53 | dd43edf4 | ths | move.d [acr],r3 |
54 | dd43edf4 | ths | checkr3 ff224455 |
55 | dd43edf4 | ths | |
56 | dd43edf4 | ths | move.d -76789888/4,r12 |
57 | dd43edf4 | ths | addi r12.d,r5,acr |
58 | dd43edf4 | ths | add.d 76789886,acr |
59 | dd43edf4 | ths | move.d [acr],r3 |
60 | dd43edf4 | ths | checkr3 55aa77ff |
61 | dd43edf4 | ths | |
62 | dd43edf4 | ths | quit |