root / tests / cris / check_movpmv32.s @ 1ffc346f
History | View | Annotate | Download (508 Bytes)
1 | dd43edf4 | ths | # mach: crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: 11223320\nbb113344\naa557711\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | # Test v32-specific special registers. FIXME: more registers. |
5 | dd43edf4 | ths | |
6 | dd43edf4 | ths | .include "testutils.inc" |
7 | dd43edf4 | ths | start |
8 | dd43edf4 | ths | .data |
9 | dd43edf4 | ths | store: |
10 | dd43edf4 | ths | .dword 0x11223344 |
11 | dd43edf4 | ths | .dword 0x77665544 |
12 | dd43edf4 | ths | |
13 | dd43edf4 | ths | .text |
14 | dd43edf4 | ths | moveq -1,r3 |
15 | dd43edf4 | ths | move.d store,r4 |
16 | dd43edf4 | ths | move vr,[r4] |
17 | dd43edf4 | ths | move [r4+],mof |
18 | dd43edf4 | ths | move mof,r3 |
19 | dd43edf4 | ths | checkr3 11223320 |
20 | dd43edf4 | ths | |
21 | dd43edf4 | ths | moveq -1,r3 |
22 | dd43edf4 | ths | clearf zcvn |
23 | dd43edf4 | ths | move 0xbb113344,mof |
24 | dd43edf4 | ths | test_cc 0 0 0 0 |
25 | dd43edf4 | ths | move mof,r3 |
26 | dd43edf4 | ths | checkr3 bb113344 |
27 | dd43edf4 | ths | |
28 | dd43edf4 | ths | setf zcvn |
29 | dd43edf4 | ths | move 0xaa557711,mof |
30 | dd43edf4 | ths | test_cc 1 1 1 1 |
31 | dd43edf4 | ths | move mof,[r4] |
32 | dd43edf4 | ths | move.d [r4],r3 |
33 | dd43edf4 | ths | checkr3 aa557711 |
34 | dd43edf4 | ths | |
35 | dd43edf4 | ths | quit |