Statistics
| Branch: | Revision:

root / tests / tcg / cris / check_lsl.s @ c09015dd

History | View | Annotate | Download (3.3 kB)

1 dd43edf4 ths
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
2 dd43edf4 ths
# output: ffffffff\n4\n80000000\nffff8000\n7f19f000\n80000000\n0\n0\n699fc67c\nffffffff\n4\n80000000\nffff8000\n7f19f000\nda670000\nda670000\nda670000\nda67c67c\nffffffff\nfffafffe\n4\nffff0000\nffff8000\n5a67f000\nda67f100\nda67f100\nda67f100\nda67f17c\nfff3faff\nfff3fafe\n4\nffffff00\nffffff00\nffffff80\n5a67f100\n5a67f1f0\n
3 dd43edf4 ths
4 dd43edf4 ths
 .include "testutils.inc"
5 dd43edf4 ths
 start
6 dd43edf4 ths
 moveq -1,r3
7 dd43edf4 ths
 lslq 0,r3
8 dd43edf4 ths
 test_move_cc 1 0 0 0
9 dd43edf4 ths
 checkr3 ffffffff
10 dd43edf4 ths
11 dd43edf4 ths
 moveq 2,r3
12 dd43edf4 ths
 lslq 1,r3
13 dd43edf4 ths
 test_move_cc 0 0 0 0
14 dd43edf4 ths
 checkr3 4
15 dd43edf4 ths
16 dd43edf4 ths
 moveq -1,r3
17 dd43edf4 ths
 lslq 31,r3
18 dd43edf4 ths
 test_move_cc 1 0 0 0
19 dd43edf4 ths
 checkr3 80000000
20 dd43edf4 ths
21 dd43edf4 ths
 moveq -1,r3
22 dd43edf4 ths
 lslq 15,r3
23 dd43edf4 ths
 test_move_cc 1 0 0 0
24 dd43edf4 ths
 checkr3 ffff8000
25 dd43edf4 ths
26 dd43edf4 ths
 move.d 0x5a67f19f,r3
27 dd43edf4 ths
 lslq 12,r3
28 dd43edf4 ths
 test_move_cc 0 0 0 0
29 dd43edf4 ths
 checkr3 7f19f000
30 dd43edf4 ths
31 dd43edf4 ths
 move.d 0xda67f19f,r3
32 dd43edf4 ths
 move.d 31,r4
33 dd43edf4 ths
 lsl.d r4,r3
34 dd43edf4 ths
 test_move_cc 1 0 0 0
35 dd43edf4 ths
 checkr3 80000000
36 dd43edf4 ths
37 dd43edf4 ths
 move.d 0xda67f19f,r3
38 dd43edf4 ths
 move.d 32,r4
39 dd43edf4 ths
 lsl.d r4,r3
40 dd43edf4 ths
 test_move_cc 0 1 0 0
41 dd43edf4 ths
 checkr3 0
42 dd43edf4 ths
43 dd43edf4 ths
 move.d 0xda67f19f,r3
44 dd43edf4 ths
 move.d 33,r4
45 dd43edf4 ths
 lsl.d r4,r3
46 dd43edf4 ths
 test_move_cc 0 1 0 0
47 dd43edf4 ths
 checkr3 0
48 dd43edf4 ths
49 dd43edf4 ths
 move.d 0xda67f19f,r3
50 dd43edf4 ths
 move.d 66,r4
51 dd43edf4 ths
 lsl.d r4,r3
52 dd43edf4 ths
 test_move_cc 0 0 0 0
53 dd43edf4 ths
 checkr3 699fc67c
54 dd43edf4 ths
55 dd43edf4 ths
 moveq -1,r3
56 dd43edf4 ths
 moveq 0,r4
57 dd43edf4 ths
 lsl.d r4,r3
58 dd43edf4 ths
 test_move_cc 1 0 0 0
59 dd43edf4 ths
 checkr3 ffffffff
60 dd43edf4 ths
61 dd43edf4 ths
 moveq 2,r3
62 dd43edf4 ths
 moveq 1,r4
63 dd43edf4 ths
 lsl.d r4,r3
64 dd43edf4 ths
 test_move_cc 0 0 0 0
65 dd43edf4 ths
 checkr3 4
