root / tests / tcg / cris / check_mover.s @ c09015dd
History | View | Annotate | Download (470 Bytes)
1 | dd43edf4 | ths | # mach: crisv3 crisv8 crisv10 crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: ffffff05\nffff0005\n5\nffffff00\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | ; Move between registers. Check that just the subreg is copied. |
5 | dd43edf4 | ths | |
6 | dd43edf4 | ths | .include "testutils.inc" |
7 | dd43edf4 | ths | startnostack |
8 | dd43edf4 | ths | moveq -30,r3 |
9 | dd43edf4 | ths | moveq 5,r4 |
10 | dd43edf4 | ths | move.b r4,r3 |
11 | dd43edf4 | ths | test_move_cc 0 0 0 0 ; FIXME |
12 | dd43edf4 | ths | checkr3 ffffff05 |
13 | dd43edf4 | ths | |
14 | dd43edf4 | ths | move.w r4,r3 |
15 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
16 | dd43edf4 | ths | checkr3 ffff0005 |
17 | dd43edf4 | ths | |
18 | dd43edf4 | ths | move.d r4,r3 |
19 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
20 | dd43edf4 | ths | checkr3 5 |
21 | dd43edf4 | ths | |
22 | dd43edf4 | ths | moveq -1,r3 |
23 | dd43edf4 | ths | moveq 0,r4 |
24 | dd43edf4 | ths | move.b r4,r3 |
25 | dd43edf4 | ths | test_move_cc 0 1 0 0 |
26 | dd43edf4 | ths | checkr3 ffffff00 |
27 | dd43edf4 | ths | |
28 | dd43edf4 | ths | quit |