Commit | Line | Data |
---|---|---|
5e1f6430 HPN |
1 | # mach: crisv0 crisv3 crisv8 crisv10 |
2 | # output: 4455aa77\nee19ccff\nb232765a\nff22\n5a88ccee\n | |
3 | ||
4 | .include "testutils.inc" | |
5 | .data | |
6 | x: | |
7 | .dword 0x55aa77ff | |
8 | .dword 0xccff2244 | |
9 | .dword 0x88ccee19 | |
10 | .dword 0xb232765a | |
11 | y: | |
12 | .dword x+12 | |
13 | .dword x+5 | |
14 | .dword x+9 | |
15 | ||
16 | start | |
17 | moveq -1,r0 | |
18 | moveq -1,r2 | |
19 | move.d [x+1],r3 | |
20 | test_cc 0 0 0 0 | |
21 | dumpr3 ; 4455aa77 | |
22 | ||
23 | move.d [x+6],r3 | |
24 | test_cc 1 0 0 0 | |
25 | dumpr3 ; ee19ccff | |
26 | ||
27 | move.d y,r8 | |
28 | move.d [[r8+]],r3 | |
29 | test_cc 1 0 0 0 | |
30 | dumpr3 ; b232765a | |
31 | ||
32 | movu.w [[r8]],r3 | |
33 | test_cc 0 0 0 0 | |
34 | dumpr3 ; ff22 | |
35 | addq 4,r8 | |
36 | ||
37 | move.d [[r8]],r3 | |
38 | test_cc 0 0 0 0 | |
39 | dumpr3 ; 5a88ccee | |
40 | ||
41 | quit |