66 dd43edf4 ths
67 dd43edf4 ths
 moveq -1,r3
68 dd43edf4 ths
 moveq 31,r4
69 dd43edf4 ths
 lsl.d r4,r3
70 dd43edf4 ths
 test_move_cc 1 0 0 0
71 dd43edf4 ths
 checkr3 80000000
72 dd43edf4 ths
73 dd43edf4 ths
 moveq -1,r3
74 dd43edf4 ths
 moveq 15,r4
75 dd43edf4 ths
 lsl.d r4,r3
76 dd43edf4 ths
 test_move_cc 1 0 0 0
77 dd43edf4 ths
 checkr3 ffff8000
78 dd43edf4 ths
79 dd43edf4 ths
 move.d 0x5a67f19f,r3
80 dd43edf4 ths
 moveq 12,r4
81 dd43edf4 ths
 lsl.d r4,r3
82 dd43edf4 ths
 test_move_cc 0 0 0 0
83 dd43edf4 ths
 checkr3 7f19f000
84 dd43edf4 ths
85 dd43edf4 ths
 move.d 0xda67f19f,r3
86 dd43edf4 ths
 move.d 31,r4
87 dd43edf4 ths
 lsl.w r4,r3
88 dd43edf4 ths
 test_move_cc 0 1 0 0
89 dd43edf4 ths
 checkr3 da670000
90 dd43edf4 ths
91 dd43edf4 ths
 move.d 0xda67f19f,r3
92 dd43edf4 ths
 move.d 32,r4
93 dd43edf4 ths
 lsl.w r4,r3
94 dd43edf4 ths
 test_move_cc 0 1 0 0
95 dd43edf4 ths
 checkr3 da670000
96 dd43edf4 ths
97 dd43edf4 ths
 move.d 0xda67f19f,r3
98 dd43edf4 ths
 move.d 33,r4
99 dd43edf4 ths
 lsl.w r4,r3
100 dd43edf4 ths
 test_move_cc 0 1 0 0
101 dd43edf4 ths
 checkr3 da670000
102 dd43edf4 ths
103 dd43edf4 ths
 move.d 0xda67f19f,r3
104 dd43edf4 ths
 move.d 66,r4
105 dd43edf4 ths
 lsl.w r4,r3
106 dd43edf4 ths
 test_move_cc 1 0 0 0
107 dd43edf4 ths
 checkr3 da67c67c
108 dd43edf4 ths
109 dd43edf4 ths
 moveq -1,r3
110 dd43edf4 ths
 moveq 0,r4
111 dd43edf4 ths
 lsl.w r4,r3
112 dd43edf4 ths
 test_move_cc 1 0 0 0
113 dd43edf4 ths
 checkr3 ffffffff
114 dd43edf4 ths
115 dd43edf4 ths
 move.d 0xfffaffff,r3
116 dd43edf4 ths
 moveq 1,r4
117 dd43edf4 ths
 lsl.w r4,r3
118 dd43edf4 ths
 test_move_cc 1 0 0 0
119 dd43edf4 ths
 checkr3 fffafffe
120 dd43edf4 ths
121 dd43edf4 ths
 moveq 2,r3
122 dd43edf4 ths
 moveq 1,r4
123 dd43edf4 ths
 lsl.w r4,r3
124 dd43edf4 ths
 test_move_cc 0 0 0 0
125 dd43edf4 ths
 checkr3 4
126 dd43edf4 ths
127 dd43edf4 ths
 moveq -1,r3
128 dd43edf4 ths
 moveq 31,r4
129 dd43edf4 ths
 lsl.w r4,r3
130 dd43edf4 ths
 test_move_cc 0 1 0 0
131 dd43edf4 ths
 checkr3 ffff0000
132 dd43edf4 ths
133 dd43edf4 ths
 moveq -1,r3
134 dd43edf4 ths
 moveq 15,r4
135 dd43edf4 ths
 lsl.w r4,r3
136 dd43edf4 ths
 test_move_cc 1 0 0 0
137 dd43edf4 ths
 checkr3 ffff8000
138 dd43edf4 ths
139 dd43edf4 ths
 move.d 0x5a67f19f,r3
140 dd43edf4 ths
 moveq 12,r4
141 dd43edf4 ths
 lsl.w r4,r3
