root / tests / cris / check_movemrv32.s @ 681f8c29
History | View | Annotate | Download (1.1 kB)
1 | dd43edf4 | ths | # mach: crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: 15\n7\n2\nffff1234\nb\n16\nf\n2\nffffffef\nf\nffff1234\nf\nfffffff4\nd\nfffffff2\n10\nfffffff2\nd\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | .include "testutils.inc" |
5 | dd43edf4 | ths | .data |
6 | dd43edf4 | ths | x: |
7 | dd43edf4 | ths | .dword 8,9,10,11 |
8 | dd43edf4 | ths | y: |
9 | dd43edf4 | ths | .dword -12,13,-14,15,16 |
10 | dd43edf4 | ths | |
11 | dd43edf4 | ths | start |
12 | dd43edf4 | ths | moveq 7,r0 |
13 | dd43edf4 | ths | moveq 2,r1 |
14 | dd43edf4 | ths | move.d 0xffff1234,r2 |
15 | dd43edf4 | ths | moveq 21,r3 |
16 | dd43edf4 | ths | move.d x,r4 |
17 | dd43edf4 | ths | setf zcvn |
18 | dd43edf4 | ths | movem r2,[r4+] |
19 | dd43edf4 | ths | test_cc 1 1 1 1 |
20 | dd43edf4 | ths | subq 12,r4 |
21 | dd43edf4 | ths | |
22 | dd43edf4 | ths | checkr3 15 |
23 | dd43edf4 | ths | |
24 | dd43edf4 | ths | move.d [r4+],r3 |
25 | dd43edf4 | ths | checkr3 7 |
26 | dd43edf4 | ths | |
27 | dd43edf4 | ths | move.d [r4+],r3 |
28 | dd43edf4 | ths | checkr3 2 |
29 | dd43edf4 | ths | |
30 | dd43edf4 | ths | move.d [r4+],r3 |
31 | dd43edf4 | ths | checkr3 ffff1234 |
32 | dd43edf4 | ths | |
33 | dd43edf4 | ths | move.d [r4+],r3 |
34 | dd43edf4 | ths | checkr3 b |
35 | dd43edf4 | ths | |
36 | dd43edf4 | ths | subq 16,r4 |
37 | dd43edf4 | ths | moveq 22,r0 |
38 | dd43edf4 | ths | moveq 15,r1 |
39 | dd43edf4 | ths | clearf zcvn |
40 | dd43edf4 | ths | movem r0,[r4] |
41 | dd43edf4 | ths | test_cc 0 0 0 0 |
42 | dd43edf4 | ths | move.d [r4+],r3 |
43 | dd43edf4 | ths | checkr3 16 |
44 | dd43edf4 | ths | |
45 | dd43edf4 | ths | move.d r1,r3 |
46 | dd43edf4 | ths | checkr3 f |
47 | dd43edf4 | ths | |
48 | dd43edf4 | ths | move.d [r4+],r3 |
49 | dd43edf4 | ths | checkr3 2 |
50 | dd43edf4 | ths | |
51 | dd43edf4 | ths | subq 8,r4 |
52 | dd43edf4 | ths | moveq 10,r2 |
53 | dd43edf4 | ths | moveq -17,r0 |
54 | dd43edf4 | ths | clearf zc |
55 | dd43edf4 | ths | setf vn |
56 | dd43edf4 | ths | movem r1,[r4] |
57 | dd43edf4 | ths | test_cc 1 0 1 0 |
58 | dd43edf4 | ths | move.d [r4+],r3 |
59 | dd43edf4 | ths | checkr3 ffffffef |
60 | dd43edf4 | ths | |
61 | dd43edf4 | ths | move.d [r4+],r3 |
62 | dd43edf4 | ths | checkr3 f |
63 | dd43edf4 | ths | |
64 | dd43edf4 | ths | move.d [r4+],r3 |
65 | dd43edf4 | ths | checkr3 ffff1234 |
66 | dd43edf4 | ths | |
67 | dd43edf4 | ths | move.d y,r4 |
68 | dd43edf4 | ths | setf zc |
69 | dd43edf4 | ths | clearf vn |
70 | dd43edf4 | ths | movem [r4+],r3 |
71 | dd43edf4 | ths | test_cc 0 1 0 1 |
72 | dd43edf4 | ths | checkr3 f |
73 | dd43edf4 | ths | |
74 | dd43edf4 | ths | move.d r0,r3 |
75 | dd43edf4 | ths | checkr3 fffffff4 |
76 | dd43edf4 | ths | |
77 | dd43edf4 | ths | move.d r1,r3 |
78 | dd43edf4 | ths | checkr3 d |
79 | dd43edf4 | ths | |
80 | dd43edf4 | ths | move.d r2,r3 |
81 | dd43edf4 | ths | checkr3 fffffff2 |
82 | dd43edf4 | ths | |
83 | dd43edf4 | ths | move.d [r4],r3 |
84 | dd43edf4 | ths | checkr3 10 |
85 | dd43edf4 | ths | |
86 | dd43edf4 | ths | subq 8,r4 |
87 | dd43edf4 | ths | setf zcvn |
88 | dd43edf4 | ths | movem [r4+],r0 |
89 | dd43edf4 | ths | test_cc 1 1 1 1 |
90 | dd43edf4 | ths | move.d r0,r3 |
91 | dd43edf4 | ths | checkr3 fffffff2 |
92 | dd43edf4 | ths | |
93 | dd43edf4 | ths | move.d r1,r3 |
94 | dd43edf4 | ths | checkr3 d |
95 | dd43edf4 | ths | |
96 | dd43edf4 | ths | quit |