root / tests / cris / check_movpr.s @ f97572e5
History | View | Annotate | Download (459 Bytes)
1 | dd43edf4 | ths | # mach: crisv3 crisv8 crisv10 crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: ffffff00\nffff0000\n0\nbb113344\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | # Test generic "move Ps,Rd" and "move Rs,Pd" insns; the ones with |
5 | dd43edf4 | ths | # functionality common to all models. |
6 | dd43edf4 | ths | |
7 | dd43edf4 | ths | .include "testutils.inc" |
8 | dd43edf4 | ths | start |
9 | dd43edf4 | ths | moveq -1,r3 |
10 | dd43edf4 | ths | clear.b r3 |
11 | dd43edf4 | ths | checkr3 ffffff00 |
12 | dd43edf4 | ths | |
13 | dd43edf4 | ths | moveq -1,r3 |
14 | dd43edf4 | ths | clear.w r3 |
15 | dd43edf4 | ths | checkr3 ffff0000 |
16 | dd43edf4 | ths | |
17 | dd43edf4 | ths | moveq -1,r3 |
18 | dd43edf4 | ths | clear.d r3 |
19 | dd43edf4 | ths | checkr3 0 |
20 | dd43edf4 | ths | |
21 | dd43edf4 | ths | moveq -1,r3 |
22 | dd43edf4 | ths | move.d 0xbb113344,r4 |
23 | dd43edf4 | ths | setf zcvn |
24 | dd43edf4 | ths | move r4,srp |
25 | dd43edf4 | ths | move srp,r3 |
26 | dd43edf4 | ths | test_cc 1 1 1 1 |
27 | dd43edf4 | ths | checkr3 bb113344 |
28 | dd43edf4 | ths | quit |