root / tests / tcg / cris / check_mcp.s @ c09015dd
History | View | Annotate | Download (665 Bytes)
1 | dd43edf4 | ths | # mach: crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: fffffffe\n1\n1ffff\nfffffffe\ncc463bdc\n4c463bdc\n0\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | .include "testutils.inc" |
5 | dd43edf4 | ths | start |
6 | dd43edf4 | ths | |
7 | dd43edf4 | ths | ; Set R, clear C. |
8 | dd43edf4 | ths | move 0x100,ccs |
9 | dd43edf4 | ths | moveq -5,r3 |
10 | dd43edf4 | ths | move 2,mof |
11 | dd43edf4 | ths | mcp mof,r3 |
12 | dd43edf4 | ths | test_cc 1 0 0 0 |
13 | dd43edf4 | ths | checkr3 fffffffe |
14 | dd43edf4 | ths | |
15 | dd43edf4 | ths | moveq 2,r3 |
16 | dd43edf4 | ths | move -1,srp |
17 | dd43edf4 | ths | mcp srp,r3 |
18 | dd43edf4 | ths | test_cc 0 0 0 0 |
19 | dd43edf4 | ths | checkr3 1 |
20 | dd43edf4 | ths | |
21 | dd43edf4 | ths | move 0xffff,srp |
22 | dd43edf4 | ths | move srp,r3 |
23 | dd43edf4 | ths | mcp srp,r3 |
24 | dd43edf4 | ths | test_cc 0 0 0 0 |
25 | dd43edf4 | ths | checkr3 1ffff |
26 | dd43edf4 | ths | |
27 | dd43edf4 | ths | move -1,mof |
28 | dd43edf4 | ths | move mof,r3 |
29 | dd43edf4 | ths | mcp mof,r3 |
30 | dd43edf4 | ths | test_cc 1 0 0 0 |
31 | dd43edf4 | ths | checkr3 fffffffe |
32 | dd43edf4 | ths | |
33 | dd43edf4 | ths | move 0x5432f789,mof |
34 | dd43edf4 | ths | move.d 0x78134452,r3 |
35 | dd43edf4 | ths | mcp mof,r3 |
36 | dd43edf4 | ths | test_cc 1 0 1 0 |
37 | dd43edf4 | ths | checkr3 cc463bdc |
38 | dd43edf4 | ths | |
39 | dd43edf4 | ths | move 0x80000000,srp |
40 | dd43edf4 | ths | mcp srp,r3 |
41 | dd43edf4 | ths | test_cc 0 0 1 0 |
42 | dd43edf4 | ths | checkr3 4c463bdc |
43 | dd43edf4 | ths | |
44 | dd43edf4 | ths | move 0xb3b9c423,srp |
45 | dd43edf4 | ths | mcp srp,r3 |
46 | dd43edf4 | ths | test_cc 0 1 0 0 |
47 | dd43edf4 | ths | checkr3 0 |
48 | dd43edf4 | ths | |
49 | dd43edf4 | ths | quit |