142 dd43edf4 ths
 test_move_cc 1 0 0 0
143 dd43edf4 ths
 checkr3 5a67f000
144 dd43edf4 ths
145 dd43edf4 ths
 move.d 0xda67f19f,r3
146 dd43edf4 ths
 move.d 31,r4
147 dd43edf4 ths
 lsl.b r4,r3
148 dd43edf4 ths
 test_move_cc 0 1 0 0
149 dd43edf4 ths
 checkr3 da67f100
150 dd43edf4 ths
151 dd43edf4 ths
 move.d 0xda67f19f,r3
152 dd43edf4 ths
 move.d 32,r4
153 dd43edf4 ths
 lsl.b r4,r3
154 dd43edf4 ths
 test_move_cc 0 1 0 0
155 dd43edf4 ths
 checkr3 da67f100
156 dd43edf4 ths
157 dd43edf4 ths
 move.d 0xda67f19f,r3
158 dd43edf4 ths
 move.d 33,r4
159 dd43edf4 ths
 lsl.b r4,r3
160 dd43edf4 ths
 test_move_cc 0 1 0 0
161 dd43edf4 ths
 checkr3 da67f100
162 dd43edf4 ths
163 dd43edf4 ths
 move.d 0xda67f19f,r3
164 dd43edf4 ths
 move.d 66,r4
165 dd43edf4 ths
 lsl.b r4,r3
166 dd43edf4 ths
 test_move_cc 0 0 0 0
167 dd43edf4 ths
 checkr3 da67f17c
168 dd43edf4 ths
169 dd43edf4 ths
 move.d 0xfff3faff,r3
170 dd43edf4 ths
 moveq 0,r4
171 dd43edf4 ths
 lsl.b r4,r3
172 dd43edf4 ths
 test_move_cc 1 0 0 0
173 dd43edf4 ths
 checkr3 fff3faff
174 dd43edf4 ths
175 dd43edf4 ths
 move.d 0xfff3faff,r3
176 dd43edf4 ths
 moveq 1,r4
177 dd43edf4 ths
 lsl.b r4,r3
178 dd43edf4 ths
 test_move_cc 1 0 0 0
179 dd43edf4 ths
 checkr3 fff3fafe
180 dd43edf4 ths
181 dd43edf4 ths
 moveq 2,r3
182 dd43edf4 ths
 moveq 1,r4
183 dd43edf4 ths
 lsl.b r4,r3
184 dd43edf4 ths
 test_move_cc 0 0 0 0
185 dd43edf4 ths
 checkr3 4
186 dd43edf4 ths
187 dd43edf4 ths
 moveq -1,r3
188 dd43edf4 ths
 moveq 31,r4
189 dd43edf4 ths
 lsl.b r4,r3
190 dd43edf4 ths
 test_move_cc 0 1 0 0
191 dd43edf4 ths
 checkr3 ffffff00
192 dd43edf4 ths
193 dd43edf4 ths
 moveq -1,r3
194 dd43edf4 ths
 moveq 15,r4
195 dd43edf4 ths
 lsl.b r4,r3
196 dd43edf4 ths
 test_move_cc 0 1 0 0
197 dd43edf4 ths
 checkr3 ffffff00
198 dd43edf4 ths
199 dd43edf4 ths
 moveq -1,r3
200 dd43edf4 ths
 moveq 7,r4
201 dd43edf4 ths
 lsl.b r4,r3
202 dd43edf4 ths
 test_move_cc 1 0 0 0
203 dd43edf4 ths
 checkr3 ffffff80
204 dd43edf4 ths
205 dd43edf4 ths
 move.d 0x5a67f19f,r3
206 dd43edf4 ths
 moveq 12,r4
207 dd43edf4 ths
 lsl.b r4,r3
208 dd43edf4 ths
 test_move_cc 0 1 0 0
209 dd43edf4 ths
 checkr3 5a67f100
210 dd43edf4 ths
211 dd43edf4 ths
 move.d 0x5a67f19f,r3
212 dd43edf4 ths
 moveq 4,r4
213 dd43edf4 ths
 lsl.b r4,r3
214 dd43edf4 ths
 test_move_cc 1 0 0 0
215 dd43edf4 ths
 checkr3 5a67f1f0
216 dd43edf4 ths
217 dd43edf4 ths
 quit