Commit | Line | Data |
---|---|---|
5e1f6430 HPN |
1 | # mach: crisv32 |
2 | # output: ccff2244\n88ccee19\n55aa77ff\n19cc\n | |
3 | ||
4 | .include "testutils.inc" | |
5 | .data | |
6 | x: | |
7 | .dword 0x55aa77ff | |
8 | .dword 0xccff2244 | |
9 | .dword 0x88ccee19 | |
10 | start | |
11 | moveq -1,r0 | |
12 | move.d x+4,r5 | |
13 | setf zvnc | |
14 | addoq 0,r5,acr | |
15 | test_cc 1 1 1 1 | |
16 | move.d [acr],r3 | |
17 | dumpr3 ; ccff2244 | |
18 | setf zvnc | |
19 | addoq 4,r5,acr | |
20 | test_cc 1 1 1 1 | |
21 | move.d [acr],r3 | |
22 | dumpr3 ; 88ccee19 | |
23 | clearf zvnc | |
24 | addoq -8,acr,acr | |
25 | test_cc 0 0 0 0 | |
26 | move.d [acr],r3 | |
27 | dumpr3 ; 55aa77ff | |
28 | addoq 3,r5,acr | |
29 | movu.w [acr],r3 | |
30 | dumpr3 ; 19cc | |
31 | quit |