1 // Copyright 2016, VIXL authors
2 // All rights reserved.
3 //
4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are met:
6 //
7 // * Redistributions of source code must retain the above copyright notice,
8 // this list of conditions and the following disclaimer.
9 // * Redistributions in binary form must reproduce the above copyright notice,
10 // this list of conditions and the following disclaimer in the documentation
11 // and/or other materials provided with the distribution.
12 // * Neither the name of ARM Limited nor the names of its contributors may be
13 // used to endorse or promote products derived from this software without
14 // specific prior written permission.
15 //
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS CONTRIBUTORS "AS IS" AND
17 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
20 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
27
28 // -----------------------------------------------------------------------------
29 // This file is auto generated from the
30 // test/aarch32/config/template-simulator-aarch32.cc.in template file using
31 // tools/generate_tests.py.
32 //
33 // PLEASE DO NOT EDIT.
34 // -----------------------------------------------------------------------------
35
36
37 #include "test-runner.h"
38
39 #include "test-utils.h"
40 #include "test-utils-aarch32.h"
41
42 #include "aarch32/assembler-aarch32.h"
43 #include "aarch32/macro-assembler-aarch32.h"
44 #include "aarch32/disasm-aarch32.h"
45
46 #define __ masm.
47 #define BUF_SIZE (4096)
48
49 #ifdef VIXL_INCLUDE_SIMULATOR_AARCH32
50 // Run tests with the simulator.
51
52 #define SETUP() MacroAssembler masm(BUF_SIZE)
53
54 #define START() masm.GetBuffer()->Reset()
55
56 #define END() \
57 __ Hlt(0); \
58 __ FinalizeCode();
59
60 // TODO: Run the tests in the simulator.
61 #define RUN()
62
63 #define TEARDOWN()
64
65 #else // ifdef VIXL_INCLUDE_SIMULATOR_AARCH32.
66
67 #define SETUP() \
68 MacroAssembler masm(BUF_SIZE); \
69 UseScratchRegisterScope harness_scratch(&masm); \
70 harness_scratch.ExcludeAll();
71
72 #define START() \
73 masm.GetBuffer()->Reset(); \
74 __ Push(r4); \
75 __ Push(r5); \
76 __ Push(r6); \
77 __ Push(r7); \
78 __ Push(r8); \
79 __ Push(r9); \
80 __ Push(r10); \
81 __ Push(r11); \
82 __ Push(lr); \
83 harness_scratch.Include(ip);
84
85 #define END() \
86 harness_scratch.Exclude(ip); \
87 __ Pop(lr); \
88 __ Pop(r11); \
89 __ Pop(r10); \
90 __ Pop(r9); \
91 __ Pop(r8); \
92 __ Pop(r7); \
93 __ Pop(r6); \
94 __ Pop(r5); \
95 __ Pop(r4); \
96 __ Bx(lr); \
97 __ FinalizeCode();
98
99 #define RUN() \
100 { \
101 int pcs_offset = masm.IsUsingT32() ? 1 : 0; \
102 masm.GetBuffer()->SetExecutable(); \
103 ExecuteMemory(masm.GetBuffer()->GetStartAddress<byte*>(), \
104 masm.GetSizeOfCodeGenerated(), \
105 pcs_offset); \
106 masm.GetBuffer()->SetWritable(); \
107 }
108
109 #define TEARDOWN() harness_scratch.Close();
110
111 #endif // ifdef VIXL_INCLUDE_SIMULATOR_AARCH32
112
113 namespace vixl {
114 namespace aarch32 {
115
116 // List of instruction encodings:
117 #define FOREACH_INSTRUCTION(M) \
118 M(Cmn) \
119 M(Cmp) \
120 M(Mov) \
121 M(Movs) \
122 M(Mvn) \
123 M(Mvns) \
124 M(Teq) \
125 M(Tst)
126
127
128 // The following definitions are defined again in each generated test, therefore
129 // we need to place them in an anomymous namespace. It expresses that they are
130 // local to this file only, and the compiler is not allowed to share these types
131 // across test files during template instantiation. Specifically, `Operands` and
132 // `Inputs` have various layouts across generated tests so they absolutely
133 // cannot be shared.
134
135 #ifdef VIXL_INCLUDE_TARGET_A32
136 namespace {
137
138 // Values to be passed to the assembler to produce the instruction under test.
139 struct Operands {
140 Condition cond;
141 Register rd;
142 Register rn;
143 ShiftType shift;
144 Register rs;
145 };
146
147 // Input data to feed to the instruction.
148 struct Inputs {
149 uint32_t apsr;
150 uint32_t rd;
151 uint32_t rn;
152 uint32_t rs;
153 };
154
155 // This structure contains all input data needed to test one specific encoding.
156 // It used to generate a loop over an instruction.
157 struct TestLoopData {
158 // The `operands` fields represents the values to pass to the assembler to
159 // produce the instruction.
160 Operands operands;
161 // Description of the operands, used for error reporting.
162 const char* operands_description;
163 // Unique identifier, used for generating traces.
164 const char* identifier;
165 // Array of values to be fed to the instruction.
166 size_t input_size;
167 const Inputs* inputs;
168 };
169
170 static const Inputs kCondition[] = {{NFlag, 0xabababab, 0xabababab, 0},
171 {ZFlag, 0xabababab, 0xabababab, 0},
172 {CFlag, 0xabababab, 0xabababab, 0},
173 {VFlag, 0xabababab, 0xabababab, 0},
174 {NZFlag, 0xabababab, 0xabababab, 0},
175 {NCFlag, 0xabababab, 0xabababab, 0},
176 {NVFlag, 0xabababab, 0xabababab, 0},
177 {ZCFlag, 0xabababab, 0xabababab, 0},
178 {ZVFlag, 0xabababab, 0xabababab, 0},
179 {CVFlag, 0xabababab, 0xabababab, 0},
180 {NZCFlag, 0xabababab, 0xabababab, 0},
181 {NZVFlag, 0xabababab, 0xabababab, 0},
182 {NCVFlag, 0xabababab, 0xabababab, 0},
183 {ZCVFlag, 0xabababab, 0xabababab, 0},
184 {NZCVFlag, 0xabababab, 0xabababab, 0}};
185
186 static const Inputs kRdIsRn[] = {{NoFlag, 0x00000000, 0x00000000, 0},
187 {NoFlag, 0x00000001, 0x00000001, 0},
188 {NoFlag, 0x00000002, 0x00000002, 0},
189 {NoFlag, 0x00000020, 0x00000020, 0},
190 {NoFlag, 0x0000007d, 0x0000007d, 0},
191 {NoFlag, 0x0000007e, 0x0000007e, 0},
192 {NoFlag, 0x0000007f, 0x0000007f, 0},
193 {NoFlag, 0x00007ffd, 0x00007ffd, 0},
194 {NoFlag, 0x00007ffe, 0x00007ffe, 0},
195 {NoFlag, 0x00007fff, 0x00007fff, 0},
196 {NoFlag, 0x33333333, 0x33333333, 0},
197 {NoFlag, 0x55555555, 0x55555555, 0},
198 {NoFlag, 0x7ffffffd, 0x7ffffffd, 0},
199 {NoFlag, 0x7ffffffe, 0x7ffffffe, 0},
200 {NoFlag, 0x7fffffff, 0x7fffffff, 0},
201 {NoFlag, 0x80000000, 0x80000000, 0},
202 {NoFlag, 0x80000001, 0x80000001, 0},
203 {NoFlag, 0xaaaaaaaa, 0xaaaaaaaa, 0},
204 {NoFlag, 0xcccccccc, 0xcccccccc, 0},
205 {NoFlag, 0xffff8000, 0xffff8000, 0},
206 {NoFlag, 0xffff8001, 0xffff8001, 0},
207 {NoFlag, 0xffff8002, 0xffff8002, 0},
208 {NoFlag, 0xffff8003, 0xffff8003, 0},
209 {NoFlag, 0xffffff80, 0xffffff80, 0},
210 {NoFlag, 0xffffff81, 0xffffff81, 0},
211 {NoFlag, 0xffffff82, 0xffffff82, 0},
212 {NoFlag, 0xffffff83, 0xffffff83, 0},
213 {NoFlag, 0xffffffe0, 0xffffffe0, 0},
214 {NoFlag, 0xfffffffd, 0xfffffffd, 0},
215 {NoFlag, 0xfffffffe, 0xfffffffe, 0},
216 {NoFlag, 0xffffffff, 0xffffffff, 0}};
217
218 static const Inputs kRdIsNotRn[] = {{NoFlag, 0x00000002, 0xcccccccc, 0},
219 {NoFlag, 0x7ffffffd, 0x00007ffe, 0},
220 {NoFlag, 0xffffff80, 0x00000020, 0},
221 {NoFlag, 0xaaaaaaaa, 0xaaaaaaaa, 0},
222 {NoFlag, 0x33333333, 0xffffff82, 0},
223 {NoFlag, 0xffff8001, 0x7ffffffe, 0},
224 {NoFlag, 0xfffffffd, 0x00007ffe, 0},
225 {NoFlag, 0xffffff80, 0x80000000, 0},
226 {NoFlag, 0x00000001, 0x33333333, 0},
227 {NoFlag, 0xcccccccc, 0x7ffffffe, 0},
228 {NoFlag, 0x00000000, 0xcccccccc, 0},
229 {NoFlag, 0x00000000, 0x55555555, 0},
230 {NoFlag, 0xffffffff, 0xffffffff, 0},
231 {NoFlag, 0x0000007e, 0xffff8002, 0},
232 {NoFlag, 0x80000000, 0x7ffffffd, 0},
233 {NoFlag, 0xffffff81, 0x0000007e, 0},
234 {NoFlag, 0x0000007f, 0xffff8001, 0},
235 {NoFlag, 0xffffffe0, 0x00007ffd, 0},
236 {NoFlag, 0xffff8003, 0x00000002, 0},
237 {NoFlag, 0xffffff83, 0x55555555, 0},
238 {NoFlag, 0xffffff83, 0xffffff80, 0},
239 {NoFlag, 0xffffff81, 0xffff8000, 0},
240 {NoFlag, 0x00000020, 0x7ffffffe, 0},
241 {NoFlag, 0xffffffe0, 0x00000000, 0},
242 {NoFlag, 0x7fffffff, 0x0000007e, 0},
243 {NoFlag, 0x80000001, 0xffffffff, 0},
244 {NoFlag, 0x00000001, 0x80000001, 0},
245 {NoFlag, 0x00000002, 0x0000007f, 0},
246 {NoFlag, 0x7fffffff, 0xcccccccc, 0},
247 {NoFlag, 0x80000001, 0x00007ffe, 0},
248 {NoFlag, 0xffff8002, 0x0000007e, 0},
249 {NoFlag, 0x00007ffe, 0xcccccccc, 0},
250 {NoFlag, 0x80000000, 0xffff8002, 0},
251 {NoFlag, 0xffffff83, 0x7ffffffe, 0},
252 {NoFlag, 0xffff8001, 0x00000001, 0},
253 {NoFlag, 0xffffff81, 0x00000020, 0},
254 {NoFlag, 0xfffffffe, 0xffff8001, 0},
255 {NoFlag, 0xffffffff, 0xfffffffe, 0},
256 {NoFlag, 0xcccccccc, 0x55555555, 0},
257 {NoFlag, 0x00000020, 0xffffff83, 0},
258 {NoFlag, 0xffffff83, 0xffff8001, 0},
259 {NoFlag, 0xffffff83, 0xffff8000, 0},
260 {NoFlag, 0x00007fff, 0x00000002, 0},
261 {NoFlag, 0x55555555, 0xffff8000, 0},
262 {NoFlag, 0x80000001, 0xffffff81, 0},
263 {NoFlag, 0x00000002, 0x00000000, 0},
264 {NoFlag, 0x33333333, 0xffffff81, 0},
265 {NoFlag, 0xffff8001, 0xffffff82, 0},
266 {NoFlag, 0xcccccccc, 0xffff8003, 0},
267 {NoFlag, 0xffff8003, 0x7ffffffd, 0},
268 {NoFlag, 0x0000007d, 0x00007ffe, 0},
269 {NoFlag, 0xffffff80, 0x0000007d, 0},
270 {NoFlag, 0xaaaaaaaa, 0x00007ffd, 0},
271 {NoFlag, 0x80000000, 0xffffff82, 0},
272 {NoFlag, 0x00000002, 0x7ffffffe, 0},
273 {NoFlag, 0x00000002, 0xffffff83, 0},
274 {NoFlag, 0x55555555, 0x00000002, 0},
275 {NoFlag, 0xffffffff, 0xffffff82, 0},
276 {NoFlag, 0xaaaaaaaa, 0x00000020, 0},
277 {NoFlag, 0x00000001, 0xffffff82, 0},
278 {NoFlag, 0x0000007f, 0xffffff82, 0},
279 {NoFlag, 0x7ffffffd, 0xaaaaaaaa, 0},
280 {NoFlag, 0x00007ffe, 0x00000001, 0},
281 {NoFlag, 0xfffffffd, 0xffffffe0, 0},
282 {NoFlag, 0xffffff81, 0xffffff83, 0},
283 {NoFlag, 0x0000007d, 0x00000000, 0},
284 {NoFlag, 0x0000007d, 0xffff8000, 0},
285 {NoFlag, 0xffffff81, 0x7fffffff, 0},
286 {NoFlag, 0xffffffff, 0x80000000, 0},
287 {NoFlag, 0x00000000, 0x00000001, 0},
288 {NoFlag, 0x55555555, 0xffffff82, 0},
289 {NoFlag, 0x00007ffe, 0x00007ffe, 0},
290 {NoFlag, 0x80000001, 0xfffffffd, 0},
291 {NoFlag, 0x00007fff, 0x33333333, 0},
292 {NoFlag, 0x00007fff, 0x80000000, 0},
293 {NoFlag, 0xcccccccc, 0x00007fff, 0},
294 {NoFlag, 0xfffffffe, 0xffffffe0, 0},
295 {NoFlag, 0x7ffffffe, 0x0000007f, 0},
296 {NoFlag, 0x00007ffd, 0xffff8001, 0},
297 {NoFlag, 0x00000002, 0x00000001, 0},
298 {NoFlag, 0x80000000, 0xffffffff, 0},
299 {NoFlag, 0xffffff83, 0xcccccccc, 0},
300 {NoFlag, 0xffff8002, 0x7ffffffe, 0},
301 {NoFlag, 0xaaaaaaaa, 0x00000000, 0},
302 {NoFlag, 0xffffff80, 0xcccccccc, 0},
303 {NoFlag, 0x33333333, 0xffffff83, 0},
304 {NoFlag, 0x0000007e, 0xffffffe0, 0},
305 {NoFlag, 0x0000007e, 0x00007fff, 0},
306 {NoFlag, 0x0000007f, 0x00000002, 0},
307 {NoFlag, 0x7ffffffe, 0xcccccccc, 0},
308 {NoFlag, 0x0000007d, 0xffffff80, 0},
309 {NoFlag, 0x00007fff, 0x00000020, 0},
310 {NoFlag, 0x7ffffffe, 0xfffffffe, 0},
311 {NoFlag, 0xfffffffe, 0xffffff81, 0},
312 {NoFlag, 0xffffffff, 0x0000007f, 0},
313 {NoFlag, 0xffff8002, 0x7ffffffd, 0},
314 {NoFlag, 0xffff8001, 0xfffffffe, 0},
315 {NoFlag, 0x33333333, 0xffff8002, 0},
316 {NoFlag, 0x00000000, 0xffffffff, 0},
317 {NoFlag, 0x33333333, 0xffffff80, 0},
318 {NoFlag, 0x0000007f, 0x00007fff, 0},
319 {NoFlag, 0xffffffff, 0xffff8001, 0},
320 {NoFlag, 0x7fffffff, 0xffff8002, 0},
321 {NoFlag, 0x7ffffffd, 0xffffff83, 0},
322 {NoFlag, 0x7fffffff, 0x0000007f, 0},
323 {NoFlag, 0xffffff83, 0xfffffffe, 0},
324 {NoFlag, 0x7ffffffe, 0xffff8003, 0},
325 {NoFlag, 0xffff8002, 0xffff8002, 0},
326 {NoFlag, 0x80000001, 0x0000007f, 0},
327 {NoFlag, 0x00000020, 0x00000002, 0},
328 {NoFlag, 0xffffff82, 0xffff8001, 0},
329 {NoFlag, 0xffffffff, 0x00000001, 0},
330 {NoFlag, 0xffffff80, 0xffff8002, 0},
331 {NoFlag, 0xffff8003, 0x7fffffff, 0},
332 {NoFlag, 0xffffffff, 0xffff8000, 0},
333 {NoFlag, 0xffff8002, 0x00007ffd, 0},
334 {NoFlag, 0x00000020, 0xffffff81, 0},
335 {NoFlag, 0x00000001, 0x55555555, 0},
336 {NoFlag, 0x7ffffffe, 0x00000020, 0},
337 {NoFlag, 0x80000000, 0x00000001, 0},
338 {NoFlag, 0x00007ffd, 0xffff8002, 0},
339 {NoFlag, 0x7fffffff, 0xfffffffe, 0},
340 {NoFlag, 0xcccccccc, 0x00007ffd, 0},
341 {NoFlag, 0x00000000, 0xfffffffd, 0},
342 {NoFlag, 0xffff8003, 0xffffff80, 0},
343 {NoFlag, 0x80000001, 0xffffff80, 0},
344 {NoFlag, 0xffffffff, 0xffff8002, 0},
345 {NoFlag, 0x00007ffe, 0xffff8002, 0},
346 {NoFlag, 0xffffff80, 0x00007ffe, 0},
347 {NoFlag, 0x80000001, 0xffff8001, 0},
348 {NoFlag, 0x0000007f, 0xffffff80, 0},
349 {NoFlag, 0xffffff81, 0x80000000, 0},
350 {NoFlag, 0x00007fff, 0x00007ffe, 0},
351 {NoFlag, 0x33333333, 0xffff8000, 0},
352 {NoFlag, 0x33333333, 0x00007fff, 0},
353 {NoFlag, 0x00000000, 0x0000007d, 0},
354 {NoFlag, 0x80000001, 0x00000000, 0},
355 {NoFlag, 0xffffffff, 0x55555555, 0},
356 {NoFlag, 0x80000001, 0x80000000, 0},
357 {NoFlag, 0xffffffff, 0xffffff80, 0},
358 {NoFlag, 0xffffff81, 0xffff8003, 0},
359 {NoFlag, 0x55555555, 0x80000001, 0},
360 {NoFlag, 0x7fffffff, 0xffff8001, 0},
361 {NoFlag, 0xffffff83, 0x00000002, 0},
362 {NoFlag, 0x0000007e, 0xffffff81, 0},
363 {NoFlag, 0x80000000, 0xffff8001, 0},
364 {NoFlag, 0xffffff80, 0xfffffffe, 0},
365 {NoFlag, 0x0000007e, 0xfffffffd, 0},
366 {NoFlag, 0xffffffe0, 0xffffffff, 0},
367 {NoFlag, 0x55555555, 0x80000000, 0},
368 {NoFlag, 0x0000007d, 0x80000001, 0},
369 {NoFlag, 0xffffffe0, 0x7ffffffd, 0},
370 {NoFlag, 0x00000000, 0x00000000, 0},
371 {NoFlag, 0x55555555, 0x00000001, 0},
372 {NoFlag, 0x00007ffd, 0x7fffffff, 0},
373 {NoFlag, 0x55555555, 0xffffffff, 0},
374 {NoFlag, 0xffff8003, 0x00007fff, 0},
375 {NoFlag, 0xffffff82, 0x00007fff, 0},
376 {NoFlag, 0x33333333, 0x55555555, 0},
377 {NoFlag, 0x00000020, 0x33333333, 0},
378 {NoFlag, 0x7ffffffe, 0xfffffffd, 0},
379 {NoFlag, 0x7ffffffe, 0x00000001, 0},
380 {NoFlag, 0xffffff83, 0xffffffe0, 0},
381 {NoFlag, 0xfffffffe, 0xaaaaaaaa, 0},
382 {NoFlag, 0xffff8002, 0x33333333, 0},
383 {NoFlag, 0xffff8002, 0xffff8003, 0},
384 {NoFlag, 0x33333333, 0x7fffffff, 0},
385 {NoFlag, 0xfffffffd, 0xffffff83, 0},
386 {NoFlag, 0x00000000, 0xffff8000, 0},
387 {NoFlag, 0xffffff82, 0x55555555, 0},
388 {NoFlag, 0xffffff82, 0xffffff81, 0},
389 {NoFlag, 0xcccccccc, 0xfffffffe, 0},
390 {NoFlag, 0xfffffffd, 0x7fffffff, 0},
391 {NoFlag, 0x00007fff, 0x7fffffff, 0},
392 {NoFlag, 0xffffff83, 0xffff8003, 0},
393 {NoFlag, 0xfffffffe, 0xffffffff, 0},
394 {NoFlag, 0x7ffffffd, 0x00007ffd, 0},
395 {NoFlag, 0x7ffffffd, 0x00007fff, 0},
396 {NoFlag, 0x00007ffd, 0xffffffff, 0},
397 {NoFlag, 0x00000001, 0xffff8003, 0},
398 {NoFlag, 0xffffff80, 0xfffffffd, 0},
399 {NoFlag, 0x33333333, 0x80000000, 0},
400 {NoFlag, 0xffff8001, 0x00000020, 0},
401 {NoFlag, 0xcccccccc, 0x00000002, 0},
402 {NoFlag, 0x00000000, 0x00000002, 0},
403 {NoFlag, 0x0000007d, 0x00007fff, 0},
404 {NoFlag, 0xcccccccc, 0x00000001, 0},
405 {NoFlag, 0xffffff83, 0x00007fff, 0},
406 {NoFlag, 0x80000001, 0x00000020, 0},
407 {NoFlag, 0xffff8003, 0xffffffe0, 0},
408 {NoFlag, 0x00007ffd, 0xaaaaaaaa, 0},
409 {NoFlag, 0x33333333, 0xffff8001, 0},
410 {NoFlag, 0xffffff83, 0x80000001, 0},
411 {NoFlag, 0xffff8000, 0xffff8000, 0},
412 {NoFlag, 0x00007ffe, 0xffff8001, 0},
413 {NoFlag, 0x7ffffffd, 0x00000000, 0},
414 {NoFlag, 0x00007ffe, 0x33333333, 0},
415 {NoFlag, 0xffff8001, 0xffffff80, 0},
416 {NoFlag, 0xfffffffe, 0x55555555, 0},
417 {NoFlag, 0xffffff82, 0xffffffff, 0}};
418
419 static const Inputs kShiftTypes[] = {{NoFlag, 0xabababab, 0x00000000, 0},
420 {NoFlag, 0xabababab, 0x00000000, 1},
421 {NoFlag, 0xabababab, 0x00000000, 2},
422 {NoFlag, 0xabababab, 0x00000000, 3},
423 {NoFlag, 0xabababab, 0x00000000, 4},
424 {NoFlag, 0xabababab, 0x00000000, 5},
425 {NoFlag, 0xabababab, 0x00000000, 6},
426 {NoFlag, 0xabababab, 0x00000000, 7},
427 {NoFlag, 0xabababab, 0x00000000, 8},
428 {NoFlag, 0xabababab, 0x00000000, 9},
429 {NoFlag, 0xabababab, 0x00000000, 10},
430 {NoFlag, 0xabababab, 0x00000000, 11},
431 {NoFlag, 0xabababab, 0x00000000, 12},
432 {NoFlag, 0xabababab, 0x00000000, 13},
433 {NoFlag, 0xabababab, 0x00000000, 14},
434 {NoFlag, 0xabababab, 0x00000000, 15},
435 {NoFlag, 0xabababab, 0x00000000, 16},
436 {NoFlag, 0xabababab, 0x00000000, 17},
437 {NoFlag, 0xabababab, 0x00000000, 18},
438 {NoFlag, 0xabababab, 0x00000000, 19},
439 {NoFlag, 0xabababab, 0x00000000, 20},
440 {NoFlag, 0xabababab, 0x00000000, 21},
441 {NoFlag, 0xabababab, 0x00000000, 22},
442 {NoFlag, 0xabababab, 0x00000000, 23},
443 {NoFlag, 0xabababab, 0x00000000, 24},
444 {NoFlag, 0xabababab, 0x00000000, 25},
445 {NoFlag, 0xabababab, 0x00000000, 26},
446 {NoFlag, 0xabababab, 0x00000000, 27},
447 {NoFlag, 0xabababab, 0x00000000, 28},
448 {NoFlag, 0xabababab, 0x00000000, 29},
449 {NoFlag, 0xabababab, 0x00000000, 30},
450 {NoFlag, 0xabababab, 0x00000000, 31},
451 {NoFlag, 0xabababab, 0x00000000, 32},
452 {NoFlag, 0xabababab, 0x00000001, 0},
453 {NoFlag, 0xabababab, 0x00000001, 1},
454 {NoFlag, 0xabababab, 0x00000001, 2},
455 {NoFlag, 0xabababab, 0x00000001, 3},
456 {NoFlag, 0xabababab, 0x00000001, 4},
457 {NoFlag, 0xabababab, 0x00000001, 5},
458 {NoFlag, 0xabababab, 0x00000001, 6},
459 {NoFlag, 0xabababab, 0x00000001, 7},
460 {NoFlag, 0xabababab, 0x00000001, 8},
461 {NoFlag, 0xabababab, 0x00000001, 9},
462 {NoFlag, 0xabababab, 0x00000001, 10},
463 {NoFlag, 0xabababab, 0x00000001, 11},
464 {NoFlag, 0xabababab, 0x00000001, 12},
465 {NoFlag, 0xabababab, 0x00000001, 13},
466 {NoFlag, 0xabababab, 0x00000001, 14},
467 {NoFlag, 0xabababab, 0x00000001, 15},
468 {NoFlag, 0xabababab, 0x00000001, 16},
469 {NoFlag, 0xabababab, 0x00000001, 17},
470 {NoFlag, 0xabababab, 0x00000001, 18},
471 {NoFlag, 0xabababab, 0x00000001, 19},
472 {NoFlag, 0xabababab, 0x00000001, 20},
473 {NoFlag, 0xabababab, 0x00000001, 21},
474 {NoFlag, 0xabababab, 0x00000001, 22},
475 {NoFlag, 0xabababab, 0x00000001, 23},
476 {NoFlag, 0xabababab, 0x00000001, 24},
477 {NoFlag, 0xabababab, 0x00000001, 25},
478 {NoFlag, 0xabababab, 0x00000001, 26},
479 {NoFlag, 0xabababab, 0x00000001, 27},
480 {NoFlag, 0xabababab, 0x00000001, 28},
481 {NoFlag, 0xabababab, 0x00000001, 29},
482 {NoFlag, 0xabababab, 0x00000001, 30},
483 {NoFlag, 0xabababab, 0x00000001, 31},
484 {NoFlag, 0xabababab, 0x00000001, 32},
485 {NoFlag, 0xabababab, 0x00000002, 0},
486 {NoFlag, 0xabababab, 0x00000002, 1},
487 {NoFlag, 0xabababab, 0x00000002, 2},
488 {NoFlag, 0xabababab, 0x00000002, 3},
489 {NoFlag, 0xabababab, 0x00000002, 4},
490 {NoFlag, 0xabababab, 0x00000002, 5},
491 {NoFlag, 0xabababab, 0x00000002, 6},
492 {NoFlag, 0xabababab, 0x00000002, 7},
493 {NoFlag, 0xabababab, 0x00000002, 8},
494 {NoFlag, 0xabababab, 0x00000002, 9},
495 {NoFlag, 0xabababab, 0x00000002, 10},
496 {NoFlag, 0xabababab, 0x00000002, 11},
497 {NoFlag, 0xabababab, 0x00000002, 12},
498 {NoFlag, 0xabababab, 0x00000002, 13},
499 {NoFlag, 0xabababab, 0x00000002, 14},
500 {NoFlag, 0xabababab, 0x00000002, 15},
501 {NoFlag, 0xabababab, 0x00000002, 16},
502 {NoFlag, 0xabababab, 0x00000002, 17},
503 {NoFlag, 0xabababab, 0x00000002, 18},
504 {NoFlag, 0xabababab, 0x00000002, 19},
505 {NoFlag, 0xabababab, 0x00000002, 20},
506 {NoFlag, 0xabababab, 0x00000002, 21},
507 {NoFlag, 0xabababab, 0x00000002, 22},
508 {NoFlag, 0xabababab, 0x00000002, 23},
509 {NoFlag, 0xabababab, 0x00000002, 24},
510 {NoFlag, 0xabababab, 0x00000002, 25},
511 {NoFlag, 0xabababab, 0x00000002, 26},
512 {NoFlag, 0xabababab, 0x00000002, 27},
513 {NoFlag, 0xabababab, 0x00000002, 28},
514 {NoFlag, 0xabababab, 0x00000002, 29},
515 {NoFlag, 0xabababab, 0x00000002, 30},
516 {NoFlag, 0xabababab, 0x00000002, 31},
517 {NoFlag, 0xabababab, 0x00000002, 32},
518 {NoFlag, 0xabababab, 0x00000020, 0},
519 {NoFlag, 0xabababab, 0x00000020, 1},
520 {NoFlag, 0xabababab, 0x00000020, 2},
521 {NoFlag, 0xabababab, 0x00000020, 3},
522 {NoFlag, 0xabababab, 0x00000020, 4},
523 {NoFlag, 0xabababab, 0x00000020, 5},
524 {NoFlag, 0xabababab, 0x00000020, 6},
525 {NoFlag, 0xabababab, 0x00000020, 7},
526 {NoFlag, 0xabababab, 0x00000020, 8},
527 {NoFlag, 0xabababab, 0x00000020, 9},
528 {NoFlag, 0xabababab, 0x00000020, 10},
529 {NoFlag, 0xabababab, 0x00000020, 11},
530 {NoFlag, 0xabababab, 0x00000020, 12},
531 {NoFlag, 0xabababab, 0x00000020, 13},
532 {NoFlag, 0xabababab, 0x00000020, 14},
533 {NoFlag, 0xabababab, 0x00000020, 15},
534 {NoFlag, 0xabababab, 0x00000020, 16},
535 {NoFlag, 0xabababab, 0x00000020, 17},
536 {NoFlag, 0xabababab, 0x00000020, 18},
537 {NoFlag, 0xabababab, 0x00000020, 19},
538 {NoFlag, 0xabababab, 0x00000020, 20},
539 {NoFlag, 0xabababab, 0x00000020, 21},
540 {NoFlag, 0xabababab, 0x00000020, 22},
541 {NoFlag, 0xabababab, 0x00000020, 23},
542 {NoFlag, 0xabababab, 0x00000020, 24},
543 {NoFlag, 0xabababab, 0x00000020, 25},
544 {NoFlag, 0xabababab, 0x00000020, 26},
545 {NoFlag, 0xabababab, 0x00000020, 27},
546 {NoFlag, 0xabababab, 0x00000020, 28},
547 {NoFlag, 0xabababab, 0x00000020, 29},
548 {NoFlag, 0xabababab, 0x00000020, 30},
549 {NoFlag, 0xabababab, 0x00000020, 31},
550 {NoFlag, 0xabababab, 0x00000020, 32},
551 {NoFlag, 0xabababab, 0x0000007d, 0},
552 {NoFlag, 0xabababab, 0x0000007d, 1},
553 {NoFlag, 0xabababab, 0x0000007d, 2},
554 {NoFlag, 0xabababab, 0x0000007d, 3},
555 {NoFlag, 0xabababab, 0x0000007d, 4},
556 {NoFlag, 0xabababab, 0x0000007d, 5},
557 {NoFlag, 0xabababab, 0x0000007d, 6},
558 {NoFlag, 0xabababab, 0x0000007d, 7},
559 {NoFlag, 0xabababab, 0x0000007d, 8},
560 {NoFlag, 0xabababab, 0x0000007d, 9},
561 {NoFlag, 0xabababab, 0x0000007d, 10},
562 {NoFlag, 0xabababab, 0x0000007d, 11},
563 {NoFlag, 0xabababab, 0x0000007d, 12},
564 {NoFlag, 0xabababab, 0x0000007d, 13},
565 {NoFlag, 0xabababab, 0x0000007d, 14},
566 {NoFlag, 0xabababab, 0x0000007d, 15},
567 {NoFlag, 0xabababab, 0x0000007d, 16},
568 {NoFlag, 0xabababab, 0x0000007d, 17},
569 {NoFlag, 0xabababab, 0x0000007d, 18},
570 {NoFlag, 0xabababab, 0x0000007d, 19},
571 {NoFlag, 0xabababab, 0x0000007d, 20},
572 {NoFlag, 0xabababab, 0x0000007d, 21},
573 {NoFlag, 0xabababab, 0x0000007d, 22},
574 {NoFlag, 0xabababab, 0x0000007d, 23},
575 {NoFlag, 0xabababab, 0x0000007d, 24},
576 {NoFlag, 0xabababab, 0x0000007d, 25},
577 {NoFlag, 0xabababab, 0x0000007d, 26},
578 {NoFlag, 0xabababab, 0x0000007d, 27},
579 {NoFlag, 0xabababab, 0x0000007d, 28},
580 {NoFlag, 0xabababab, 0x0000007d, 29},
581 {NoFlag, 0xabababab, 0x0000007d, 30},
582 {NoFlag, 0xabababab, 0x0000007d, 31},
583 {NoFlag, 0xabababab, 0x0000007d, 32},
584 {NoFlag, 0xabababab, 0x0000007e, 0},
585 {NoFlag, 0xabababab, 0x0000007e, 1},
586 {NoFlag, 0xabababab, 0x0000007e, 2},
587 {NoFlag, 0xabababab, 0x0000007e, 3},
588 {NoFlag, 0xabababab, 0x0000007e, 4},
589 {NoFlag, 0xabababab, 0x0000007e, 5},
590 {NoFlag, 0xabababab, 0x0000007e, 6},
591 {NoFlag, 0xabababab, 0x0000007e, 7},
592 {NoFlag, 0xabababab, 0x0000007e, 8},
593 {NoFlag, 0xabababab, 0x0000007e, 9},
594 {NoFlag, 0xabababab, 0x0000007e, 10},
595 {NoFlag, 0xabababab, 0x0000007e, 11},
596 {NoFlag, 0xabababab, 0x0000007e, 12},
597 {NoFlag, 0xabababab, 0x0000007e, 13},
598 {NoFlag, 0xabababab, 0x0000007e, 14},
599 {NoFlag, 0xabababab, 0x0000007e, 15},
600 {NoFlag, 0xabababab, 0x0000007e, 16},
601 {NoFlag, 0xabababab, 0x0000007e, 17},
602 {NoFlag, 0xabababab, 0x0000007e, 18},
603 {NoFlag, 0xabababab, 0x0000007e, 19},
604 {NoFlag, 0xabababab, 0x0000007e, 20},
605 {NoFlag, 0xabababab, 0x0000007e, 21},
606 {NoFlag, 0xabababab, 0x0000007e, 22},
607 {NoFlag, 0xabababab, 0x0000007e, 23},
608 {NoFlag, 0xabababab, 0x0000007e, 24},
609 {NoFlag, 0xabababab, 0x0000007e, 25},
610 {NoFlag, 0xabababab, 0x0000007e, 26},
611 {NoFlag, 0xabababab, 0x0000007e, 27},
612 {NoFlag, 0xabababab, 0x0000007e, 28},
613 {NoFlag, 0xabababab, 0x0000007e, 29},
614 {NoFlag, 0xabababab, 0x0000007e, 30},
615 {NoFlag, 0xabababab, 0x0000007e, 31},
616 {NoFlag, 0xabababab, 0x0000007e, 32},
617 {NoFlag, 0xabababab, 0x0000007f, 0},
618 {NoFlag, 0xabababab, 0x0000007f, 1},
619 {NoFlag, 0xabababab, 0x0000007f, 2},
620 {NoFlag, 0xabababab, 0x0000007f, 3},
621 {NoFlag, 0xabababab, 0x0000007f, 4},
622 {NoFlag, 0xabababab, 0x0000007f, 5},
623 {NoFlag, 0xabababab, 0x0000007f, 6},
624 {NoFlag, 0xabababab, 0x0000007f, 7},
625 {NoFlag, 0xabababab, 0x0000007f, 8},
626 {NoFlag, 0xabababab, 0x0000007f, 9},
627 {NoFlag, 0xabababab, 0x0000007f, 10},
628 {NoFlag, 0xabababab, 0x0000007f, 11},
629 {NoFlag, 0xabababab, 0x0000007f, 12},
630 {NoFlag, 0xabababab, 0x0000007f, 13},
631 {NoFlag, 0xabababab, 0x0000007f, 14},
632 {NoFlag, 0xabababab, 0x0000007f, 15},
633 {NoFlag, 0xabababab, 0x0000007f, 16},
634 {NoFlag, 0xabababab, 0x0000007f, 17},
635 {NoFlag, 0xabababab, 0x0000007f, 18},
636 {NoFlag, 0xabababab, 0x0000007f, 19},
637 {NoFlag, 0xabababab, 0x0000007f, 20},
638 {NoFlag, 0xabababab, 0x0000007f, 21},
639 {NoFlag, 0xabababab, 0x0000007f, 22},
640 {NoFlag, 0xabababab, 0x0000007f, 23},
641 {NoFlag, 0xabababab, 0x0000007f, 24},
642 {NoFlag, 0xabababab, 0x0000007f, 25},
643 {NoFlag, 0xabababab, 0x0000007f, 26},
644 {NoFlag, 0xabababab, 0x0000007f, 27},
645 {NoFlag, 0xabababab, 0x0000007f, 28},
646 {NoFlag, 0xabababab, 0x0000007f, 29},
647 {NoFlag, 0xabababab, 0x0000007f, 30},
648 {NoFlag, 0xabababab, 0x0000007f, 31},
649 {NoFlag, 0xabababab, 0x0000007f, 32},
650 {NoFlag, 0xabababab, 0x00007ffd, 0},
651 {NoFlag, 0xabababab, 0x00007ffd, 1},
652 {NoFlag, 0xabababab, 0x00007ffd, 2},
653 {NoFlag, 0xabababab, 0x00007ffd, 3},
654 {NoFlag, 0xabababab, 0x00007ffd, 4},
655 {NoFlag, 0xabababab, 0x00007ffd, 5},
656 {NoFlag, 0xabababab, 0x00007ffd, 6},
657 {NoFlag, 0xabababab, 0x00007ffd, 7},
658 {NoFlag, 0xabababab, 0x00007ffd, 8},
659 {NoFlag, 0xabababab, 0x00007ffd, 9},
660 {NoFlag, 0xabababab, 0x00007ffd, 10},
661 {NoFlag, 0xabababab, 0x00007ffd, 11},
662 {NoFlag, 0xabababab, 0x00007ffd, 12},
663 {NoFlag, 0xabababab, 0x00007ffd, 13},
664 {NoFlag, 0xabababab, 0x00007ffd, 14},
665 {NoFlag, 0xabababab, 0x00007ffd, 15},
666 {NoFlag, 0xabababab, 0x00007ffd, 16},
667 {NoFlag, 0xabababab, 0x00007ffd, 17},
668 {NoFlag, 0xabababab, 0x00007ffd, 18},
669 {NoFlag, 0xabababab, 0x00007ffd, 19},
670 {NoFlag, 0xabababab, 0x00007ffd, 20},
671 {NoFlag, 0xabababab, 0x00007ffd, 21},
672 {NoFlag, 0xabababab, 0x00007ffd, 22},
673 {NoFlag, 0xabababab, 0x00007ffd, 23},
674 {NoFlag, 0xabababab, 0x00007ffd, 24},
675 {NoFlag, 0xabababab, 0x00007ffd, 25},
676 {NoFlag, 0xabababab, 0x00007ffd, 26},
677 {NoFlag, 0xabababab, 0x00007ffd, 27},
678 {NoFlag, 0xabababab, 0x00007ffd, 28},
679 {NoFlag, 0xabababab, 0x00007ffd, 29},
680 {NoFlag, 0xabababab, 0x00007ffd, 30},
681 {NoFlag, 0xabababab, 0x00007ffd, 31},
682 {NoFlag, 0xabababab, 0x00007ffd, 32},
683 {NoFlag, 0xabababab, 0x00007ffe, 0},
684 {NoFlag, 0xabababab, 0x00007ffe, 1},
685 {NoFlag, 0xabababab, 0x00007ffe, 2},
686 {NoFlag, 0xabababab, 0x00007ffe, 3},
687 {NoFlag, 0xabababab, 0x00007ffe, 4},
688 {NoFlag, 0xabababab, 0x00007ffe, 5},
689 {NoFlag, 0xabababab, 0x00007ffe, 6},
690 {NoFlag, 0xabababab, 0x00007ffe, 7},
691 {NoFlag, 0xabababab, 0x00007ffe, 8},
692 {NoFlag, 0xabababab, 0x00007ffe, 9},
693 {NoFlag, 0xabababab, 0x00007ffe, 10},
694 {NoFlag, 0xabababab, 0x00007ffe, 11},
695 {NoFlag, 0xabababab, 0x00007ffe, 12},
696 {NoFlag, 0xabababab, 0x00007ffe, 13},
697 {NoFlag, 0xabababab, 0x00007ffe, 14},
698 {NoFlag, 0xabababab, 0x00007ffe, 15},
699 {NoFlag, 0xabababab, 0x00007ffe, 16},
700 {NoFlag, 0xabababab, 0x00007ffe, 17},
701 {NoFlag, 0xabababab, 0x00007ffe, 18},
702 {NoFlag, 0xabababab, 0x00007ffe, 19},
703 {NoFlag, 0xabababab, 0x00007ffe, 20},
704 {NoFlag, 0xabababab, 0x00007ffe, 21},
705 {NoFlag, 0xabababab, 0x00007ffe, 22},
706 {NoFlag, 0xabababab, 0x00007ffe, 23},
707 {NoFlag, 0xabababab, 0x00007ffe, 24},
708 {NoFlag, 0xabababab, 0x00007ffe, 25},
709 {NoFlag, 0xabababab, 0x00007ffe, 26},
710 {NoFlag, 0xabababab, 0x00007ffe, 27},
711 {NoFlag, 0xabababab, 0x00007ffe, 28},
712 {NoFlag, 0xabababab, 0x00007ffe, 29},
713 {NoFlag, 0xabababab, 0x00007ffe, 30},
714 {NoFlag, 0xabababab, 0x00007ffe, 31},
715 {NoFlag, 0xabababab, 0x00007ffe, 32},
716 {NoFlag, 0xabababab, 0x00007fff, 0},
717 {NoFlag, 0xabababab, 0x00007fff, 1},
718 {NoFlag, 0xabababab, 0x00007fff, 2},
719 {NoFlag, 0xabababab, 0x00007fff, 3},
720 {NoFlag, 0xabababab, 0x00007fff, 4},
721 {NoFlag, 0xabababab, 0x00007fff, 5},
722 {NoFlag, 0xabababab, 0x00007fff, 6},
723 {NoFlag, 0xabababab, 0x00007fff, 7},
724 {NoFlag, 0xabababab, 0x00007fff, 8},
725 {NoFlag, 0xabababab, 0x00007fff, 9},
726 {NoFlag, 0xabababab, 0x00007fff, 10},
727 {NoFlag, 0xabababab, 0x00007fff, 11},
728 {NoFlag, 0xabababab, 0x00007fff, 12},
729 {NoFlag, 0xabababab, 0x00007fff, 13},
730 {NoFlag, 0xabababab, 0x00007fff, 14},
731 {NoFlag, 0xabababab, 0x00007fff, 15},
732 {NoFlag, 0xabababab, 0x00007fff, 16},
733 {NoFlag, 0xabababab, 0x00007fff, 17},
734 {NoFlag, 0xabababab, 0x00007fff, 18},
735 {NoFlag, 0xabababab, 0x00007fff, 19},
736 {NoFlag, 0xabababab, 0x00007fff, 20},
737 {NoFlag, 0xabababab, 0x00007fff, 21},
738 {NoFlag, 0xabababab, 0x00007fff, 22},
739 {NoFlag, 0xabababab, 0x00007fff, 23},
740 {NoFlag, 0xabababab, 0x00007fff, 24},
741 {NoFlag, 0xabababab, 0x00007fff, 25},
742 {NoFlag, 0xabababab, 0x00007fff, 26},
743 {NoFlag, 0xabababab, 0x00007fff, 27},
744 {NoFlag, 0xabababab, 0x00007fff, 28},
745 {NoFlag, 0xabababab, 0x00007fff, 29},
746 {NoFlag, 0xabababab, 0x00007fff, 30},
747 {NoFlag, 0xabababab, 0x00007fff, 31},
748 {NoFlag, 0xabababab, 0x00007fff, 32},
749 {NoFlag, 0xabababab, 0x33333333, 0},
750 {NoFlag, 0xabababab, 0x33333333, 1},
751 {NoFlag, 0xabababab, 0x33333333, 2},
752 {NoFlag, 0xabababab, 0x33333333, 3},
753 {NoFlag, 0xabababab, 0x33333333, 4},
754 {NoFlag, 0xabababab, 0x33333333, 5},
755 {NoFlag, 0xabababab, 0x33333333, 6},
756 {NoFlag, 0xabababab, 0x33333333, 7},
757 {NoFlag, 0xabababab, 0x33333333, 8},
758 {NoFlag, 0xabababab, 0x33333333, 9},
759 {NoFlag, 0xabababab, 0x33333333, 10},
760 {NoFlag, 0xabababab, 0x33333333, 11},
761 {NoFlag, 0xabababab, 0x33333333, 12},
762 {NoFlag, 0xabababab, 0x33333333, 13},
763 {NoFlag, 0xabababab, 0x33333333, 14},
764 {NoFlag, 0xabababab, 0x33333333, 15},
765 {NoFlag, 0xabababab, 0x33333333, 16},
766 {NoFlag, 0xabababab, 0x33333333, 17},
767 {NoFlag, 0xabababab, 0x33333333, 18},
768 {NoFlag, 0xabababab, 0x33333333, 19},
769 {NoFlag, 0xabababab, 0x33333333, 20},
770 {NoFlag, 0xabababab, 0x33333333, 21},
771 {NoFlag, 0xabababab, 0x33333333, 22},
772 {NoFlag, 0xabababab, 0x33333333, 23},
773 {NoFlag, 0xabababab, 0x33333333, 24},
774 {NoFlag, 0xabababab, 0x33333333, 25},
775 {NoFlag, 0xabababab, 0x33333333, 26},
776 {NoFlag, 0xabababab, 0x33333333, 27},
777 {NoFlag, 0xabababab, 0x33333333, 28},
778 {NoFlag, 0xabababab, 0x33333333, 29},
779 {NoFlag, 0xabababab, 0x33333333, 30},
780 {NoFlag, 0xabababab, 0x33333333, 31},
781 {NoFlag, 0xabababab, 0x33333333, 32},
782 {NoFlag, 0xabababab, 0x55555555, 0},
783 {NoFlag, 0xabababab, 0x55555555, 1},
784 {NoFlag, 0xabababab, 0x55555555, 2},
785 {NoFlag, 0xabababab, 0x55555555, 3},
786 {NoFlag, 0xabababab, 0x55555555, 4},
787 {NoFlag, 0xabababab, 0x55555555, 5},
788 {NoFlag, 0xabababab, 0x55555555, 6},
789 {NoFlag, 0xabababab, 0x55555555, 7},
790 {NoFlag, 0xabababab, 0x55555555, 8},
791 {NoFlag, 0xabababab, 0x55555555, 9},
792 {NoFlag, 0xabababab, 0x55555555, 10},
793 {NoFlag, 0xabababab, 0x55555555, 11},
794 {NoFlag, 0xabababab, 0x55555555, 12},
795 {NoFlag, 0xabababab, 0x55555555, 13},
796 {NoFlag, 0xabababab, 0x55555555, 14},
797 {NoFlag, 0xabababab, 0x55555555, 15},
798 {NoFlag, 0xabababab, 0x55555555, 16},
799 {NoFlag, 0xabababab, 0x55555555, 17},
800 {NoFlag, 0xabababab, 0x55555555, 18},
801 {NoFlag, 0xabababab, 0x55555555, 19},
802 {NoFlag, 0xabababab, 0x55555555, 20},
803 {NoFlag, 0xabababab, 0x55555555, 21},
804 {NoFlag, 0xabababab, 0x55555555, 22},
805 {NoFlag, 0xabababab, 0x55555555, 23},
806 {NoFlag, 0xabababab, 0x55555555, 24},
807 {NoFlag, 0xabababab, 0x55555555, 25},
808 {NoFlag, 0xabababab, 0x55555555, 26},
809 {NoFlag, 0xabababab, 0x55555555, 27},
810 {NoFlag, 0xabababab, 0x55555555, 28},
811 {NoFlag, 0xabababab, 0x55555555, 29},
812 {NoFlag, 0xabababab, 0x55555555, 30},
813 {NoFlag, 0xabababab, 0x55555555, 31},
814 {NoFlag, 0xabababab, 0x55555555, 32},
815 {NoFlag, 0xabababab, 0x7ffffffd, 0},
816 {NoFlag, 0xabababab, 0x7ffffffd, 1},
817 {NoFlag, 0xabababab, 0x7ffffffd, 2},
818 {NoFlag, 0xabababab, 0x7ffffffd, 3},
819 {NoFlag, 0xabababab, 0x7ffffffd, 4},
820 {NoFlag, 0xabababab, 0x7ffffffd, 5},
821 {NoFlag, 0xabababab, 0x7ffffffd, 6},
822 {NoFlag, 0xabababab, 0x7ffffffd, 7},
823 {NoFlag, 0xabababab, 0x7ffffffd, 8},
824 {NoFlag, 0xabababab, 0x7ffffffd, 9},
825 {NoFlag, 0xabababab, 0x7ffffffd, 10},
826 {NoFlag, 0xabababab, 0x7ffffffd, 11},
827 {NoFlag, 0xabababab, 0x7ffffffd, 12},
828 {NoFlag, 0xabababab, 0x7ffffffd, 13},
829 {NoFlag, 0xabababab, 0x7ffffffd, 14},
830 {NoFlag, 0xabababab, 0x7ffffffd, 15},
831 {NoFlag, 0xabababab, 0x7ffffffd, 16},
832 {NoFlag, 0xabababab, 0x7ffffffd, 17},
833 {NoFlag, 0xabababab, 0x7ffffffd, 18},
834 {NoFlag, 0xabababab, 0x7ffffffd, 19},
835 {NoFlag, 0xabababab, 0x7ffffffd, 20},
836 {NoFlag, 0xabababab, 0x7ffffffd, 21},
837 {NoFlag, 0xabababab, 0x7ffffffd, 22},
838 {NoFlag, 0xabababab, 0x7ffffffd, 23},
839 {NoFlag, 0xabababab, 0x7ffffffd, 24},
840 {NoFlag, 0xabababab, 0x7ffffffd, 25},
841 {NoFlag, 0xabababab, 0x7ffffffd, 26},
842 {NoFlag, 0xabababab, 0x7ffffffd, 27},
843 {NoFlag, 0xabababab, 0x7ffffffd, 28},
844 {NoFlag, 0xabababab, 0x7ffffffd, 29},
845 {NoFlag, 0xabababab, 0x7ffffffd, 30},
846 {NoFlag, 0xabababab, 0x7ffffffd, 31},
847 {NoFlag, 0xabababab, 0x7ffffffd, 32},
848 {NoFlag, 0xabababab, 0x7ffffffe, 0},
849 {NoFlag, 0xabababab, 0x7ffffffe, 1},
850 {NoFlag, 0xabababab, 0x7ffffffe, 2},
851 {NoFlag, 0xabababab, 0x7ffffffe, 3},
852 {NoFlag, 0xabababab, 0x7ffffffe, 4},
853 {NoFlag, 0xabababab, 0x7ffffffe, 5},
854 {NoFlag, 0xabababab, 0x7ffffffe, 6},
855 {NoFlag, 0xabababab, 0x7ffffffe, 7},
856 {NoFlag, 0xabababab, 0x7ffffffe, 8},
857 {NoFlag, 0xabababab, 0x7ffffffe, 9},
858 {NoFlag, 0xabababab, 0x7ffffffe, 10},
859 {NoFlag, 0xabababab, 0x7ffffffe, 11},
860 {NoFlag, 0xabababab, 0x7ffffffe, 12},
861 {NoFlag, 0xabababab, 0x7ffffffe, 13},
862 {NoFlag, 0xabababab, 0x7ffffffe, 14},
863 {NoFlag, 0xabababab, 0x7ffffffe, 15},
864 {NoFlag, 0xabababab, 0x7ffffffe, 16},
865 {NoFlag, 0xabababab, 0x7ffffffe, 17},
866 {NoFlag, 0xabababab, 0x7ffffffe, 18},
867 {NoFlag, 0xabababab, 0x7ffffffe, 19},
868 {NoFlag, 0xabababab, 0x7ffffffe, 20},
869 {NoFlag, 0xabababab, 0x7ffffffe, 21},
870 {NoFlag, 0xabababab, 0x7ffffffe, 22},
871 {NoFlag, 0xabababab, 0x7ffffffe, 23},
872 {NoFlag, 0xabababab, 0x7ffffffe, 24},
873 {NoFlag, 0xabababab, 0x7ffffffe, 25},
874 {NoFlag, 0xabababab, 0x7ffffffe, 26},
875 {NoFlag, 0xabababab, 0x7ffffffe, 27},
876 {NoFlag, 0xabababab, 0x7ffffffe, 28},
877 {NoFlag, 0xabababab, 0x7ffffffe, 29},
878 {NoFlag, 0xabababab, 0x7ffffffe, 30},
879 {NoFlag, 0xabababab, 0x7ffffffe, 31},
880 {NoFlag, 0xabababab, 0x7ffffffe, 32},
881 {NoFlag, 0xabababab, 0x7fffffff, 0},
882 {NoFlag, 0xabababab, 0x7fffffff, 1},
883 {NoFlag, 0xabababab, 0x7fffffff, 2},
884 {NoFlag, 0xabababab, 0x7fffffff, 3},
885 {NoFlag, 0xabababab, 0x7fffffff, 4},
886 {NoFlag, 0xabababab, 0x7fffffff, 5},
887 {NoFlag, 0xabababab, 0x7fffffff, 6},
888 {NoFlag, 0xabababab, 0x7fffffff, 7},
889 {NoFlag, 0xabababab, 0x7fffffff, 8},
890 {NoFlag, 0xabababab, 0x7fffffff, 9},
891 {NoFlag, 0xabababab, 0x7fffffff, 10},
892 {NoFlag, 0xabababab, 0x7fffffff, 11},
893 {NoFlag, 0xabababab, 0x7fffffff, 12},
894 {NoFlag, 0xabababab, 0x7fffffff, 13},
895 {NoFlag, 0xabababab, 0x7fffffff, 14},
896 {NoFlag, 0xabababab, 0x7fffffff, 15},
897 {NoFlag, 0xabababab, 0x7fffffff, 16},
898 {NoFlag, 0xabababab, 0x7fffffff, 17},
899 {NoFlag, 0xabababab, 0x7fffffff, 18},
900 {NoFlag, 0xabababab, 0x7fffffff, 19},
901 {NoFlag, 0xabababab, 0x7fffffff, 20},
902 {NoFlag, 0xabababab, 0x7fffffff, 21},
903 {NoFlag, 0xabababab, 0x7fffffff, 22},
904 {NoFlag, 0xabababab, 0x7fffffff, 23},
905 {NoFlag, 0xabababab, 0x7fffffff, 24},
906 {NoFlag, 0xabababab, 0x7fffffff, 25},
907 {NoFlag, 0xabababab, 0x7fffffff, 26},
908 {NoFlag, 0xabababab, 0x7fffffff, 27},
909 {NoFlag, 0xabababab, 0x7fffffff, 28},
910 {NoFlag, 0xabababab, 0x7fffffff, 29},
911 {NoFlag, 0xabababab, 0x7fffffff, 30},
912 {NoFlag, 0xabababab, 0x7fffffff, 31},
913 {NoFlag, 0xabababab, 0x7fffffff, 32},
914 {NoFlag, 0xabababab, 0x80000000, 0},
915 {NoFlag, 0xabababab, 0x80000000, 1},
916 {NoFlag, 0xabababab, 0x80000000, 2},
917 {NoFlag, 0xabababab, 0x80000000, 3},
918 {NoFlag, 0xabababab, 0x80000000, 4},
919 {NoFlag, 0xabababab, 0x80000000, 5},
920 {NoFlag, 0xabababab, 0x80000000, 6},
921 {NoFlag, 0xabababab, 0x80000000, 7},
922 {NoFlag, 0xabababab, 0x80000000, 8},
923 {NoFlag, 0xabababab, 0x80000000, 9},
924 {NoFlag, 0xabababab, 0x80000000, 10},
925 {NoFlag, 0xabababab, 0x80000000, 11},
926 {NoFlag, 0xabababab, 0x80000000, 12},
927 {NoFlag, 0xabababab, 0x80000000, 13},
928 {NoFlag, 0xabababab, 0x80000000, 14},
929 {NoFlag, 0xabababab, 0x80000000, 15},
930 {NoFlag, 0xabababab, 0x80000000, 16},
931 {NoFlag, 0xabababab, 0x80000000, 17},
932 {NoFlag, 0xabababab, 0x80000000, 18},
933 {NoFlag, 0xabababab, 0x80000000, 19},
934 {NoFlag, 0xabababab, 0x80000000, 20},
935 {NoFlag, 0xabababab, 0x80000000, 21},
936 {NoFlag, 0xabababab, 0x80000000, 22},
937 {NoFlag, 0xabababab, 0x80000000, 23},
938 {NoFlag, 0xabababab, 0x80000000, 24},
939 {NoFlag, 0xabababab, 0x80000000, 25},
940 {NoFlag, 0xabababab, 0x80000000, 26},
941 {NoFlag, 0xabababab, 0x80000000, 27},
942 {NoFlag, 0xabababab, 0x80000000, 28},
943 {NoFlag, 0xabababab, 0x80000000, 29},
944 {NoFlag, 0xabababab, 0x80000000, 30},
945 {NoFlag, 0xabababab, 0x80000000, 31},
946 {NoFlag, 0xabababab, 0x80000000, 32},
947 {NoFlag, 0xabababab, 0x80000001, 0},
948 {NoFlag, 0xabababab, 0x80000001, 1},
949 {NoFlag, 0xabababab, 0x80000001, 2},
950 {NoFlag, 0xabababab, 0x80000001, 3},
951 {NoFlag, 0xabababab, 0x80000001, 4},
952 {NoFlag, 0xabababab, 0x80000001, 5},
953 {NoFlag, 0xabababab, 0x80000001, 6},
954 {NoFlag, 0xabababab, 0x80000001, 7},
955 {NoFlag, 0xabababab, 0x80000001, 8},
956 {NoFlag, 0xabababab, 0x80000001, 9},
957 {NoFlag, 0xabababab, 0x80000001, 10},
958 {NoFlag, 0xabababab, 0x80000001, 11},
959 {NoFlag, 0xabababab, 0x80000001, 12},
960 {NoFlag, 0xabababab, 0x80000001, 13},
961 {NoFlag, 0xabababab, 0x80000001, 14},
962 {NoFlag, 0xabababab, 0x80000001, 15},
963 {NoFlag, 0xabababab, 0x80000001, 16},
964 {NoFlag, 0xabababab, 0x80000001, 17},
965 {NoFlag, 0xabababab, 0x80000001, 18},
966 {NoFlag, 0xabababab, 0x80000001, 19},
967 {NoFlag, 0xabababab, 0x80000001, 20},
968 {NoFlag, 0xabababab, 0x80000001, 21},
969 {NoFlag, 0xabababab, 0x80000001, 22},
970 {NoFlag, 0xabababab, 0x80000001, 23},
971 {NoFlag, 0xabababab, 0x80000001, 24},
972 {NoFlag, 0xabababab, 0x80000001, 25},
973 {NoFlag, 0xabababab, 0x80000001, 26},
974 {NoFlag, 0xabababab, 0x80000001, 27},
975 {NoFlag, 0xabababab, 0x80000001, 28},
976 {NoFlag, 0xabababab, 0x80000001, 29},
977 {NoFlag, 0xabababab, 0x80000001, 30},
978 {NoFlag, 0xabababab, 0x80000001, 31},
979 {NoFlag, 0xabababab, 0x80000001, 32},
980 {NoFlag, 0xabababab, 0xaaaaaaaa, 0},
981 {NoFlag, 0xabababab, 0xaaaaaaaa, 1},
982 {NoFlag, 0xabababab, 0xaaaaaaaa, 2},
983 {NoFlag, 0xabababab, 0xaaaaaaaa, 3},
984 {NoFlag, 0xabababab, 0xaaaaaaaa, 4},
985 {NoFlag, 0xabababab, 0xaaaaaaaa, 5},
986 {NoFlag, 0xabababab, 0xaaaaaaaa, 6},
987 {NoFlag, 0xabababab, 0xaaaaaaaa, 7},
988 {NoFlag, 0xabababab, 0xaaaaaaaa, 8},
989 {NoFlag, 0xabababab, 0xaaaaaaaa, 9},
990 {NoFlag, 0xabababab, 0xaaaaaaaa, 10},
991 {NoFlag, 0xabababab, 0xaaaaaaaa, 11},
992 {NoFlag, 0xabababab, 0xaaaaaaaa, 12},
993 {NoFlag, 0xabababab, 0xaaaaaaaa, 13},
994 {NoFlag, 0xabababab, 0xaaaaaaaa, 14},
995 {NoFlag, 0xabababab, 0xaaaaaaaa, 15},
996 {NoFlag, 0xabababab, 0xaaaaaaaa, 16},
997 {NoFlag, 0xabababab, 0xaaaaaaaa, 17},
998 {NoFlag, 0xabababab, 0xaaaaaaaa, 18},
999 {NoFlag, 0xabababab, 0xaaaaaaaa, 19},
1000 {NoFlag, 0xabababab, 0xaaaaaaaa, 20},
1001 {NoFlag, 0xabababab, 0xaaaaaaaa, 21},
1002 {NoFlag, 0xabababab, 0xaaaaaaaa, 22},
1003 {NoFlag, 0xabababab, 0xaaaaaaaa, 23},
1004 {NoFlag, 0xabababab, 0xaaaaaaaa, 24},
1005 {NoFlag, 0xabababab, 0xaaaaaaaa, 25},
1006 {NoFlag, 0xabababab, 0xaaaaaaaa, 26},
1007 {NoFlag, 0xabababab, 0xaaaaaaaa, 27},
1008 {NoFlag, 0xabababab, 0xaaaaaaaa, 28},
1009 {NoFlag, 0xabababab, 0xaaaaaaaa, 29},
1010 {NoFlag, 0xabababab, 0xaaaaaaaa, 30},
1011 {NoFlag, 0xabababab, 0xaaaaaaaa, 31},
1012 {NoFlag, 0xabababab, 0xaaaaaaaa, 32},
1013 {NoFlag, 0xabababab, 0xcccccccc, 0},
1014 {NoFlag, 0xabababab, 0xcccccccc, 1},
1015 {NoFlag, 0xabababab, 0xcccccccc, 2},
1016 {NoFlag, 0xabababab, 0xcccccccc, 3},
1017 {NoFlag, 0xabababab, 0xcccccccc, 4},
1018 {NoFlag, 0xabababab, 0xcccccccc, 5},
1019 {NoFlag, 0xabababab, 0xcccccccc, 6},
1020 {NoFlag, 0xabababab, 0xcccccccc, 7},
1021 {NoFlag, 0xabababab, 0xcccccccc, 8},
1022 {NoFlag, 0xabababab, 0xcccccccc, 9},
1023 {NoFlag, 0xabababab, 0xcccccccc, 10},
1024 {NoFlag, 0xabababab, 0xcccccccc, 11},
1025 {NoFlag, 0xabababab, 0xcccccccc, 12},
1026 {NoFlag, 0xabababab, 0xcccccccc, 13},
1027 {NoFlag, 0xabababab, 0xcccccccc, 14},
1028 {NoFlag, 0xabababab, 0xcccccccc, 15},
1029 {NoFlag, 0xabababab, 0xcccccccc, 16},
1030 {NoFlag, 0xabababab, 0xcccccccc, 17},
1031 {NoFlag, 0xabababab, 0xcccccccc, 18},
1032 {NoFlag, 0xabababab, 0xcccccccc, 19},
1033 {NoFlag, 0xabababab, 0xcccccccc, 20},
1034 {NoFlag, 0xabababab, 0xcccccccc, 21},
1035 {NoFlag, 0xabababab, 0xcccccccc, 22},
1036 {NoFlag, 0xabababab, 0xcccccccc, 23},
1037 {NoFlag, 0xabababab, 0xcccccccc, 24},
1038 {NoFlag, 0xabababab, 0xcccccccc, 25},
1039 {NoFlag, 0xabababab, 0xcccccccc, 26},
1040 {NoFlag, 0xabababab, 0xcccccccc, 27},
1041 {NoFlag, 0xabababab, 0xcccccccc, 28},
1042 {NoFlag, 0xabababab, 0xcccccccc, 29},
1043 {NoFlag, 0xabababab, 0xcccccccc, 30},
1044 {NoFlag, 0xabababab, 0xcccccccc, 31},
1045 {NoFlag, 0xabababab, 0xcccccccc, 32},
1046 {NoFlag, 0xabababab, 0xffff8000, 0},
1047 {NoFlag, 0xabababab, 0xffff8000, 1},
1048 {NoFlag, 0xabababab, 0xffff8000, 2},
1049 {NoFlag, 0xabababab, 0xffff8000, 3},
1050 {NoFlag, 0xabababab, 0xffff8000, 4},
1051 {NoFlag, 0xabababab, 0xffff8000, 5},
1052 {NoFlag, 0xabababab, 0xffff8000, 6},
1053 {NoFlag, 0xabababab, 0xffff8000, 7},
1054 {NoFlag, 0xabababab, 0xffff8000, 8},
1055 {NoFlag, 0xabababab, 0xffff8000, 9},
1056 {NoFlag, 0xabababab, 0xffff8000, 10},
1057 {NoFlag, 0xabababab, 0xffff8000, 11},
1058 {NoFlag, 0xabababab, 0xffff8000, 12},
1059 {NoFlag, 0xabababab, 0xffff8000, 13},
1060 {NoFlag, 0xabababab, 0xffff8000, 14},
1061 {NoFlag, 0xabababab, 0xffff8000, 15},
1062 {NoFlag, 0xabababab, 0xffff8000, 16},
1063 {NoFlag, 0xabababab, 0xffff8000, 17},
1064 {NoFlag, 0xabababab, 0xffff8000, 18},
1065 {NoFlag, 0xabababab, 0xffff8000, 19},
1066 {NoFlag, 0xabababab, 0xffff8000, 20},
1067 {NoFlag, 0xabababab, 0xffff8000, 21},
1068 {NoFlag, 0xabababab, 0xffff8000, 22},
1069 {NoFlag, 0xabababab, 0xffff8000, 23},
1070 {NoFlag, 0xabababab, 0xffff8000, 24},
1071 {NoFlag, 0xabababab, 0xffff8000, 25},
1072 {NoFlag, 0xabababab, 0xffff8000, 26},
1073 {NoFlag, 0xabababab, 0xffff8000, 27},
1074 {NoFlag, 0xabababab, 0xffff8000, 28},
1075 {NoFlag, 0xabababab, 0xffff8000, 29},
1076 {NoFlag, 0xabababab, 0xffff8000, 30},
1077 {NoFlag, 0xabababab, 0xffff8000, 31},
1078 {NoFlag, 0xabababab, 0xffff8000, 32},
1079 {NoFlag, 0xabababab, 0xffff8001, 0},
1080 {NoFlag, 0xabababab, 0xffff8001, 1},
1081 {NoFlag, 0xabababab, 0xffff8001, 2},
1082 {NoFlag, 0xabababab, 0xffff8001, 3},
1083 {NoFlag, 0xabababab, 0xffff8001, 4},
1084 {NoFlag, 0xabababab, 0xffff8001, 5},
1085 {NoFlag, 0xabababab, 0xffff8001, 6},
1086 {NoFlag, 0xabababab, 0xffff8001, 7},
1087 {NoFlag, 0xabababab, 0xffff8001, 8},
1088 {NoFlag, 0xabababab, 0xffff8001, 9},
1089 {NoFlag, 0xabababab, 0xffff8001, 10},
1090 {NoFlag, 0xabababab, 0xffff8001, 11},
1091 {NoFlag, 0xabababab, 0xffff8001, 12},
1092 {NoFlag, 0xabababab, 0xffff8001, 13},
1093 {NoFlag, 0xabababab, 0xffff8001, 14},
1094 {NoFlag, 0xabababab, 0xffff8001, 15},
1095 {NoFlag, 0xabababab, 0xffff8001, 16},
1096 {NoFlag, 0xabababab, 0xffff8001, 17},
1097 {NoFlag, 0xabababab, 0xffff8001, 18},
1098 {NoFlag, 0xabababab, 0xffff8001, 19},
1099 {NoFlag, 0xabababab, 0xffff8001, 20},
1100 {NoFlag, 0xabababab, 0xffff8001, 21},
1101 {NoFlag, 0xabababab, 0xffff8001, 22},
1102 {NoFlag, 0xabababab, 0xffff8001, 23},
1103 {NoFlag, 0xabababab, 0xffff8001, 24},
1104 {NoFlag, 0xabababab, 0xffff8001, 25},
1105 {NoFlag, 0xabababab, 0xffff8001, 26},
1106 {NoFlag, 0xabababab, 0xffff8001, 27},
1107 {NoFlag, 0xabababab, 0xffff8001, 28},
1108 {NoFlag, 0xabababab, 0xffff8001, 29},
1109 {NoFlag, 0xabababab, 0xffff8001, 30},
1110 {NoFlag, 0xabababab, 0xffff8001, 31},
1111 {NoFlag, 0xabababab, 0xffff8001, 32},
1112 {NoFlag, 0xabababab, 0xffff8002, 0},
1113 {NoFlag, 0xabababab, 0xffff8002, 1},
1114 {NoFlag, 0xabababab, 0xffff8002, 2},
1115 {NoFlag, 0xabababab, 0xffff8002, 3},
1116 {NoFlag, 0xabababab, 0xffff8002, 4},
1117 {NoFlag, 0xabababab, 0xffff8002, 5},
1118 {NoFlag, 0xabababab, 0xffff8002, 6},
1119 {NoFlag, 0xabababab, 0xffff8002, 7},
1120 {NoFlag, 0xabababab, 0xffff8002, 8},
1121 {NoFlag, 0xabababab, 0xffff8002, 9},
1122 {NoFlag, 0xabababab, 0xffff8002, 10},
1123 {NoFlag, 0xabababab, 0xffff8002, 11},
1124 {NoFlag, 0xabababab, 0xffff8002, 12},
1125 {NoFlag, 0xabababab, 0xffff8002, 13},
1126 {NoFlag, 0xabababab, 0xffff8002, 14},
1127 {NoFlag, 0xabababab, 0xffff8002, 15},
1128 {NoFlag, 0xabababab, 0xffff8002, 16},
1129 {NoFlag, 0xabababab, 0xffff8002, 17},
1130 {NoFlag, 0xabababab, 0xffff8002, 18},
1131 {NoFlag, 0xabababab, 0xffff8002, 19},
1132 {NoFlag, 0xabababab, 0xffff8002, 20},
1133 {NoFlag, 0xabababab, 0xffff8002, 21},
1134 {NoFlag, 0xabababab, 0xffff8002, 22},
1135 {NoFlag, 0xabababab, 0xffff8002, 23},
1136 {NoFlag, 0xabababab, 0xffff8002, 24},
1137 {NoFlag, 0xabababab, 0xffff8002, 25},
1138 {NoFlag, 0xabababab, 0xffff8002, 26},
1139 {NoFlag, 0xabababab, 0xffff8002, 27},
1140 {NoFlag, 0xabababab, 0xffff8002, 28},
1141 {NoFlag, 0xabababab, 0xffff8002, 29},
1142 {NoFlag, 0xabababab, 0xffff8002, 30},
1143 {NoFlag, 0xabababab, 0xffff8002, 31},
1144 {NoFlag, 0xabababab, 0xffff8002, 32},
1145 {NoFlag, 0xabababab, 0xffff8003, 0},
1146 {NoFlag, 0xabababab, 0xffff8003, 1},
1147 {NoFlag, 0xabababab, 0xffff8003, 2},
1148 {NoFlag, 0xabababab, 0xffff8003, 3},
1149 {NoFlag, 0xabababab, 0xffff8003, 4},
1150 {NoFlag, 0xabababab, 0xffff8003, 5},
1151 {NoFlag, 0xabababab, 0xffff8003, 6},
1152 {NoFlag, 0xabababab, 0xffff8003, 7},
1153 {NoFlag, 0xabababab, 0xffff8003, 8},
1154 {NoFlag, 0xabababab, 0xffff8003, 9},
1155 {NoFlag, 0xabababab, 0xffff8003, 10},
1156 {NoFlag, 0xabababab, 0xffff8003, 11},
1157 {NoFlag, 0xabababab, 0xffff8003, 12},
1158 {NoFlag, 0xabababab, 0xffff8003, 13},
1159 {NoFlag, 0xabababab, 0xffff8003, 14},
1160 {NoFlag, 0xabababab, 0xffff8003, 15},
1161 {NoFlag, 0xabababab, 0xffff8003, 16},
1162 {NoFlag, 0xabababab, 0xffff8003, 17},
1163 {NoFlag, 0xabababab, 0xffff8003, 18},
1164 {NoFlag, 0xabababab, 0xffff8003, 19},
1165 {NoFlag, 0xabababab, 0xffff8003, 20},
1166 {NoFlag, 0xabababab, 0xffff8003, 21},
1167 {NoFlag, 0xabababab, 0xffff8003, 22},
1168 {NoFlag, 0xabababab, 0xffff8003, 23},
1169 {NoFlag, 0xabababab, 0xffff8003, 24},
1170 {NoFlag, 0xabababab, 0xffff8003, 25},
1171 {NoFlag, 0xabababab, 0xffff8003, 26},
1172 {NoFlag, 0xabababab, 0xffff8003, 27},
1173 {NoFlag, 0xabababab, 0xffff8003, 28},
1174 {NoFlag, 0xabababab, 0xffff8003, 29},
1175 {NoFlag, 0xabababab, 0xffff8003, 30},
1176 {NoFlag, 0xabababab, 0xffff8003, 31},
1177 {NoFlag, 0xabababab, 0xffff8003, 32},
1178 {NoFlag, 0xabababab, 0xffffff80, 0},
1179 {NoFlag, 0xabababab, 0xffffff80, 1},
1180 {NoFlag, 0xabababab, 0xffffff80, 2},
1181 {NoFlag, 0xabababab, 0xffffff80, 3},
1182 {NoFlag, 0xabababab, 0xffffff80, 4},
1183 {NoFlag, 0xabababab, 0xffffff80, 5},
1184 {NoFlag, 0xabababab, 0xffffff80, 6},
1185 {NoFlag, 0xabababab, 0xffffff80, 7},
1186 {NoFlag, 0xabababab, 0xffffff80, 8},
1187 {NoFlag, 0xabababab, 0xffffff80, 9},
1188 {NoFlag, 0xabababab, 0xffffff80, 10},
1189 {NoFlag, 0xabababab, 0xffffff80, 11},
1190 {NoFlag, 0xabababab, 0xffffff80, 12},
1191 {NoFlag, 0xabababab, 0xffffff80, 13},
1192 {NoFlag, 0xabababab, 0xffffff80, 14},
1193 {NoFlag, 0xabababab, 0xffffff80, 15},
1194 {NoFlag, 0xabababab, 0xffffff80, 16},
1195 {NoFlag, 0xabababab, 0xffffff80, 17},
1196 {NoFlag, 0xabababab, 0xffffff80, 18},
1197 {NoFlag, 0xabababab, 0xffffff80, 19},
1198 {NoFlag, 0xabababab, 0xffffff80, 20},
1199 {NoFlag, 0xabababab, 0xffffff80, 21},
1200 {NoFlag, 0xabababab, 0xffffff80, 22},
1201 {NoFlag, 0xabababab, 0xffffff80, 23},
1202 {NoFlag, 0xabababab, 0xffffff80, 24},
1203 {NoFlag, 0xabababab, 0xffffff80, 25},
1204 {NoFlag, 0xabababab, 0xffffff80, 26},
1205 {NoFlag, 0xabababab, 0xffffff80, 27},
1206 {NoFlag, 0xabababab, 0xffffff80, 28},
1207 {NoFlag, 0xabababab, 0xffffff80, 29},
1208 {NoFlag, 0xabababab, 0xffffff80, 30},
1209 {NoFlag, 0xabababab, 0xffffff80, 31},
1210 {NoFlag, 0xabababab, 0xffffff80, 32},
1211 {NoFlag, 0xabababab, 0xffffff81, 0},
1212 {NoFlag, 0xabababab, 0xffffff81, 1},
1213 {NoFlag, 0xabababab, 0xffffff81, 2},
1214 {NoFlag, 0xabababab, 0xffffff81, 3},
1215 {NoFlag, 0xabababab, 0xffffff81, 4},
1216 {NoFlag, 0xabababab, 0xffffff81, 5},
1217 {NoFlag, 0xabababab, 0xffffff81, 6},
1218 {NoFlag, 0xabababab, 0xffffff81, 7},
1219 {NoFlag, 0xabababab, 0xffffff81, 8},
1220 {NoFlag, 0xabababab, 0xffffff81, 9},
1221 {NoFlag, 0xabababab, 0xffffff81, 10},
1222 {NoFlag, 0xabababab, 0xffffff81, 11},
1223 {NoFlag, 0xabababab, 0xffffff81, 12},
1224 {NoFlag, 0xabababab, 0xffffff81, 13},
1225 {NoFlag, 0xabababab, 0xffffff81, 14},
1226 {NoFlag, 0xabababab, 0xffffff81, 15},
1227 {NoFlag, 0xabababab, 0xffffff81, 16},
1228 {NoFlag, 0xabababab, 0xffffff81, 17},
1229 {NoFlag, 0xabababab, 0xffffff81, 18},
1230 {NoFlag, 0xabababab, 0xffffff81, 19},
1231 {NoFlag, 0xabababab, 0xffffff81, 20},
1232 {NoFlag, 0xabababab, 0xffffff81, 21},
1233 {NoFlag, 0xabababab, 0xffffff81, 22},
1234 {NoFlag, 0xabababab, 0xffffff81, 23},
1235 {NoFlag, 0xabababab, 0xffffff81, 24},
1236 {NoFlag, 0xabababab, 0xffffff81, 25},
1237 {NoFlag, 0xabababab, 0xffffff81, 26},
1238 {NoFlag, 0xabababab, 0xffffff81, 27},
1239 {NoFlag, 0xabababab, 0xffffff81, 28},
1240 {NoFlag, 0xabababab, 0xffffff81, 29},
1241 {NoFlag, 0xabababab, 0xffffff81, 30},
1242 {NoFlag, 0xabababab, 0xffffff81, 31},
1243 {NoFlag, 0xabababab, 0xffffff81, 32},
1244 {NoFlag, 0xabababab, 0xffffff82, 0},
1245 {NoFlag, 0xabababab, 0xffffff82, 1},
1246 {NoFlag, 0xabababab, 0xffffff82, 2},
1247 {NoFlag, 0xabababab, 0xffffff82, 3},
1248 {NoFlag, 0xabababab, 0xffffff82, 4},
1249 {NoFlag, 0xabababab, 0xffffff82, 5},
1250 {NoFlag, 0xabababab, 0xffffff82, 6},
1251 {NoFlag, 0xabababab, 0xffffff82, 7},
1252 {NoFlag, 0xabababab, 0xffffff82, 8},
1253 {NoFlag, 0xabababab, 0xffffff82, 9},
1254 {NoFlag, 0xabababab, 0xffffff82, 10},
1255 {NoFlag, 0xabababab, 0xffffff82, 11},
1256 {NoFlag, 0xabababab, 0xffffff82, 12},
1257 {NoFlag, 0xabababab, 0xffffff82, 13},
1258 {NoFlag, 0xabababab, 0xffffff82, 14},
1259 {NoFlag, 0xabababab, 0xffffff82, 15},
1260 {NoFlag, 0xabababab, 0xffffff82, 16},
1261 {NoFlag, 0xabababab, 0xffffff82, 17},
1262 {NoFlag, 0xabababab, 0xffffff82, 18},
1263 {NoFlag, 0xabababab, 0xffffff82, 19},
1264 {NoFlag, 0xabababab, 0xffffff82, 20},
1265 {NoFlag, 0xabababab, 0xffffff82, 21},
1266 {NoFlag, 0xabababab, 0xffffff82, 22},
1267 {NoFlag, 0xabababab, 0xffffff82, 23},
1268 {NoFlag, 0xabababab, 0xffffff82, 24},
1269 {NoFlag, 0xabababab, 0xffffff82, 25},
1270 {NoFlag, 0xabababab, 0xffffff82, 26},
1271 {NoFlag, 0xabababab, 0xffffff82, 27},
1272 {NoFlag, 0xabababab, 0xffffff82, 28},
1273 {NoFlag, 0xabababab, 0xffffff82, 29},
1274 {NoFlag, 0xabababab, 0xffffff82, 30},
1275 {NoFlag, 0xabababab, 0xffffff82, 31},
1276 {NoFlag, 0xabababab, 0xffffff82, 32},
1277 {NoFlag, 0xabababab, 0xffffff83, 0},
1278 {NoFlag, 0xabababab, 0xffffff83, 1},
1279 {NoFlag, 0xabababab, 0xffffff83, 2},
1280 {NoFlag, 0xabababab, 0xffffff83, 3},
1281 {NoFlag, 0xabababab, 0xffffff83, 4},
1282 {NoFlag, 0xabababab, 0xffffff83, 5},
1283 {NoFlag, 0xabababab, 0xffffff83, 6},
1284 {NoFlag, 0xabababab, 0xffffff83, 7},
1285 {NoFlag, 0xabababab, 0xffffff83, 8},
1286 {NoFlag, 0xabababab, 0xffffff83, 9},
1287 {NoFlag, 0xabababab, 0xffffff83, 10},
1288 {NoFlag, 0xabababab, 0xffffff83, 11},
1289 {NoFlag, 0xabababab, 0xffffff83, 12},
1290 {NoFlag, 0xabababab, 0xffffff83, 13},
1291 {NoFlag, 0xabababab, 0xffffff83, 14},
1292 {NoFlag, 0xabababab, 0xffffff83, 15},
1293 {NoFlag, 0xabababab, 0xffffff83, 16},
1294 {NoFlag, 0xabababab, 0xffffff83, 17},
1295 {NoFlag, 0xabababab, 0xffffff83, 18},
1296 {NoFlag, 0xabababab, 0xffffff83, 19},
1297 {NoFlag, 0xabababab, 0xffffff83, 20},
1298 {NoFlag, 0xabababab, 0xffffff83, 21},
1299 {NoFlag, 0xabababab, 0xffffff83, 22},
1300 {NoFlag, 0xabababab, 0xffffff83, 23},
1301 {NoFlag, 0xabababab, 0xffffff83, 24},
1302 {NoFlag, 0xabababab, 0xffffff83, 25},
1303 {NoFlag, 0xabababab, 0xffffff83, 26},
1304 {NoFlag, 0xabababab, 0xffffff83, 27},
1305 {NoFlag, 0xabababab, 0xffffff83, 28},
1306 {NoFlag, 0xabababab, 0xffffff83, 29},
1307 {NoFlag, 0xabababab, 0xffffff83, 30},
1308 {NoFlag, 0xabababab, 0xffffff83, 31},
1309 {NoFlag, 0xabababab, 0xffffff83, 32},
1310 {NoFlag, 0xabababab, 0xffffffe0, 0},
1311 {NoFlag, 0xabababab, 0xffffffe0, 1},
1312 {NoFlag, 0xabababab, 0xffffffe0, 2},
1313 {NoFlag, 0xabababab, 0xffffffe0, 3},
1314 {NoFlag, 0xabababab, 0xffffffe0, 4},
1315 {NoFlag, 0xabababab, 0xffffffe0, 5},
1316 {NoFlag, 0xabababab, 0xffffffe0, 6},
1317 {NoFlag, 0xabababab, 0xffffffe0, 7},
1318 {NoFlag, 0xabababab, 0xffffffe0, 8},
1319 {NoFlag, 0xabababab, 0xffffffe0, 9},
1320 {NoFlag, 0xabababab, 0xffffffe0, 10},
1321 {NoFlag, 0xabababab, 0xffffffe0, 11},
1322 {NoFlag, 0xabababab, 0xffffffe0, 12},
1323 {NoFlag, 0xabababab, 0xffffffe0, 13},
1324 {NoFlag, 0xabababab, 0xffffffe0, 14},
1325 {NoFlag, 0xabababab, 0xffffffe0, 15},
1326 {NoFlag, 0xabababab, 0xffffffe0, 16},
1327 {NoFlag, 0xabababab, 0xffffffe0, 17},
1328 {NoFlag, 0xabababab, 0xffffffe0, 18},
1329 {NoFlag, 0xabababab, 0xffffffe0, 19},
1330 {NoFlag, 0xabababab, 0xffffffe0, 20},
1331 {NoFlag, 0xabababab, 0xffffffe0, 21},
1332 {NoFlag, 0xabababab, 0xffffffe0, 22},
1333 {NoFlag, 0xabababab, 0xffffffe0, 23},
1334 {NoFlag, 0xabababab, 0xffffffe0, 24},
1335 {NoFlag, 0xabababab, 0xffffffe0, 25},
1336 {NoFlag, 0xabababab, 0xffffffe0, 26},
1337 {NoFlag, 0xabababab, 0xffffffe0, 27},
1338 {NoFlag, 0xabababab, 0xffffffe0, 28},
1339 {NoFlag, 0xabababab, 0xffffffe0, 29},
1340 {NoFlag, 0xabababab, 0xffffffe0, 30},
1341 {NoFlag, 0xabababab, 0xffffffe0, 31},
1342 {NoFlag, 0xabababab, 0xffffffe0, 32},
1343 {NoFlag, 0xabababab, 0xfffffffd, 0},
1344 {NoFlag, 0xabababab, 0xfffffffd, 1},
1345 {NoFlag, 0xabababab, 0xfffffffd, 2},
1346 {NoFlag, 0xabababab, 0xfffffffd, 3},
1347 {NoFlag, 0xabababab, 0xfffffffd, 4},
1348 {NoFlag, 0xabababab, 0xfffffffd, 5},
1349 {NoFlag, 0xabababab, 0xfffffffd, 6},
1350 {NoFlag, 0xabababab, 0xfffffffd, 7},
1351 {NoFlag, 0xabababab, 0xfffffffd, 8},
1352 {NoFlag, 0xabababab, 0xfffffffd, 9},
1353 {NoFlag, 0xabababab, 0xfffffffd, 10},
1354 {NoFlag, 0xabababab, 0xfffffffd, 11},
1355 {NoFlag, 0xabababab, 0xfffffffd, 12},
1356 {NoFlag, 0xabababab, 0xfffffffd, 13},
1357 {NoFlag, 0xabababab, 0xfffffffd, 14},
1358 {NoFlag, 0xabababab, 0xfffffffd, 15},
1359 {NoFlag, 0xabababab, 0xfffffffd, 16},
1360 {NoFlag, 0xabababab, 0xfffffffd, 17},
1361 {NoFlag, 0xabababab, 0xfffffffd, 18},
1362 {NoFlag, 0xabababab, 0xfffffffd, 19},
1363 {NoFlag, 0xabababab, 0xfffffffd, 20},
1364 {NoFlag, 0xabababab, 0xfffffffd, 21},
1365 {NoFlag, 0xabababab, 0xfffffffd, 22},
1366 {NoFlag, 0xabababab, 0xfffffffd, 23},
1367 {NoFlag, 0xabababab, 0xfffffffd, 24},
1368 {NoFlag, 0xabababab, 0xfffffffd, 25},
1369 {NoFlag, 0xabababab, 0xfffffffd, 26},
1370 {NoFlag, 0xabababab, 0xfffffffd, 27},
1371 {NoFlag, 0xabababab, 0xfffffffd, 28},
1372 {NoFlag, 0xabababab, 0xfffffffd, 29},
1373 {NoFlag, 0xabababab, 0xfffffffd, 30},
1374 {NoFlag, 0xabababab, 0xfffffffd, 31},
1375 {NoFlag, 0xabababab, 0xfffffffd, 32},
1376 {NoFlag, 0xabababab, 0xfffffffe, 0},
1377 {NoFlag, 0xabababab, 0xfffffffe, 1},
1378 {NoFlag, 0xabababab, 0xfffffffe, 2},
1379 {NoFlag, 0xabababab, 0xfffffffe, 3},
1380 {NoFlag, 0xabababab, 0xfffffffe, 4},
1381 {NoFlag, 0xabababab, 0xfffffffe, 5},
1382 {NoFlag, 0xabababab, 0xfffffffe, 6},
1383 {NoFlag, 0xabababab, 0xfffffffe, 7},
1384 {NoFlag, 0xabababab, 0xfffffffe, 8},
1385 {NoFlag, 0xabababab, 0xfffffffe, 9},
1386 {NoFlag, 0xabababab, 0xfffffffe, 10},
1387 {NoFlag, 0xabababab, 0xfffffffe, 11},
1388 {NoFlag, 0xabababab, 0xfffffffe, 12},
1389 {NoFlag, 0xabababab, 0xfffffffe, 13},
1390 {NoFlag, 0xabababab, 0xfffffffe, 14},
1391 {NoFlag, 0xabababab, 0xfffffffe, 15},
1392 {NoFlag, 0xabababab, 0xfffffffe, 16},
1393 {NoFlag, 0xabababab, 0xfffffffe, 17},
1394 {NoFlag, 0xabababab, 0xfffffffe, 18},
1395 {NoFlag, 0xabababab, 0xfffffffe, 19},
1396 {NoFlag, 0xabababab, 0xfffffffe, 20},
1397 {NoFlag, 0xabababab, 0xfffffffe, 21},
1398 {NoFlag, 0xabababab, 0xfffffffe, 22},
1399 {NoFlag, 0xabababab, 0xfffffffe, 23},
1400 {NoFlag, 0xabababab, 0xfffffffe, 24},
1401 {NoFlag, 0xabababab, 0xfffffffe, 25},
1402 {NoFlag, 0xabababab, 0xfffffffe, 26},
1403 {NoFlag, 0xabababab, 0xfffffffe, 27},
1404 {NoFlag, 0xabababab, 0xfffffffe, 28},
1405 {NoFlag, 0xabababab, 0xfffffffe, 29},
1406 {NoFlag, 0xabababab, 0xfffffffe, 30},
1407 {NoFlag, 0xabababab, 0xfffffffe, 31},
1408 {NoFlag, 0xabababab, 0xfffffffe, 32},
1409 {NoFlag, 0xabababab, 0xffffffff, 0},
1410 {NoFlag, 0xabababab, 0xffffffff, 1},
1411 {NoFlag, 0xabababab, 0xffffffff, 2},
1412 {NoFlag, 0xabababab, 0xffffffff, 3},
1413 {NoFlag, 0xabababab, 0xffffffff, 4},
1414 {NoFlag, 0xabababab, 0xffffffff, 5},
1415 {NoFlag, 0xabababab, 0xffffffff, 6},
1416 {NoFlag, 0xabababab, 0xffffffff, 7},
1417 {NoFlag, 0xabababab, 0xffffffff, 8},
1418 {NoFlag, 0xabababab, 0xffffffff, 9},
1419 {NoFlag, 0xabababab, 0xffffffff, 10},
1420 {NoFlag, 0xabababab, 0xffffffff, 11},
1421 {NoFlag, 0xabababab, 0xffffffff, 12},
1422 {NoFlag, 0xabababab, 0xffffffff, 13},
1423 {NoFlag, 0xabababab, 0xffffffff, 14},
1424 {NoFlag, 0xabababab, 0xffffffff, 15},
1425 {NoFlag, 0xabababab, 0xffffffff, 16},
1426 {NoFlag, 0xabababab, 0xffffffff, 17},
1427 {NoFlag, 0xabababab, 0xffffffff, 18},
1428 {NoFlag, 0xabababab, 0xffffffff, 19},
1429 {NoFlag, 0xabababab, 0xffffffff, 20},
1430 {NoFlag, 0xabababab, 0xffffffff, 21},
1431 {NoFlag, 0xabababab, 0xffffffff, 22},
1432 {NoFlag, 0xabababab, 0xffffffff, 23},
1433 {NoFlag, 0xabababab, 0xffffffff, 24},
1434 {NoFlag, 0xabababab, 0xffffffff, 25},
1435 {NoFlag, 0xabababab, 0xffffffff, 26},
1436 {NoFlag, 0xabababab, 0xffffffff, 27},
1437 {NoFlag, 0xabababab, 0xffffffff, 28},
1438 {NoFlag, 0xabababab, 0xffffffff, 29},
1439 {NoFlag, 0xabababab, 0xffffffff, 30},
1440 {NoFlag, 0xabababab, 0xffffffff, 31},
1441 {NoFlag, 0xabababab, 0xffffffff, 32}};
1442
1443
1444 // A loop will be generated for each element of this array.
1445 const TestLoopData kTests[] = {{{eq, r0, r0, LSL, r0},
1446 "eq r0 r0 LSL r0",
1447 "Condition_eq_r0_r0_LSL_r0",
1448 ARRAY_SIZE(kCondition),
1449 kCondition},
1450 {{ne, r0, r0, LSL, r0},
1451 "ne r0 r0 LSL r0",
1452 "Condition_ne_r0_r0_LSL_r0",
1453 ARRAY_SIZE(kCondition),
1454 kCondition},
1455 {{cs, r0, r0, LSL, r0},
1456 "cs r0 r0 LSL r0",
1457 "Condition_cs_r0_r0_LSL_r0",
1458 ARRAY_SIZE(kCondition),
1459 kCondition},
1460 {{cc, r0, r0, LSL, r0},
1461 "cc r0 r0 LSL r0",
1462 "Condition_cc_r0_r0_LSL_r0",
1463 ARRAY_SIZE(kCondition),
1464 kCondition},
1465 {{mi, r0, r0, LSL, r0},
1466 "mi r0 r0 LSL r0",
1467 "Condition_mi_r0_r0_LSL_r0",
1468 ARRAY_SIZE(kCondition),
1469 kCondition},
1470 {{pl, r0, r0, LSL, r0},
1471 "pl r0 r0 LSL r0",
1472 "Condition_pl_r0_r0_LSL_r0",
1473 ARRAY_SIZE(kCondition),
1474 kCondition},
1475 {{vs, r0, r0, LSL, r0},
1476 "vs r0 r0 LSL r0",
1477 "Condition_vs_r0_r0_LSL_r0",
1478 ARRAY_SIZE(kCondition),
1479 kCondition},
1480 {{vc, r0, r0, LSL, r0},
1481 "vc r0 r0 LSL r0",
1482 "Condition_vc_r0_r0_LSL_r0",
1483 ARRAY_SIZE(kCondition),
1484 kCondition},
1485 {{hi, r0, r0, LSL, r0},
1486 "hi r0 r0 LSL r0",
1487 "Condition_hi_r0_r0_LSL_r0",
1488 ARRAY_SIZE(kCondition),
1489 kCondition},
1490 {{ls, r0, r0, LSL, r0},
1491 "ls r0 r0 LSL r0",
1492 "Condition_ls_r0_r0_LSL_r0",
1493 ARRAY_SIZE(kCondition),
1494 kCondition},
1495 {{ge, r0, r0, LSL, r0},
1496 "ge r0 r0 LSL r0",
1497 "Condition_ge_r0_r0_LSL_r0",
1498 ARRAY_SIZE(kCondition),
1499 kCondition},
1500 {{lt, r0, r0, LSL, r0},
1501 "lt r0 r0 LSL r0",
1502 "Condition_lt_r0_r0_LSL_r0",
1503 ARRAY_SIZE(kCondition),
1504 kCondition},
1505 {{gt, r0, r0, LSL, r0},
1506 "gt r0 r0 LSL r0",
1507 "Condition_gt_r0_r0_LSL_r0",
1508 ARRAY_SIZE(kCondition),
1509 kCondition},
1510 {{le, r0, r0, LSL, r0},
1511 "le r0 r0 LSL r0",
1512 "Condition_le_r0_r0_LSL_r0",
1513 ARRAY_SIZE(kCondition),
1514 kCondition},
1515 {{al, r0, r0, LSL, r0},
1516 "al r0 r0 LSL r0",
1517 "Condition_al_r0_r0_LSL_r0",
1518 ARRAY_SIZE(kCondition),
1519 kCondition},
1520 {{al, r0, r0, LSL, r0},
1521 "al r0 r0 LSL r0",
1522 "RdIsRn_al_r0_r0_LSL_r0",
1523 ARRAY_SIZE(kRdIsRn),
1524 kRdIsRn},
1525 {{al, r1, r1, LSL, r0},
1526 "al r1 r1 LSL r0",
1527 "RdIsRn_al_r1_r1_LSL_r0",
1528 ARRAY_SIZE(kRdIsRn),
1529 kRdIsRn},
1530 {{al, r2, r2, LSL, r0},
1531 "al r2 r2 LSL r0",
1532 "RdIsRn_al_r2_r2_LSL_r0",
1533 ARRAY_SIZE(kRdIsRn),
1534 kRdIsRn},
1535 {{al, r3, r3, LSL, r0},
1536 "al r3 r3 LSL r0",
1537 "RdIsRn_al_r3_r3_LSL_r0",
1538 ARRAY_SIZE(kRdIsRn),
1539 kRdIsRn},
1540 {{al, r4, r4, LSL, r0},
1541 "al r4 r4 LSL r0",
1542 "RdIsRn_al_r4_r4_LSL_r0",
1543 ARRAY_SIZE(kRdIsRn),
1544 kRdIsRn},
1545 {{al, r5, r5, LSL, r0},
1546 "al r5 r5 LSL r0",
1547 "RdIsRn_al_r5_r5_LSL_r0",
1548 ARRAY_SIZE(kRdIsRn),
1549 kRdIsRn},
1550 {{al, r6, r6, LSL, r0},
1551 "al r6 r6 LSL r0",
1552 "RdIsRn_al_r6_r6_LSL_r0",
1553 ARRAY_SIZE(kRdIsRn),
1554 kRdIsRn},
1555 {{al, r7, r7, LSL, r0},
1556 "al r7 r7 LSL r0",
1557 "RdIsRn_al_r7_r7_LSL_r0",
1558 ARRAY_SIZE(kRdIsRn),
1559 kRdIsRn},
1560 {{al, r8, r8, LSL, r0},
1561 "al r8 r8 LSL r0",
1562 "RdIsRn_al_r8_r8_LSL_r0",
1563 ARRAY_SIZE(kRdIsRn),
1564 kRdIsRn},
1565 {{al, r9, r9, LSL, r0},
1566 "al r9 r9 LSL r0",
1567 "RdIsRn_al_r9_r9_LSL_r0",
1568 ARRAY_SIZE(kRdIsRn),
1569 kRdIsRn},
1570 {{al, r10, r10, LSL, r0},
1571 "al r10 r10 LSL r0",
1572 "RdIsRn_al_r10_r10_LSL_r0",
1573 ARRAY_SIZE(kRdIsRn),
1574 kRdIsRn},
1575 {{al, r11, r11, LSL, r0},
1576 "al r11 r11 LSL r0",
1577 "RdIsRn_al_r11_r11_LSL_r0",
1578 ARRAY_SIZE(kRdIsRn),
1579 kRdIsRn},
1580 {{al, r12, r12, LSL, r0},
1581 "al r12 r12 LSL r0",
1582 "RdIsRn_al_r12_r12_LSL_r0",
1583 ARRAY_SIZE(kRdIsRn),
1584 kRdIsRn},
1585 {{al, r14, r14, LSL, r0},
1586 "al r14 r14 LSL r0",
1587 "RdIsRn_al_r14_r14_LSL_r0",
1588 ARRAY_SIZE(kRdIsRn),
1589 kRdIsRn},
1590 {{al, r1, r8, LSL, r0},
1591 "al r1 r8 LSL r0",
1592 "RdIsNotRn_al_r1_r8_LSL_r0",
1593 ARRAY_SIZE(kRdIsNotRn),
1594 kRdIsNotRn},
1595 {{al, r7, r4, LSL, r0},
1596 "al r7 r4 LSL r0",
1597 "RdIsNotRn_al_r7_r4_LSL_r0",
1598 ARRAY_SIZE(kRdIsNotRn),
1599 kRdIsNotRn},
1600 {{al, r14, r10, LSL, r0},
1601 "al r14 r10 LSL r0",
1602 "RdIsNotRn_al_r14_r10_LSL_r0",
1603 ARRAY_SIZE(kRdIsNotRn),
1604 kRdIsNotRn},
1605 {{al, r10, r6, LSL, r0},
1606 "al r10 r6 LSL r0",
1607 "RdIsNotRn_al_r10_r6_LSL_r0",
1608 ARRAY_SIZE(kRdIsNotRn),
1609 kRdIsNotRn},
1610 {{al, r6, r5, LSL, r0},
1611 "al r6 r5 LSL r0",
1612 "RdIsNotRn_al_r6_r5_LSL_r0",
1613 ARRAY_SIZE(kRdIsNotRn),
1614 kRdIsNotRn},
1615 {{al, r12, r2, LSL, r0},
1616 "al r12 r2 LSL r0",
1617 "RdIsNotRn_al_r12_r2_LSL_r0",
1618 ARRAY_SIZE(kRdIsNotRn),
1619 kRdIsNotRn},
1620 {{al, r0, r11, LSL, r0},
1621 "al r0 r11 LSL r0",
1622 "RdIsNotRn_al_r0_r11_LSL_r0",
1623 ARRAY_SIZE(kRdIsNotRn),
1624 kRdIsNotRn},
1625 {{al, r10, r14, LSL, r0},
1626 "al r10 r14 LSL r0",
1627 "RdIsNotRn_al_r10_r14_LSL_r0",
1628 ARRAY_SIZE(kRdIsNotRn),
1629 kRdIsNotRn},
1630 {{al, r0, r5, LSL, r0},
1631 "al r0 r5 LSL r0",
1632 "RdIsNotRn_al_r0_r5_LSL_r0",
1633 ARRAY_SIZE(kRdIsNotRn),
1634 kRdIsNotRn},
1635 {{al, r0, r3, LSL, r0},
1636 "al r0 r3 LSL r0",
1637 "RdIsNotRn_al_r0_r3_LSL_r0",
1638 ARRAY_SIZE(kRdIsNotRn),
1639 kRdIsNotRn},
1640 {{al, r0, r1, LSL, r2},
1641 "al r0 r1 LSL r2",
1642 "ShiftTypes_al_r0_r1_LSL_r2",
1643 ARRAY_SIZE(kShiftTypes),
1644 kShiftTypes},
1645 {{al, r0, r1, LSR, r2},
1646 "al r0 r1 LSR r2",
1647 "ShiftTypes_al_r0_r1_LSR_r2",
1648 ARRAY_SIZE(kShiftTypes),
1649 kShiftTypes},
1650 {{al, r0, r1, ASR, r2},
1651 "al r0 r1 ASR r2",
1652 "ShiftTypes_al_r0_r1_ASR_r2",
1653 ARRAY_SIZE(kShiftTypes),
1654 kShiftTypes},
1655 {{al, r0, r1, ROR, r2},
1656 "al r0 r1 ROR r2",
1657 "ShiftTypes_al_r0_r1_ROR_r2",
1658 ARRAY_SIZE(kShiftTypes),
1659 kShiftTypes}};
1660
1661 // We record all inputs to the instructions as outputs. This way, we also check
1662 // that what shouldn't change didn't change.
1663 struct TestResult {
1664 size_t output_size;
1665 const Inputs* outputs;
1666 };
1667
1668 // These headers each contain an array of `TestResult` with the reference output
1669 // values. The reference arrays are names `kReference{mnemonic}`.
1670 #include "aarch32/traces/simulator-cond-rd-operand-rn-shift-rs-a32-cmn.h"
1671 #include "aarch32/traces/simulator-cond-rd-operand-rn-shift-rs-a32-cmp.h"
1672 #include "aarch32/traces/simulator-cond-rd-operand-rn-shift-rs-a32-mov.h"
1673 #include "aarch32/traces/simulator-cond-rd-operand-rn-shift-rs-a32-movs.h"
1674 #include "aarch32/traces/simulator-cond-rd-operand-rn-shift-rs-a32-mvn.h"
1675 #include "aarch32/traces/simulator-cond-rd-operand-rn-shift-rs-a32-mvns.h"
1676 #include "aarch32/traces/simulator-cond-rd-operand-rn-shift-rs-a32-teq.h"
1677 #include "aarch32/traces/simulator-cond-rd-operand-rn-shift-rs-a32-tst.h"
1678
1679
1680 // The maximum number of errors to report in detail for each test.
1681 const unsigned kErrorReportLimit = 8;
1682
1683 typedef void (MacroAssembler::*Fn)(Condition cond,
1684 Register rd,
1685 const Operand& op);
1686
TestHelper(Fn instruction,const char * mnemonic,const TestResult reference[])1687 void TestHelper(Fn instruction,
1688 const char* mnemonic,
1689 const TestResult reference[]) {
1690 SETUP();
1691 masm.UseA32();
1692 START();
1693
1694 // Data to compare to `reference`.
1695 TestResult* results[ARRAY_SIZE(kTests)];
1696
1697 // Test cases for memory bound instructions may allocate a buffer and save its
1698 // address in this array.
1699 byte* scratch_memory_buffers[ARRAY_SIZE(kTests)];
1700
1701 // Generate a loop for each element in `kTests`. Each loop tests one specific
1702 // instruction.
1703 for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) {
1704 // Allocate results on the heap for this test.
1705 results[i] = new TestResult;
1706 results[i]->outputs = new Inputs[kTests[i].input_size];
1707 results[i]->output_size = kTests[i].input_size;
1708
1709 size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size;
1710 VIXL_ASSERT(IsUint32(input_stride));
1711
1712 scratch_memory_buffers[i] = NULL;
1713
1714 Label loop;
1715 UseScratchRegisterScope scratch_registers(&masm);
1716 // Include all registers from r0 ro r12.
1717 scratch_registers.Include(RegisterList(0x1fff));
1718
1719 // Values to pass to the macro-assembler.
1720 Condition cond = kTests[i].operands.cond;
1721 Register rd = kTests[i].operands.rd;
1722 Register rn = kTests[i].operands.rn;
1723 ShiftType shift = kTests[i].operands.shift;
1724 Register rs = kTests[i].operands.rs;
1725 Operand op(rn, shift, rs);
1726 scratch_registers.Exclude(rd);
1727 scratch_registers.Exclude(rn);
1728 scratch_registers.Exclude(rs);
1729
1730 // Allocate reserved registers for our own use.
1731 Register input_ptr = scratch_registers.Acquire();
1732 Register input_end = scratch_registers.Acquire();
1733 Register result_ptr = scratch_registers.Acquire();
1734
1735 // Initialize `input_ptr` to the first element and `input_end` the address
1736 // after the array.
1737 __ Mov(input_ptr, Operand::From(kTests[i].inputs));
1738 __ Add(input_end, input_ptr, static_cast<uint32_t>(input_stride));
1739 __ Mov(result_ptr, Operand::From(results[i]->outputs));
1740 __ Bind(&loop);
1741
1742 {
1743 UseScratchRegisterScope temp_registers(&masm);
1744 Register nzcv_bits = temp_registers.Acquire();
1745 Register saved_q_bit = temp_registers.Acquire();
1746 // Save the `Q` bit flag.
1747 __ Mrs(saved_q_bit, APSR);
1748 __ And(saved_q_bit, saved_q_bit, QFlag);
1749 // Set the `NZCV` and `Q` flags together.
1750 __ Ldr(nzcv_bits, MemOperand(input_ptr, offsetof(Inputs, apsr)));
1751 __ Orr(nzcv_bits, nzcv_bits, saved_q_bit);
1752 __ Msr(APSR_nzcvq, nzcv_bits);
1753 }
1754 __ Ldr(rd, MemOperand(input_ptr, offsetof(Inputs, rd)));
1755 __ Ldr(rn, MemOperand(input_ptr, offsetof(Inputs, rn)));
1756 __ Ldr(rs, MemOperand(input_ptr, offsetof(Inputs, rs)));
1757
1758 (masm.*instruction)(cond, rd, op);
1759
1760 {
1761 UseScratchRegisterScope temp_registers(&masm);
1762 Register nzcv_bits = temp_registers.Acquire();
1763 __ Mrs(nzcv_bits, APSR);
1764 // Only record the NZCV bits.
1765 __ And(nzcv_bits, nzcv_bits, NZCVFlag);
1766 __ Str(nzcv_bits, MemOperand(result_ptr, offsetof(Inputs, apsr)));
1767 }
1768 __ Str(rd, MemOperand(result_ptr, offsetof(Inputs, rd)));
1769 __ Str(rn, MemOperand(result_ptr, offsetof(Inputs, rn)));
1770 __ Str(rs, MemOperand(result_ptr, offsetof(Inputs, rs)));
1771
1772 // Advance the result pointer.
1773 __ Add(result_ptr, result_ptr, Operand::From(sizeof(kTests[i].inputs[0])));
1774 // Loop back until `input_ptr` is lower than `input_base`.
1775 __ Add(input_ptr, input_ptr, Operand::From(sizeof(kTests[i].inputs[0])));
1776 __ Cmp(input_ptr, input_end);
1777 __ B(ne, &loop);
1778 }
1779
1780 END();
1781
1782 RUN();
1783
1784 if (Test::generate_test_trace()) {
1785 // Print the results.
1786 for (size_t i = 0; i < ARRAY_SIZE(kTests); i++) {
1787 printf("const Inputs kOutputs_%s_%s[] = {\n",
1788 mnemonic,
1789 kTests[i].identifier);
1790 for (size_t j = 0; j < results[i]->output_size; j++) {
1791 printf(" { ");
1792 printf("0x%08" PRIx32, results[i]->outputs[j].apsr);
1793 printf(", ");
1794 printf("0x%08" PRIx32, results[i]->outputs[j].rd);
1795 printf(", ");
1796 printf("0x%08" PRIx32, results[i]->outputs[j].rn);
1797 printf(", ");
1798 printf("0x%08" PRIx32, results[i]->outputs[j].rs);
1799 printf(" },\n");
1800 }
1801 printf("};\n");
1802 }
1803 printf("const TestResult kReference%s[] = {\n", mnemonic);
1804 for (size_t i = 0; i < ARRAY_SIZE(kTests); i++) {
1805 printf(" {\n");
1806 printf(" ARRAY_SIZE(kOutputs_%s_%s),\n",
1807 mnemonic,
1808 kTests[i].identifier);
1809 printf(" kOutputs_%s_%s,\n", mnemonic, kTests[i].identifier);
1810 printf(" },\n");
1811 }
1812 printf("};\n");
1813 } else if (kCheckSimulatorTestResults) {
1814 // Check the results.
1815 unsigned total_error_count = 0;
1816 for (size_t i = 0; i < ARRAY_SIZE(kTests); i++) {
1817 bool instruction_has_errors = false;
1818 for (size_t j = 0; j < kTests[i].input_size; j++) {
1819 uint32_t apsr = results[i]->outputs[j].apsr;
1820 uint32_t rd = results[i]->outputs[j].rd;
1821 uint32_t rn = results[i]->outputs[j].rn;
1822 uint32_t rs = results[i]->outputs[j].rs;
1823 uint32_t apsr_input = kTests[i].inputs[j].apsr;
1824 uint32_t rd_input = kTests[i].inputs[j].rd;
1825 uint32_t rn_input = kTests[i].inputs[j].rn;
1826 uint32_t rs_input = kTests[i].inputs[j].rs;
1827 uint32_t apsr_ref = reference[i].outputs[j].apsr;
1828 uint32_t rd_ref = reference[i].outputs[j].rd;
1829 uint32_t rn_ref = reference[i].outputs[j].rn;
1830 uint32_t rs_ref = reference[i].outputs[j].rs;
1831
1832 if (((apsr != apsr_ref) || (rd != rd_ref) || (rn != rn_ref) ||
1833 (rs != rs_ref)) &&
1834 (++total_error_count <= kErrorReportLimit)) {
1835 // Print the instruction once even if it triggered multiple failures.
1836 if (!instruction_has_errors) {
1837 printf("Error(s) when testing \"%s %s\":\n",
1838 mnemonic,
1839 kTests[i].operands_description);
1840 instruction_has_errors = true;
1841 }
1842 // Print subsequent errors.
1843 printf(" Input: ");
1844 printf("0x%08" PRIx32, apsr_input);
1845 printf(", ");
1846 printf("0x%08" PRIx32, rd_input);
1847 printf(", ");
1848 printf("0x%08" PRIx32, rn_input);
1849 printf(", ");
1850 printf("0x%08" PRIx32, rs_input);
1851 printf("\n");
1852 printf(" Expected: ");
1853 printf("0x%08" PRIx32, apsr_ref);
1854 printf(", ");
1855 printf("0x%08" PRIx32, rd_ref);
1856 printf(", ");
1857 printf("0x%08" PRIx32, rn_ref);
1858 printf(", ");
1859 printf("0x%08" PRIx32, rs_ref);
1860 printf("\n");
1861 printf(" Found: ");
1862 printf("0x%08" PRIx32, apsr);
1863 printf(", ");
1864 printf("0x%08" PRIx32, rd);
1865 printf(", ");
1866 printf("0x%08" PRIx32, rn);
1867 printf(", ");
1868 printf("0x%08" PRIx32, rs);
1869 printf("\n\n");
1870 }
1871 }
1872 }
1873
1874 if (total_error_count > kErrorReportLimit) {
1875 printf("%u other errors follow.\n",
1876 total_error_count - kErrorReportLimit);
1877 }
1878 VIXL_CHECK(total_error_count == 0);
1879 } else {
1880 VIXL_WARNING("Assembled the code, but did not run anything.\n");
1881 }
1882
1883 for (size_t i = 0; i < ARRAY_SIZE(kTests); i++) {
1884 delete[] results[i]->outputs;
1885 delete results[i];
1886 delete[] scratch_memory_buffers[i];
1887 }
1888
1889 TEARDOWN();
1890 }
1891
1892 // Instantiate tests for each instruction in the list.
1893 // TODO: Remove this limitation by having a sandboxing mechanism.
1894 #if defined(VIXL_HOST_POINTER_32)
1895 #define TEST(mnemonic) \
1896 void Test_##mnemonic() { \
1897 TestHelper(&MacroAssembler::mnemonic, #mnemonic, kReference##mnemonic); \
1898 } \
1899 Test test_##mnemonic( \
1900 "AARCH32_SIMULATOR_COND_RD_OPERAND_RN_SHIFT_RS_A32_" #mnemonic, \
1901 &Test_##mnemonic);
1902 #else
1903 #define TEST(mnemonic) \
1904 void Test_##mnemonic() { \
1905 VIXL_WARNING("This test can only run on a 32-bit host.\n"); \
1906 USE(TestHelper); \
1907 } \
1908 Test test_##mnemonic( \
1909 "AARCH32_SIMULATOR_COND_RD_OPERAND_RN_SHIFT_RS_A32_" #mnemonic, \
1910 &Test_##mnemonic);
1911 #endif
1912
1913 FOREACH_INSTRUCTION(TEST)
1914 #undef TEST
1915
1916 } // namespace
1917 #endif
1918
1919 } // namespace aarch32
1920 } // namespace vixl
1921