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