• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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-assembler-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 
45 #define BUF_SIZE (4096)
46 
47 namespace vixl {
48 namespace aarch32 {
49 
50 // List of instruction mnemonics.
51 #define FOREACH_INSTRUCTION(M) \
52   M(cmn)                       \
53   M(cmp)                       \
54   M(mov)                       \
55   M(movs)                      \
56   M(mvn)                       \
57   M(mvns)                      \
58   M(teq)                       \
59   M(tst)                       \
60   M(sxtb)                      \
61   M(sxtb16)                    \
62   M(sxth)                      \
63   M(uxtb)                      \
64   M(uxtb16)                    \
65   M(uxth)
66 
67 
68 // The following definitions are defined again in each generated test, therefore
69 // we need to place them in an anomymous namespace. It expresses that they are
70 // local to this file only, and the compiler is not allowed to share these types
71 // across test files during template instantiation. Specifically, `Operands` has
72 // various layouts across generated tests so it absolutely cannot be shared.
73 
74 #ifdef VIXL_INCLUDE_TARGET_A32
75 namespace {
76 
77 // Values to be passed to the assembler to produce the instruction under test.
78 struct Operands {
79   Condition cond;
80   Register rd;
81   Register rn;
82 };
83 
84 // This structure contains all data needed to test one specific
85 // instruction.
86 struct TestData {
87   // The `operands` field represents what to pass to the assembler to
88   // produce the instruction.
89   Operands operands;
90   // True if we need to generate an IT instruction for this test to be valid.
91   bool in_it_block;
92   // The condition to give the IT instruction, this will be set to "al" by
93   // default.
94   Condition it_condition;
95   // Description of the operands, used for error reporting.
96   const char* operands_description;
97   // Unique identifier, used for generating traces.
98   const char* identifier;
99 };
100 
101 struct TestResult {
102   size_t size;
103   const byte* encoding;
104 };
105 
106 // Each element of this array produce one instruction encoding.
107 const TestData kTests[] =
108     {{{lt, r13, r2}, false, al, "lt r13 r2", "lt_r13_r2"},
109      {{cs, r2, r9}, false, al, "cs r2 r9", "cs_r2_r9"},
110      {{ne, r12, r1}, false, al, "ne r12 r1", "ne_r12_r1"},
111      {{cc, r0, r1}, false, al, "cc r0 r1", "cc_r0_r1"},
112      {{pl, r6, r0}, false, al, "pl r6 r0", "pl_r6_r0"},
113      {{pl, r1, r6}, false, al, "pl r1 r6", "pl_r1_r6"},
114      {{vs, r10, r4}, false, al, "vs r10 r4", "vs_r10_r4"},
115      {{mi, r10, r4}, false, al, "mi r10 r4", "mi_r10_r4"},
116      {{ge, r12, r3}, false, al, "ge r12 r3", "ge_r12_r3"},
117      {{lt, r2, r0}, false, al, "lt r2 r0", "lt_r2_r0"},
118      {{ge, r7, r13}, false, al, "ge r7 r13", "ge_r7_r13"},
119      {{le, r1, r14}, false, al, "le r1 r14", "le_r1_r14"},
120      {{ge, r9, r3}, false, al, "ge r9 r3", "ge_r9_r3"},
121      {{cc, r8, r14}, false, al, "cc r8 r14", "cc_r8_r14"},
122      {{ne, r7, r5}, false, al, "ne r7 r5", "ne_r7_r5"},
123      {{vc, r5, r14}, false, al, "vc r5 r14", "vc_r5_r14"},
124      {{mi, r1, r9}, false, al, "mi r1 r9", "mi_r1_r9"},
125      {{eq, r11, r6}, false, al, "eq r11 r6", "eq_r11_r6"},
126      {{lt, r8, r3}, false, al, "lt r8 r3", "lt_r8_r3"},
127      {{gt, r1, r6}, false, al, "gt r1 r6", "gt_r1_r6"},
128      {{le, r8, r13}, false, al, "le r8 r13", "le_r8_r13"},
129      {{ne, r3, r4}, false, al, "ne r3 r4", "ne_r3_r4"},
130      {{lt, r8, r6}, false, al, "lt r8 r6", "lt_r8_r6"},
131      {{cs, r9, r14}, false, al, "cs r9 r14", "cs_r9_r14"},
132      {{cc, r8, r6}, false, al, "cc r8 r6", "cc_r8_r6"},
133      {{lt, r10, r2}, false, al, "lt r10 r2", "lt_r10_r2"},
134      {{mi, r0, r12}, false, al, "mi r0 r12", "mi_r0_r12"},
135      {{ge, r13, r5}, false, al, "ge r13 r5", "ge_r13_r5"},
136      {{hi, r14, r3}, false, al, "hi r14 r3", "hi_r14_r3"},
137      {{ge, r7, r11}, false, al, "ge r7 r11", "ge_r7_r11"},
138      {{ls, r14, r14}, false, al, "ls r14 r14", "ls_r14_r14"},
139      {{hi, r4, r11}, false, al, "hi r4 r11", "hi_r4_r11"},
140      {{pl, r12, r5}, false, al, "pl r12 r5", "pl_r12_r5"},
141      {{hi, r8, r13}, false, al, "hi r8 r13", "hi_r8_r13"},
142      {{vs, r3, r7}, false, al, "vs r3 r7", "vs_r3_r7"},
143      {{vc, r10, r10}, false, al, "vc r10 r10", "vc_r10_r10"},
144      {{lt, r6, r0}, false, al, "lt r6 r0", "lt_r6_r0"},
145      {{gt, r10, r1}, false, al, "gt r10 r1", "gt_r10_r1"},
146      {{pl, r13, r6}, false, al, "pl r13 r6", "pl_r13_r6"},
147      {{gt, r10, r2}, false, al, "gt r10 r2", "gt_r10_r2"},
148      {{cc, r9, r3}, false, al, "cc r9 r3", "cc_r9_r3"},
149      {{vs, r2, r12}, false, al, "vs r2 r12", "vs_r2_r12"},
150      {{cc, r9, r5}, false, al, "cc r9 r5", "cc_r9_r5"},
151      {{ge, r7, r7}, false, al, "ge r7 r7", "ge_r7_r7"},
152      {{lt, r0, r12}, false, al, "lt r0 r12", "lt_r0_r12"},
153      {{lt, r2, r2}, false, al, "lt r2 r2", "lt_r2_r2"},
154      {{ge, r9, r7}, false, al, "ge r9 r7", "ge_r9_r7"},
155      {{eq, r14, r8}, false, al, "eq r14 r8", "eq_r14_r8"},
156      {{mi, r0, r5}, false, al, "mi r0 r5", "mi_r0_r5"},
157      {{vc, r14, r2}, false, al, "vc r14 r2", "vc_r14_r2"},
158      {{pl, r0, r8}, false, al, "pl r0 r8", "pl_r0_r8"},
159      {{gt, r11, r4}, false, al, "gt r11 r4", "gt_r11_r4"},
160      {{lt, r1, r11}, false, al, "lt r1 r11", "lt_r1_r11"},
161      {{lt, r4, r2}, false, al, "lt r4 r2", "lt_r4_r2"},
162      {{lt, r5, r8}, false, al, "lt r5 r8", "lt_r5_r8"},
163      {{hi, r11, r7}, false, al, "hi r11 r7", "hi_r11_r7"},
164      {{le, r11, r10}, false, al, "le r11 r10", "le_r11_r10"},
165      {{mi, r11, r5}, false, al, "mi r11 r5", "mi_r11_r5"},
166      {{cs, r9, r7}, false, al, "cs r9 r7", "cs_r9_r7"},
167      {{hi, r1, r14}, false, al, "hi r1 r14", "hi_r1_r14"},
168      {{pl, r10, r11}, false, al, "pl r10 r11", "pl_r10_r11"},
169      {{pl, r1, r4}, false, al, "pl r1 r4", "pl_r1_r4"},
170      {{mi, r6, r8}, false, al, "mi r6 r8", "mi_r6_r8"},
171      {{gt, r10, r7}, false, al, "gt r10 r7", "gt_r10_r7"},
172      {{eq, r11, r12}, false, al, "eq r11 r12", "eq_r11_r12"},
173      {{pl, r1, r7}, false, al, "pl r1 r7", "pl_r1_r7"},
174      {{vs, r9, r1}, false, al, "vs r9 r1", "vs_r9_r1"},
175      {{gt, r10, r0}, false, al, "gt r10 r0", "gt_r10_r0"},
176      {{gt, r11, r1}, false, al, "gt r11 r1", "gt_r11_r1"},
177      {{ne, r8, r2}, false, al, "ne r8 r2", "ne_r8_r2"},
178      {{al, r13, r1}, false, al, "al r13 r1", "al_r13_r1"},
179      {{hi, r1, r0}, false, al, "hi r1 r0", "hi_r1_r0"},
180      {{ne, r12, r8}, false, al, "ne r12 r8", "ne_r12_r8"},
181      {{pl, r9, r13}, false, al, "pl r9 r13", "pl_r9_r13"},
182      {{vs, r6, r1}, false, al, "vs r6 r1", "vs_r6_r1"},
183      {{le, r1, r0}, false, al, "le r1 r0", "le_r1_r0"},
184      {{ge, r3, r10}, false, al, "ge r3 r10", "ge_r3_r10"},
185      {{mi, r9, r1}, false, al, "mi r9 r1", "mi_r9_r1"},
186      {{cs, r13, r0}, false, al, "cs r13 r0", "cs_r13_r0"},
187      {{le, r10, r7}, false, al, "le r10 r7", "le_r10_r7"},
188      {{lt, r8, r9}, false, al, "lt r8 r9", "lt_r8_r9"},
189      {{eq, r4, r5}, false, al, "eq r4 r5", "eq_r4_r5"},
190      {{lt, r12, r0}, false, al, "lt r12 r0", "lt_r12_r0"},
191      {{ls, r10, r7}, false, al, "ls r10 r7", "ls_r10_r7"},
192      {{vc, r6, r10}, false, al, "vc r6 r10", "vc_r6_r10"},
193      {{al, r6, r2}, false, al, "al r6 r2", "al_r6_r2"},
194      {{le, r7, r5}, false, al, "le r7 r5", "le_r7_r5"},
195      {{hi, r1, r13}, false, al, "hi r1 r13", "hi_r1_r13"},
196      {{hi, r5, r8}, false, al, "hi r5 r8", "hi_r5_r8"},
197      {{vs, r10, r11}, false, al, "vs r10 r11", "vs_r10_r11"},
198      {{vs, r8, r10}, false, al, "vs r8 r10", "vs_r8_r10"},
199      {{ne, r11, r7}, false, al, "ne r11 r7", "ne_r11_r7"},
200      {{pl, r12, r2}, false, al, "pl r12 r2", "pl_r12_r2"},
201      {{ls, r13, r5}, false, al, "ls r13 r5", "ls_r13_r5"},
202      {{ne, r9, r9}, false, al, "ne r9 r9", "ne_r9_r9"},
203      {{ge, r4, r5}, false, al, "ge r4 r5", "ge_r4_r5"},
204      {{cs, r1, r10}, false, al, "cs r1 r10", "cs_r1_r10"},
205      {{vc, r6, r9}, false, al, "vc r6 r9", "vc_r6_r9"},
206      {{vs, r5, r12}, false, al, "vs r5 r12", "vs_r5_r12"},
207      {{pl, r12, r1}, false, al, "pl r12 r1", "pl_r12_r1"},
208      {{vc, r4, r1}, false, al, "vc r4 r1", "vc_r4_r1"},
209      {{ls, r11, r8}, false, al, "ls r11 r8", "ls_r11_r8"},
210      {{al, r5, r4}, false, al, "al r5 r4", "al_r5_r4"},
211      {{al, r2, r10}, false, al, "al r2 r10", "al_r2_r10"},
212      {{mi, r5, r3}, false, al, "mi r5 r3", "mi_r5_r3"},
213      {{ge, r11, r13}, false, al, "ge r11 r13", "ge_r11_r13"},
214      {{ne, r10, r8}, false, al, "ne r10 r8", "ne_r10_r8"},
215      {{ls, r8, r2}, false, al, "ls r8 r2", "ls_r8_r2"},
216      {{gt, r2, r13}, false, al, "gt r2 r13", "gt_r2_r13"},
217      {{cs, r2, r14}, false, al, "cs r2 r14", "cs_r2_r14"},
218      {{lt, r1, r9}, false, al, "lt r1 r9", "lt_r1_r9"},
219      {{ne, r12, r10}, false, al, "ne r12 r10", "ne_r12_r10"},
220      {{cc, r5, r4}, false, al, "cc r5 r4", "cc_r5_r4"},
221      {{ls, r9, r1}, false, al, "ls r9 r1", "ls_r9_r1"},
222      {{gt, r6, r8}, false, al, "gt r6 r8", "gt_r6_r8"},
223      {{ge, r9, r6}, false, al, "ge r9 r6", "ge_r9_r6"},
224      {{le, r9, r3}, false, al, "le r9 r3", "le_r9_r3"},
225      {{gt, r9, r1}, false, al, "gt r9 r1", "gt_r9_r1"},
226      {{hi, r8, r1}, false, al, "hi r8 r1", "hi_r8_r1"},
227      {{gt, r12, r7}, false, al, "gt r12 r7", "gt_r12_r7"},
228      {{le, r4, r12}, false, al, "le r4 r12", "le_r4_r12"},
229      {{ne, r10, r11}, false, al, "ne r10 r11", "ne_r10_r11"},
230      {{eq, r9, r8}, false, al, "eq r9 r8", "eq_r9_r8"},
231      {{cs, r2, r0}, false, al, "cs r2 r0", "cs_r2_r0"},
232      {{cc, r10, r6}, false, al, "cc r10 r6", "cc_r10_r6"},
233      {{ge, r5, r5}, false, al, "ge r5 r5", "ge_r5_r5"},
234      {{ls, r3, r4}, false, al, "ls r3 r4", "ls_r3_r4"},
235      {{ge, r11, r10}, false, al, "ge r11 r10", "ge_r11_r10"},
236      {{vc, r2, r8}, false, al, "vc r2 r8", "vc_r2_r8"},
237      {{pl, r5, r13}, false, al, "pl r5 r13", "pl_r5_r13"},
238      {{le, r11, r5}, false, al, "le r11 r5", "le_r11_r5"},
239      {{gt, r13, r13}, false, al, "gt r13 r13", "gt_r13_r13"},
240      {{vc, r5, r1}, false, al, "vc r5 r1", "vc_r5_r1"},
241      {{eq, r7, r14}, false, al, "eq r7 r14", "eq_r7_r14"},
242      {{vs, r11, r1}, false, al, "vs r11 r1", "vs_r11_r1"},
243      {{eq, r12, r8}, false, al, "eq r12 r8", "eq_r12_r8"},
244      {{le, r2, r1}, false, al, "le r2 r1", "le_r2_r1"},
245      {{ge, r6, r3}, false, al, "ge r6 r3", "ge_r6_r3"},
246      {{hi, r14, r14}, false, al, "hi r14 r14", "hi_r14_r14"},
247      {{hi, r8, r10}, false, al, "hi r8 r10", "hi_r8_r10"},
248      {{ge, r11, r6}, false, al, "ge r11 r6", "ge_r11_r6"},
249      {{pl, r2, r6}, false, al, "pl r2 r6", "pl_r2_r6"},
250      {{le, r5, r10}, false, al, "le r5 r10", "le_r5_r10"},
251      {{ge, r8, r1}, false, al, "ge r8 r1", "ge_r8_r1"},
252      {{lt, r11, r3}, false, al, "lt r11 r3", "lt_r11_r3"},
253      {{gt, r3, r6}, false, al, "gt r3 r6", "gt_r3_r6"},
254      {{hi, r6, r9}, false, al, "hi r6 r9", "hi_r6_r9"},
255      {{hi, r3, r1}, false, al, "hi r3 r1", "hi_r3_r1"},
256      {{hi, r8, r3}, false, al, "hi r8 r3", "hi_r8_r3"},
257      {{lt, r4, r7}, false, al, "lt r4 r7", "lt_r4_r7"},
258      {{lt, r4, r5}, false, al, "lt r4 r5", "lt_r4_r5"},
259      {{le, r11, r4}, false, al, "le r11 r4", "le_r11_r4"},
260      {{mi, r0, r4}, false, al, "mi r0 r4", "mi_r0_r4"},
261      {{ge, r14, r7}, false, al, "ge r14 r7", "ge_r14_r7"},
262      {{le, r0, r11}, false, al, "le r0 r11", "le_r0_r11"},
263      {{al, r7, r6}, false, al, "al r7 r6", "al_r7_r6"},
264      {{gt, r2, r14}, false, al, "gt r2 r14", "gt_r2_r14"},
265      {{lt, r1, r2}, false, al, "lt r1 r2", "lt_r1_r2"},
266      {{vs, r6, r8}, false, al, "vs r6 r8", "vs_r6_r8"},
267      {{ne, r7, r4}, false, al, "ne r7 r4", "ne_r7_r4"},
268      {{cc, r7, r0}, false, al, "cc r7 r0", "cc_r7_r0"},
269      {{vs, r5, r3}, false, al, "vs r5 r3", "vs_r5_r3"},
270      {{cs, r1, r4}, false, al, "cs r1 r4", "cs_r1_r4"},
271      {{cs, r0, r13}, false, al, "cs r0 r13", "cs_r0_r13"},
272      {{hi, r12, r0}, false, al, "hi r12 r0", "hi_r12_r0"},
273      {{mi, r8, r14}, false, al, "mi r8 r14", "mi_r8_r14"},
274      {{cs, r8, r4}, false, al, "cs r8 r4", "cs_r8_r4"},
275      {{al, r3, r12}, false, al, "al r3 r12", "al_r3_r12"},
276      {{ge, r11, r11}, false, al, "ge r11 r11", "ge_r11_r11"},
277      {{eq, r1, r6}, false, al, "eq r1 r6", "eq_r1_r6"},
278      {{mi, r12, r10}, false, al, "mi r12 r10", "mi_r12_r10"},
279      {{vc, r11, r8}, false, al, "vc r11 r8", "vc_r11_r8"},
280      {{pl, r5, r4}, false, al, "pl r5 r4", "pl_r5_r4"},
281      {{cc, r9, r10}, false, al, "cc r9 r10", "cc_r9_r10"},
282      {{ne, r14, r10}, false, al, "ne r14 r10", "ne_r14_r10"},
283      {{ne, r14, r13}, false, al, "ne r14 r13", "ne_r14_r13"},
284      {{ls, r13, r11}, false, al, "ls r13 r11", "ls_r13_r11"},
285      {{eq, r8, r10}, false, al, "eq r8 r10", "eq_r8_r10"},
286      {{ls, r2, r2}, false, al, "ls r2 r2", "ls_r2_r2"},
287      {{vc, r1, r6}, false, al, "vc r1 r6", "vc_r1_r6"},
288      {{gt, r5, r14}, false, al, "gt r5 r14", "gt_r5_r14"},
289      {{vs, r4, r3}, false, al, "vs r4 r3", "vs_r4_r3"},
290      {{pl, r8, r11}, false, al, "pl r8 r11", "pl_r8_r11"},
291      {{ne, r6, r7}, false, al, "ne r6 r7", "ne_r6_r7"},
292      {{vc, r8, r11}, false, al, "vc r8 r11", "vc_r8_r11"},
293      {{mi, r11, r7}, false, al, "mi r11 r7", "mi_r11_r7"},
294      {{cc, r14, r6}, false, al, "cc r14 r6", "cc_r14_r6"},
295      {{ne, r11, r8}, false, al, "ne r11 r8", "ne_r11_r8"},
296      {{cc, r0, r10}, false, al, "cc r0 r10", "cc_r0_r10"},
297      {{ne, r9, r4}, false, al, "ne r9 r4", "ne_r9_r4"},
298      {{eq, r5, r4}, false, al, "eq r5 r4", "eq_r5_r4"},
299      {{eq, r13, r6}, false, al, "eq r13 r6", "eq_r13_r6"},
300      {{eq, r4, r11}, false, al, "eq r4 r11", "eq_r4_r11"},
301      {{gt, r9, r8}, false, al, "gt r9 r8", "gt_r9_r8"},
302      {{eq, r4, r8}, false, al, "eq r4 r8", "eq_r4_r8"},
303      {{ge, r10, r6}, false, al, "ge r10 r6", "ge_r10_r6"},
304      {{gt, r14, r13}, false, al, "gt r14 r13", "gt_r14_r13"},
305      {{cs, r13, r2}, false, al, "cs r13 r2", "cs_r13_r2"},
306      {{al, r4, r5}, false, al, "al r4 r5", "al_r4_r5"},
307      {{hi, r0, r9}, false, al, "hi r0 r9", "hi_r0_r9"},
308      {{gt, r6, r3}, false, al, "gt r6 r3", "gt_r6_r3"},
309      {{cs, r12, r6}, false, al, "cs r12 r6", "cs_r12_r6"},
310      {{ls, r10, r9}, false, al, "ls r10 r9", "ls_r10_r9"},
311      {{gt, r4, r8}, false, al, "gt r4 r8", "gt_r4_r8"},
312      {{le, r2, r12}, false, al, "le r2 r12", "le_r2_r12"},
313      {{cc, r6, r5}, false, al, "cc r6 r5", "cc_r6_r5"},
314      {{vc, r7, r5}, false, al, "vc r7 r5", "vc_r7_r5"},
315      {{cs, r7, r9}, false, al, "cs r7 r9", "cs_r7_r9"},
316      {{vs, r8, r6}, false, al, "vs r8 r6", "vs_r8_r6"},
317      {{ls, r2, r1}, false, al, "ls r2 r1", "ls_r2_r1"},
318      {{pl, r5, r12}, false, al, "pl r5 r12", "pl_r5_r12"},
319      {{le, r8, r3}, false, al, "le r8 r3", "le_r8_r3"},
320      {{hi, r5, r3}, false, al, "hi r5 r3", "hi_r5_r3"},
321      {{mi, r7, r1}, false, al, "mi r7 r1", "mi_r7_r1"},
322      {{lt, r11, r0}, false, al, "lt r11 r0", "lt_r11_r0"},
323      {{ls, r10, r5}, false, al, "ls r10 r5", "ls_r10_r5"},
324      {{eq, r0, r3}, false, al, "eq r0 r3", "eq_r0_r3"},
325      {{pl, r14, r14}, false, al, "pl r14 r14", "pl_r14_r14"},
326      {{pl, r10, r6}, false, al, "pl r10 r6", "pl_r10_r6"},
327      {{ls, r13, r6}, false, al, "ls r13 r6", "ls_r13_r6"},
328      {{hi, r11, r2}, false, al, "hi r11 r2", "hi_r11_r2"},
329      {{le, r5, r5}, false, al, "le r5 r5", "le_r5_r5"},
330      {{vc, r2, r2}, false, al, "vc r2 r2", "vc_r2_r2"},
331      {{al, r3, r9}, false, al, "al r3 r9", "al_r3_r9"},
332      {{lt, r9, r1}, false, al, "lt r9 r1", "lt_r9_r1"},
333      {{al, r12, r8}, false, al, "al r12 r8", "al_r12_r8"},
334      {{mi, r11, r4}, false, al, "mi r11 r4", "mi_r11_r4"},
335      {{ls, r8, r13}, false, al, "ls r8 r13", "ls_r8_r13"},
336      {{pl, r7, r10}, false, al, "pl r7 r10", "pl_r7_r10"},
337      {{cs, r10, r3}, false, al, "cs r10 r3", "cs_r10_r3"},
338      {{vs, r11, r4}, false, al, "vs r11 r4", "vs_r11_r4"},
339      {{pl, r14, r7}, false, al, "pl r14 r7", "pl_r14_r7"},
340      {{cs, r13, r14}, false, al, "cs r13 r14", "cs_r13_r14"},
341      {{al, r7, r1}, false, al, "al r7 r1", "al_r7_r1"},
342      {{le, r2, r5}, false, al, "le r2 r5", "le_r2_r5"},
343      {{vc, r9, r6}, false, al, "vc r9 r6", "vc_r9_r6"},
344      {{al, r12, r12}, false, al, "al r12 r12", "al_r12_r12"},
345      {{ls, r4, r6}, false, al, "ls r4 r6", "ls_r4_r6"},
346      {{mi, r3, r13}, false, al, "mi r3 r13", "mi_r3_r13"},
347      {{ne, r10, r12}, false, al, "ne r10 r12", "ne_r10_r12"},
348      {{vc, r13, r11}, false, al, "vc r13 r11", "vc_r13_r11"},
349      {{eq, r11, r8}, false, al, "eq r11 r8", "eq_r11_r8"},
350      {{ne, r4, r8}, false, al, "ne r4 r8", "ne_r4_r8"},
351      {{pl, r10, r0}, false, al, "pl r10 r0", "pl_r10_r0"},
352      {{le, r1, r2}, false, al, "le r1 r2", "le_r1_r2"},
353      {{eq, r13, r10}, false, al, "eq r13 r10", "eq_r13_r10"},
354      {{al, r7, r5}, false, al, "al r7 r5", "al_r7_r5"},
355      {{le, r1, r8}, false, al, "le r1 r8", "le_r1_r8"},
356      {{hi, r8, r0}, false, al, "hi r8 r0", "hi_r8_r0"},
357      {{lt, r3, r12}, false, al, "lt r3 r12", "lt_r3_r12"},
358      {{hi, r6, r1}, false, al, "hi r6 r1", "hi_r6_r1"},
359      {{le, r0, r6}, false, al, "le r0 r6", "le_r0_r6"},
360      {{ge, r12, r11}, false, al, "ge r12 r11", "ge_r12_r11"},
361      {{vs, r11, r12}, false, al, "vs r11 r12", "vs_r11_r12"},
362      {{vc, r12, r11}, false, al, "vc r12 r11", "vc_r12_r11"},
363      {{eq, r0, r1}, false, al, "eq r0 r1", "eq_r0_r1"},
364      {{pl, r1, r12}, false, al, "pl r1 r12", "pl_r1_r12"},
365      {{mi, r3, r14}, false, al, "mi r3 r14", "mi_r3_r14"},
366      {{cs, r12, r13}, false, al, "cs r12 r13", "cs_r12_r13"},
367      {{mi, r4, r8}, false, al, "mi r4 r8", "mi_r4_r8"},
368      {{eq, r5, r2}, false, al, "eq r5 r2", "eq_r5_r2"},
369      {{al, r2, r13}, false, al, "al r2 r13", "al_r2_r13"},
370      {{vc, r5, r12}, false, al, "vc r5 r12", "vc_r5_r12"},
371      {{ls, r0, r9}, false, al, "ls r0 r9", "ls_r0_r9"},
372      {{vc, r7, r7}, false, al, "vc r7 r7", "vc_r7_r7"},
373      {{le, r14, r8}, false, al, "le r14 r8", "le_r14_r8"},
374      {{hi, r13, r6}, false, al, "hi r13 r6", "hi_r13_r6"},
375      {{eq, r11, r10}, false, al, "eq r11 r10", "eq_r11_r10"},
376      {{eq, r7, r11}, false, al, "eq r7 r11", "eq_r7_r11"},
377      {{eq, r0, r5}, false, al, "eq r0 r5", "eq_r0_r5"},
378      {{lt, r9, r0}, false, al, "lt r9 r0", "lt_r9_r0"},
379      {{vc, r6, r7}, false, al, "vc r6 r7", "vc_r6_r7"},
380      {{al, r2, r6}, false, al, "al r2 r6", "al_r2_r6"},
381      {{al, r4, r13}, false, al, "al r4 r13", "al_r4_r13"},
382      {{al, r0, r0}, false, al, "al r0 r0", "al_r0_r0"},
383      {{mi, r1, r2}, false, al, "mi r1 r2", "mi_r1_r2"},
384      {{le, r12, r5}, false, al, "le r12 r5", "le_r12_r5"},
385      {{cs, r0, r10}, false, al, "cs r0 r10", "cs_r0_r10"},
386      {{ls, r9, r8}, false, al, "ls r9 r8", "ls_r9_r8"},
387      {{gt, r13, r0}, false, al, "gt r13 r0", "gt_r13_r0"},
388      {{cc, r0, r6}, false, al, "cc r0 r6", "cc_r0_r6"},
389      {{mi, r14, r3}, false, al, "mi r14 r3", "mi_r14_r3"},
390      {{mi, r14, r2}, false, al, "mi r14 r2", "mi_r14_r2"},
391      {{le, r7, r2}, false, al, "le r7 r2", "le_r7_r2"},
392      {{gt, r9, r14}, false, al, "gt r9 r14", "gt_r9_r14"},
393      {{cc, r14, r0}, false, al, "cc r14 r0", "cc_r14_r0"},
394      {{lt, r14, r10}, false, al, "lt r14 r10", "lt_r14_r10"},
395      {{le, r6, r0}, false, al, "le r6 r0", "le_r6_r0"},
396      {{hi, r3, r6}, false, al, "hi r3 r6", "hi_r3_r6"},
397      {{cc, r5, r12}, false, al, "cc r5 r12", "cc_r5_r12"},
398      {{al, r12, r1}, false, al, "al r12 r1", "al_r12_r1"},
399      {{vc, r1, r0}, false, al, "vc r1 r0", "vc_r1_r0"},
400      {{ge, r11, r3}, false, al, "ge r11 r3", "ge_r11_r3"},
401      {{gt, r7, r0}, false, al, "gt r7 r0", "gt_r7_r0"},
402      {{lt, r6, r12}, false, al, "lt r6 r12", "lt_r6_r12"},
403      {{hi, r4, r12}, false, al, "hi r4 r12", "hi_r4_r12"},
404      {{ne, r5, r10}, false, al, "ne r5 r10", "ne_r5_r10"},
405      {{eq, r13, r8}, false, al, "eq r13 r8", "eq_r13_r8"},
406      {{pl, r14, r6}, false, al, "pl r14 r6", "pl_r14_r6"},
407      {{ls, r6, r6}, false, al, "ls r6 r6", "ls_r6_r6"},
408      {{al, r7, r0}, false, al, "al r7 r0", "al_r7_r0"},
409      {{ls, r9, r7}, false, al, "ls r9 r7", "ls_r9_r7"},
410      {{cc, r7, r9}, false, al, "cc r7 r9", "cc_r7_r9"},
411      {{ge, r9, r5}, false, al, "ge r9 r5", "ge_r9_r5"},
412      {{hi, r1, r10}, false, al, "hi r1 r10", "hi_r1_r10"},
413      {{ne, r12, r9}, false, al, "ne r12 r9", "ne_r12_r9"},
414      {{ge, r3, r12}, false, al, "ge r3 r12", "ge_r3_r12"},
415      {{cs, r10, r2}, false, al, "cs r10 r2", "cs_r10_r2"},
416      {{al, r0, r2}, false, al, "al r0 r2", "al_r0_r2"},
417      {{le, r2, r7}, false, al, "le r2 r7", "le_r2_r7"},
418      {{eq, r5, r3}, false, al, "eq r5 r3", "eq_r5_r3"},
419      {{hi, r1, r12}, false, al, "hi r1 r12", "hi_r1_r12"},
420      {{vc, r12, r10}, false, al, "vc r12 r10", "vc_r12_r10"},
421      {{cs, r8, r3}, false, al, "cs r8 r3", "cs_r8_r3"},
422      {{ls, r12, r7}, false, al, "ls r12 r7", "ls_r12_r7"},
423      {{hi, r4, r7}, false, al, "hi r4 r7", "hi_r4_r7"},
424      {{vc, r11, r0}, false, al, "vc r11 r0", "vc_r11_r0"},
425      {{pl, r2, r9}, false, al, "pl r2 r9", "pl_r2_r9"},
426      {{cs, r8, r13}, false, al, "cs r8 r13", "cs_r8_r13"},
427      {{le, r10, r10}, false, al, "le r10 r10", "le_r10_r10"},
428      {{ls, r4, r0}, false, al, "ls r4 r0", "ls_r4_r0"},
429      {{al, r8, r2}, false, al, "al r8 r2", "al_r8_r2"},
430      {{ls, r7, r0}, false, al, "ls r7 r0", "ls_r7_r0"},
431      {{vc, r4, r7}, false, al, "vc r4 r7", "vc_r4_r7"},
432      {{cc, r7, r4}, false, al, "cc r7 r4", "cc_r7_r4"},
433      {{eq, r2, r10}, false, al, "eq r2 r10", "eq_r2_r10"},
434      {{cc, r8, r3}, false, al, "cc r8 r3", "cc_r8_r3"},
435      {{lt, r7, r11}, false, al, "lt r7 r11", "lt_r7_r11"},
436      {{vs, r12, r0}, false, al, "vs r12 r0", "vs_r12_r0"},
437      {{pl, r0, r4}, false, al, "pl r0 r4", "pl_r0_r4"},
438      {{mi, r8, r6}, false, al, "mi r8 r6", "mi_r8_r6"},
439      {{vc, r3, r3}, false, al, "vc r3 r3", "vc_r3_r3"},
440      {{vs, r5, r6}, false, al, "vs r5 r6", "vs_r5_r6"},
441      {{vs, r13, r11}, false, al, "vs r13 r11", "vs_r13_r11"},
442      {{eq, r10, r11}, false, al, "eq r10 r11", "eq_r10_r11"},
443      {{vs, r13, r4}, false, al, "vs r13 r4", "vs_r13_r4"},
444      {{lt, r1, r1}, false, al, "lt r1 r1", "lt_r1_r1"},
445      {{ls, r2, r11}, false, al, "ls r2 r11", "ls_r2_r11"},
446      {{eq, r2, r7}, false, al, "eq r2 r7", "eq_r2_r7"},
447      {{lt, r2, r8}, false, al, "lt r2 r8", "lt_r2_r8"},
448      {{lt, r7, r9}, false, al, "lt r7 r9", "lt_r7_r9"},
449      {{lt, r13, r7}, false, al, "lt r13 r7", "lt_r13_r7"},
450      {{ls, r4, r1}, false, al, "ls r4 r1", "ls_r4_r1"},
451      {{lt, r0, r3}, false, al, "lt r0 r3", "lt_r0_r3"},
452      {{mi, r12, r0}, false, al, "mi r12 r0", "mi_r12_r0"},
453      {{mi, r10, r10}, false, al, "mi r10 r10", "mi_r10_r10"},
454      {{ge, r10, r11}, false, al, "ge r10 r11", "ge_r10_r11"},
455      {{hi, r12, r4}, false, al, "hi r12 r4", "hi_r12_r4"},
456      {{vs, r4, r1}, false, al, "vs r4 r1", "vs_r4_r1"},
457      {{ge, r12, r12}, false, al, "ge r12 r12", "ge_r12_r12"},
458      {{ne, r1, r11}, false, al, "ne r1 r11", "ne_r1_r11"},
459      {{mi, r0, r8}, false, al, "mi r0 r8", "mi_r0_r8"},
460      {{lt, r6, r1}, false, al, "lt r6 r1", "lt_r6_r1"},
461      {{cs, r13, r8}, false, al, "cs r13 r8", "cs_r13_r8"},
462      {{le, r6, r3}, false, al, "le r6 r3", "le_r6_r3"},
463      {{al, r1, r2}, false, al, "al r1 r2", "al_r1_r2"},
464      {{mi, r0, r2}, false, al, "mi r0 r2", "mi_r0_r2"},
465      {{mi, r10, r0}, false, al, "mi r10 r0", "mi_r10_r0"},
466      {{cc, r2, r1}, false, al, "cc r2 r1", "cc_r2_r1"},
467      {{hi, r3, r11}, false, al, "hi r3 r11", "hi_r3_r11"},
468      {{lt, r6, r6}, false, al, "lt r6 r6", "lt_r6_r6"},
469      {{hi, r3, r4}, false, al, "hi r3 r4", "hi_r3_r4"},
470      {{al, r11, r7}, false, al, "al r11 r7", "al_r11_r7"},
471      {{hi, r7, r13}, false, al, "hi r7 r13", "hi_r7_r13"},
472      {{vs, r1, r13}, false, al, "vs r1 r13", "vs_r1_r13"},
473      {{vc, r14, r5}, false, al, "vc r14 r5", "vc_r14_r5"},
474      {{ge, r9, r13}, false, al, "ge r9 r13", "ge_r9_r13"},
475      {{mi, r14, r9}, false, al, "mi r14 r9", "mi_r14_r9"},
476      {{le, r7, r14}, false, al, "le r7 r14", "le_r7_r14"},
477      {{cc, r4, r14}, false, al, "cc r4 r14", "cc_r4_r14"},
478      {{hi, r0, r13}, false, al, "hi r0 r13", "hi_r0_r13"},
479      {{vs, r12, r13}, false, al, "vs r12 r13", "vs_r12_r13"},
480      {{eq, r10, r12}, false, al, "eq r10 r12", "eq_r10_r12"},
481      {{lt, r14, r6}, false, al, "lt r14 r6", "lt_r14_r6"},
482      {{lt, r8, r7}, false, al, "lt r8 r7", "lt_r8_r7"},
483      {{vc, r10, r7}, false, al, "vc r10 r7", "vc_r10_r7"},
484      {{hi, r2, r5}, false, al, "hi r2 r5", "hi_r2_r5"},
485      {{pl, r8, r4}, false, al, "pl r8 r4", "pl_r8_r4"},
486      {{al, r12, r3}, false, al, "al r12 r3", "al_r12_r3"},
487      {{al, r0, r1}, false, al, "al r0 r1", "al_r0_r1"},
488      {{vc, r1, r11}, false, al, "vc r1 r11", "vc_r1_r11"},
489      {{ls, r13, r7}, false, al, "ls r13 r7", "ls_r13_r7"},
490      {{ls, r9, r5}, false, al, "ls r9 r5", "ls_r9_r5"},
491      {{al, r9, r9}, false, al, "al r9 r9", "al_r9_r9"},
492      {{vc, r4, r9}, false, al, "vc r4 r9", "vc_r4_r9"},
493      {{hi, r0, r8}, false, al, "hi r0 r8", "hi_r0_r8"},
494      {{ls, r12, r8}, false, al, "ls r12 r8", "ls_r12_r8"},
495      {{lt, r7, r1}, false, al, "lt r7 r1", "lt_r7_r1"},
496      {{ls, r1, r4}, false, al, "ls r1 r4", "ls_r1_r4"},
497      {{hi, r3, r8}, false, al, "hi r3 r8", "hi_r3_r8"},
498      {{lt, r5, r3}, false, al, "lt r5 r3", "lt_r5_r3"},
499      {{cc, r9, r8}, false, al, "cc r9 r8", "cc_r9_r8"},
500      {{le, r9, r4}, false, al, "le r9 r4", "le_r9_r4"},
501      {{ge, r10, r7}, false, al, "ge r10 r7", "ge_r10_r7"},
502      {{gt, r5, r7}, false, al, "gt r5 r7", "gt_r5_r7"},
503      {{pl, r0, r7}, false, al, "pl r0 r7", "pl_r0_r7"},
504      {{lt, r12, r10}, false, al, "lt r12 r10", "lt_r12_r10"},
505      {{ge, r4, r9}, false, al, "ge r4 r9", "ge_r4_r9"},
506      {{cc, r0, r0}, false, al, "cc r0 r0", "cc_r0_r0"},
507      {{lt, r6, r8}, false, al, "lt r6 r8", "lt_r6_r8"},
508      {{gt, r6, r9}, false, al, "gt r6 r9", "gt_r6_r9"},
509      {{gt, r9, r11}, false, al, "gt r9 r11", "gt_r9_r11"},
510      {{mi, r4, r6}, false, al, "mi r4 r6", "mi_r4_r6"},
511      {{mi, r0, r3}, false, al, "mi r0 r3", "mi_r0_r3"},
512      {{le, r8, r6}, false, al, "le r8 r6", "le_r8_r6"},
513      {{mi, r0, r14}, false, al, "mi r0 r14", "mi_r0_r14"},
514      {{vs, r13, r9}, false, al, "vs r13 r9", "vs_r13_r9"},
515      {{pl, r13, r3}, false, al, "pl r13 r3", "pl_r13_r3"},
516      {{al, r8, r10}, false, al, "al r8 r10", "al_r8_r10"},
517      {{cc, r1, r6}, false, al, "cc r1 r6", "cc_r1_r6"},
518      {{gt, r11, r2}, false, al, "gt r11 r2", "gt_r11_r2"},
519      {{cc, r2, r7}, false, al, "cc r2 r7", "cc_r2_r7"},
520      {{ge, r12, r10}, false, al, "ge r12 r10", "ge_r12_r10"},
521      {{vs, r4, r11}, false, al, "vs r4 r11", "vs_r4_r11"},
522      {{ne, r8, r12}, false, al, "ne r8 r12", "ne_r8_r12"},
523      {{ne, r7, r3}, false, al, "ne r7 r3", "ne_r7_r3"},
524      {{cc, r6, r9}, false, al, "cc r6 r9", "cc_r6_r9"},
525      {{eq, r2, r5}, false, al, "eq r2 r5", "eq_r2_r5"},
526      {{mi, r5, r13}, false, al, "mi r5 r13", "mi_r5_r13"},
527      {{lt, r10, r11}, false, al, "lt r10 r11", "lt_r10_r11"},
528      {{mi, r6, r11}, false, al, "mi r6 r11", "mi_r6_r11"},
529      {{hi, r1, r8}, false, al, "hi r1 r8", "hi_r1_r8"},
530      {{hi, r2, r7}, false, al, "hi r2 r7", "hi_r2_r7"},
531      {{pl, r9, r2}, false, al, "pl r9 r2", "pl_r9_r2"},
532      {{vs, r7, r1}, false, al, "vs r7 r1", "vs_r7_r1"},
533      {{ls, r2, r0}, false, al, "ls r2 r0", "ls_r2_r0"},
534      {{gt, r13, r12}, false, al, "gt r13 r12", "gt_r13_r12"},
535      {{lt, r14, r9}, false, al, "lt r14 r9", "lt_r14_r9"},
536      {{lt, r4, r14}, false, al, "lt r4 r14", "lt_r4_r14"},
537      {{vs, r9, r12}, false, al, "vs r9 r12", "vs_r9_r12"},
538      {{gt, r4, r3}, false, al, "gt r4 r3", "gt_r4_r3"},
539      {{ne, r12, r6}, false, al, "ne r12 r6", "ne_r12_r6"},
540      {{vc, r11, r2}, false, al, "vc r11 r2", "vc_r11_r2"},
541      {{lt, r7, r14}, false, al, "lt r7 r14", "lt_r7_r14"},
542      {{vc, r3, r7}, false, al, "vc r3 r7", "vc_r3_r7"},
543      {{vs, r0, r3}, false, al, "vs r0 r3", "vs_r0_r3"},
544      {{ge, r12, r8}, false, al, "ge r12 r8", "ge_r12_r8"},
545      {{lt, r3, r13}, false, al, "lt r3 r13", "lt_r3_r13"},
546      {{ge, r3, r0}, false, al, "ge r3 r0", "ge_r3_r0"},
547      {{le, r8, r2}, false, al, "le r8 r2", "le_r8_r2"},
548      {{cs, r3, r14}, false, al, "cs r3 r14", "cs_r3_r14"},
549      {{ne, r1, r4}, false, al, "ne r1 r4", "ne_r1_r4"},
550      {{ls, r2, r13}, false, al, "ls r2 r13", "ls_r2_r13"},
551      {{lt, r4, r8}, false, al, "lt r4 r8", "lt_r4_r8"},
552      {{cc, r4, r1}, false, al, "cc r4 r1", "cc_r4_r1"},
553      {{vc, r13, r6}, false, al, "vc r13 r6", "vc_r13_r6"},
554      {{mi, r3, r2}, false, al, "mi r3 r2", "mi_r3_r2"},
555      {{vc, r2, r3}, false, al, "vc r2 r3", "vc_r2_r3"},
556      {{mi, r7, r12}, false, al, "mi r7 r12", "mi_r7_r12"},
557      {{eq, r9, r11}, false, al, "eq r9 r11", "eq_r9_r11"},
558      {{ge, r9, r11}, false, al, "ge r9 r11", "ge_r9_r11"},
559      {{pl, r9, r7}, false, al, "pl r9 r7", "pl_r9_r7"},
560      {{lt, r5, r11}, false, al, "lt r5 r11", "lt_r5_r11"},
561      {{al, r8, r8}, false, al, "al r8 r8", "al_r8_r8"},
562      {{lt, r4, r4}, false, al, "lt r4 r4", "lt_r4_r4"},
563      {{vc, r7, r13}, false, al, "vc r7 r13", "vc_r7_r13"},
564      {{ge, r7, r0}, false, al, "ge r7 r0", "ge_r7_r0"},
565      {{gt, r13, r8}, false, al, "gt r13 r8", "gt_r13_r8"},
566      {{eq, r8, r0}, false, al, "eq r8 r0", "eq_r8_r0"},
567      {{hi, r11, r1}, false, al, "hi r11 r1", "hi_r11_r1"},
568      {{vs, r6, r14}, false, al, "vs r6 r14", "vs_r6_r14"},
569      {{le, r7, r3}, false, al, "le r7 r3", "le_r7_r3"},
570      {{vs, r0, r11}, false, al, "vs r0 r11", "vs_r0_r11"},
571      {{eq, r12, r5}, false, al, "eq r12 r5", "eq_r12_r5"},
572      {{gt, r5, r3}, false, al, "gt r5 r3", "gt_r5_r3"},
573      {{pl, r11, r12}, false, al, "pl r11 r12", "pl_r11_r12"},
574      {{pl, r5, r7}, false, al, "pl r5 r7", "pl_r5_r7"},
575      {{ge, r8, r4}, false, al, "ge r8 r4", "ge_r8_r4"},
576      {{cc, r12, r13}, false, al, "cc r12 r13", "cc_r12_r13"},
577      {{lt, r11, r13}, false, al, "lt r11 r13", "lt_r11_r13"},
578      {{pl, r12, r8}, false, al, "pl r12 r8", "pl_r12_r8"},
579      {{pl, r13, r2}, false, al, "pl r13 r2", "pl_r13_r2"},
580      {{cs, r1, r11}, false, al, "cs r1 r11", "cs_r1_r11"},
581      {{le, r1, r10}, false, al, "le r1 r10", "le_r1_r10"},
582      {{cc, r13, r4}, false, al, "cc r13 r4", "cc_r13_r4"},
583      {{eq, r10, r2}, false, al, "eq r10 r2", "eq_r10_r2"},
584      {{vs, r13, r3}, false, al, "vs r13 r3", "vs_r13_r3"},
585      {{vc, r14, r6}, false, al, "vc r14 r6", "vc_r14_r6"},
586      {{vs, r10, r5}, false, al, "vs r10 r5", "vs_r10_r5"},
587      {{cs, r10, r7}, false, al, "cs r10 r7", "cs_r10_r7"},
588      {{le, r6, r9}, false, al, "le r6 r9", "le_r6_r9"},
589      {{cs, r7, r10}, false, al, "cs r7 r10", "cs_r7_r10"},
590      {{cc, r12, r7}, false, al, "cc r12 r7", "cc_r12_r7"},
591      {{eq, r3, r13}, false, al, "eq r3 r13", "eq_r3_r13"},
592      {{al, r5, r0}, false, al, "al r5 r0", "al_r5_r0"},
593      {{lt, r7, r0}, false, al, "lt r7 r0", "lt_r7_r0"},
594      {{cc, r8, r12}, false, al, "cc r8 r12", "cc_r8_r12"},
595      {{al, r9, r7}, false, al, "al r9 r7", "al_r9_r7"},
596      {{ge, r5, r10}, false, al, "ge r5 r10", "ge_r5_r10"},
597      {{le, r7, r10}, false, al, "le r7 r10", "le_r7_r10"},
598      {{ls, r0, r3}, false, al, "ls r0 r3", "ls_r0_r3"},
599      {{ne, r11, r14}, false, al, "ne r11 r14", "ne_r11_r14"},
600      {{vc, r3, r9}, false, al, "vc r3 r9", "vc_r3_r9"},
601      {{lt, r5, r1}, false, al, "lt r5 r1", "lt_r5_r1"},
602      {{ls, r10, r6}, false, al, "ls r10 r6", "ls_r10_r6"},
603      {{eq, r10, r14}, false, al, "eq r10 r14", "eq_r10_r14"},
604      {{le, r4, r6}, false, al, "le r4 r6", "le_r4_r6"},
605      {{ne, r3, r9}, false, al, "ne r3 r9", "ne_r3_r9"},
606      {{ls, r3, r9}, false, al, "ls r3 r9", "ls_r3_r9"},
607      {{cs, r6, r10}, false, al, "cs r6 r10", "cs_r6_r10"},
608      {{cs, r7, r7}, false, al, "cs r7 r7", "cs_r7_r7"},
609      {{al, r1, r0}, false, al, "al r1 r0", "al_r1_r0"},
610      {{cc, r12, r4}, false, al, "cc r12 r4", "cc_r12_r4"},
611      {{mi, r12, r13}, false, al, "mi r12 r13", "mi_r12_r13"},
612      {{eq, r0, r11}, false, al, "eq r0 r11", "eq_r0_r11"},
613      {{pl, r1, r1}, false, al, "pl r1 r1", "pl_r1_r1"},
614      {{al, r10, r5}, false, al, "al r10 r5", "al_r10_r5"},
615      {{mi, r8, r1}, false, al, "mi r8 r1", "mi_r8_r1"},
616      {{le, r13, r4}, false, al, "le r13 r4", "le_r13_r4"},
617      {{lt, r10, r14}, false, al, "lt r10 r14", "lt_r10_r14"},
618      {{pl, r5, r6}, false, al, "pl r5 r6", "pl_r5_r6"},
619      {{vs, r2, r9}, false, al, "vs r2 r9", "vs_r2_r9"},
620      {{vc, r12, r6}, false, al, "vc r12 r6", "vc_r12_r6"},
621      {{eq, r1, r3}, false, al, "eq r1 r3", "eq_r1_r3"},
622      {{pl, r8, r8}, false, al, "pl r8 r8", "pl_r8_r8"},
623      {{vc, r1, r8}, false, al, "vc r1 r8", "vc_r1_r8"},
624      {{cc, r6, r10}, false, al, "cc r6 r10", "cc_r6_r10"},
625      {{le, r13, r0}, false, al, "le r13 r0", "le_r13_r0"},
626      {{gt, r5, r9}, false, al, "gt r5 r9", "gt_r5_r9"},
627      {{eq, r5, r0}, false, al, "eq r5 r0", "eq_r5_r0"},
628      {{cs, r13, r12}, false, al, "cs r13 r12", "cs_r13_r12"},
629      {{vs, r3, r2}, false, al, "vs r3 r2", "vs_r3_r2"},
630      {{cc, r4, r0}, false, al, "cc r4 r0", "cc_r4_r0"},
631      {{gt, r1, r14}, false, al, "gt r1 r14", "gt_r1_r14"},
632      {{pl, r10, r10}, false, al, "pl r10 r10", "pl_r10_r10"},
633      {{al, r4, r11}, false, al, "al r4 r11", "al_r4_r11"},
634      {{ls, r11, r1}, false, al, "ls r11 r1", "ls_r11_r1"},
635      {{cs, r5, r9}, false, al, "cs r5 r9", "cs_r5_r9"},
636      {{pl, r3, r5}, false, al, "pl r3 r5", "pl_r3_r5"},
637      {{cs, r0, r4}, false, al, "cs r0 r4", "cs_r0_r4"},
638      {{gt, r11, r0}, false, al, "gt r11 r0", "gt_r11_r0"},
639      {{ge, r12, r9}, false, al, "ge r12 r9", "ge_r12_r9"},
640      {{vc, r6, r6}, false, al, "vc r6 r6", "vc_r6_r6"},
641      {{pl, r10, r12}, false, al, "pl r10 r12", "pl_r10_r12"},
642      {{lt, r4, r11}, false, al, "lt r4 r11", "lt_r4_r11"},
643      {{eq, r9, r3}, false, al, "eq r9 r3", "eq_r9_r3"},
644      {{mi, r4, r12}, false, al, "mi r4 r12", "mi_r4_r12"},
645      {{eq, r9, r10}, false, al, "eq r9 r10", "eq_r9_r10"},
646      {{le, r5, r12}, false, al, "le r5 r12", "le_r5_r12"},
647      {{lt, r14, r11}, false, al, "lt r14 r11", "lt_r14_r11"},
648      {{ne, r10, r14}, false, al, "ne r10 r14", "ne_r10_r14"},
649      {{cs, r13, r7}, false, al, "cs r13 r7", "cs_r13_r7"},
650      {{ls, r11, r5}, false, al, "ls r11 r5", "ls_r11_r5"},
651      {{cs, r14, r10}, false, al, "cs r14 r10", "cs_r14_r10"},
652      {{ls, r1, r5}, false, al, "ls r1 r5", "ls_r1_r5"},
653      {{le, r8, r11}, false, al, "le r8 r11", "le_r8_r11"},
654      {{lt, r7, r12}, false, al, "lt r7 r12", "lt_r7_r12"},
655      {{vs, r13, r7}, false, al, "vs r13 r7", "vs_r13_r7"},
656      {{le, r0, r9}, false, al, "le r0 r9", "le_r0_r9"},
657      {{mi, r10, r9}, false, al, "mi r10 r9", "mi_r10_r9"},
658      {{mi, r6, r13}, false, al, "mi r6 r13", "mi_r6_r13"},
659      {{pl, r10, r4}, false, al, "pl r10 r4", "pl_r10_r4"},
660      {{vc, r0, r9}, false, al, "vc r0 r9", "vc_r0_r9"},
661      {{mi, r3, r4}, false, al, "mi r3 r4", "mi_r3_r4"},
662      {{le, r4, r14}, false, al, "le r4 r14", "le_r4_r14"},
663      {{cc, r9, r12}, false, al, "cc r9 r12", "cc_r9_r12"},
664      {{pl, r14, r0}, false, al, "pl r14 r0", "pl_r14_r0"},
665      {{ne, r8, r10}, false, al, "ne r8 r10", "ne_r8_r10"},
666      {{le, r3, r12}, false, al, "le r3 r12", "le_r3_r12"},
667      {{cc, r11, r5}, false, al, "cc r11 r5", "cc_r11_r5"},
668      {{gt, r6, r13}, false, al, "gt r6 r13", "gt_r6_r13"},
669      {{gt, r5, r11}, false, al, "gt r5 r11", "gt_r5_r11"},
670      {{ne, r12, r3}, false, al, "ne r12 r3", "ne_r12_r3"},
671      {{gt, r9, r0}, false, al, "gt r9 r0", "gt_r9_r0"},
672      {{ls, r1, r13}, false, al, "ls r1 r13", "ls_r1_r13"},
673      {{cs, r9, r2}, false, al, "cs r9 r2", "cs_r9_r2"},
674      {{vs, r1, r0}, false, al, "vs r1 r0", "vs_r1_r0"},
675      {{hi, r1, r6}, false, al, "hi r1 r6", "hi_r1_r6"},
676      {{ls, r3, r3}, false, al, "ls r3 r3", "ls_r3_r3"},
677      {{cs, r12, r4}, false, al, "cs r12 r4", "cs_r12_r4"},
678      {{vc, r8, r5}, false, al, "vc r8 r5", "vc_r8_r5"},
679      {{gt, r2, r8}, false, al, "gt r2 r8", "gt_r2_r8"},
680      {{mi, r10, r13}, false, al, "mi r10 r13", "mi_r10_r13"},
681      {{vs, r5, r4}, false, al, "vs r5 r4", "vs_r5_r4"},
682      {{mi, r14, r1}, false, al, "mi r14 r1", "mi_r14_r1"},
683      {{le, r10, r5}, false, al, "le r10 r5", "le_r10_r5"},
684      {{lt, r14, r8}, false, al, "lt r14 r8", "lt_r14_r8"},
685      {{le, r7, r4}, false, al, "le r7 r4", "le_r7_r4"},
686      {{eq, r13, r13}, false, al, "eq r13 r13", "eq_r13_r13"},
687      {{lt, r11, r14}, false, al, "lt r11 r14", "lt_r11_r14"},
688      {{ne, r3, r6}, false, al, "ne r3 r6", "ne_r3_r6"},
689      {{vs, r4, r8}, false, al, "vs r4 r8", "vs_r4_r8"},
690      {{gt, r5, r2}, false, al, "gt r5 r2", "gt_r5_r2"},
691      {{hi, r4, r2}, false, al, "hi r4 r2", "hi_r4_r2"},
692      {{ne, r13, r6}, false, al, "ne r13 r6", "ne_r13_r6"},
693      {{cs, r3, r2}, false, al, "cs r3 r2", "cs_r3_r2"},
694      {{gt, r0, r3}, false, al, "gt r0 r3", "gt_r0_r3"},
695      {{vs, r9, r7}, false, al, "vs r9 r7", "vs_r9_r7"},
696      {{cc, r7, r5}, false, al, "cc r7 r5", "cc_r7_r5"},
697      {{eq, r14, r4}, false, al, "eq r14 r4", "eq_r14_r4"},
698      {{cc, r1, r14}, false, al, "cc r1 r14", "cc_r1_r14"},
699      {{ne, r1, r3}, false, al, "ne r1 r3", "ne_r1_r3"},
700      {{gt, r12, r10}, false, al, "gt r12 r10", "gt_r12_r10"},
701      {{ne, r5, r3}, false, al, "ne r5 r3", "ne_r5_r3"},
702      {{hi, r14, r1}, false, al, "hi r14 r1", "hi_r14_r1"},
703      {{cc, r5, r2}, false, al, "cc r5 r2", "cc_r5_r2"},
704      {{cc, r0, r5}, false, al, "cc r0 r5", "cc_r0_r5"},
705      {{vc, r5, r6}, false, al, "vc r5 r6", "vc_r5_r6"},
706      {{eq, r6, r6}, false, al, "eq r6 r6", "eq_r6_r6"},
707      {{cc, r12, r6}, false, al, "cc r12 r6", "cc_r12_r6"},
708      {{vs, r10, r0}, false, al, "vs r10 r0", "vs_r10_r0"},
709      {{pl, r14, r5}, false, al, "pl r14 r5", "pl_r14_r5"},
710      {{gt, r0, r13}, false, al, "gt r0 r13", "gt_r0_r13"},
711      {{cc, r5, r9}, false, al, "cc r5 r9", "cc_r5_r9"},
712      {{ne, r14, r3}, false, al, "ne r14 r3", "ne_r14_r3"},
713      {{lt, r11, r9}, false, al, "lt r11 r9", "lt_r11_r9"},
714      {{mi, r3, r12}, false, al, "mi r3 r12", "mi_r3_r12"},
715      {{eq, r0, r0}, false, al, "eq r0 r0", "eq_r0_r0"},
716      {{al, r10, r0}, false, al, "al r10 r0", "al_r10_r0"},
717      {{cc, r13, r9}, false, al, "cc r13 r9", "cc_r13_r9"},
718      {{mi, r10, r6}, false, al, "mi r10 r6", "mi_r10_r6"},
719      {{ge, r13, r1}, false, al, "ge r13 r1", "ge_r13_r1"},
720      {{lt, r0, r1}, false, al, "lt r0 r1", "lt_r0_r1"},
721      {{cc, r11, r8}, false, al, "cc r11 r8", "cc_r11_r8"},
722      {{hi, r11, r10}, false, al, "hi r11 r10", "hi_r11_r10"},
723      {{pl, r0, r10}, false, al, "pl r0 r10", "pl_r0_r10"},
724      {{al, r6, r9}, false, al, "al r6 r9", "al_r6_r9"},
725      {{ge, r1, r9}, false, al, "ge r1 r9", "ge_r1_r9"},
726      {{cc, r11, r7}, false, al, "cc r11 r7", "cc_r11_r7"},
727      {{ge, r14, r2}, false, al, "ge r14 r2", "ge_r14_r2"},
728      {{le, r4, r2}, false, al, "le r4 r2", "le_r4_r2"},
729      {{ne, r8, r9}, false, al, "ne r8 r9", "ne_r8_r9"},
730      {{cc, r1, r0}, false, al, "cc r1 r0", "cc_r1_r0"},
731      {{al, r0, r9}, false, al, "al r0 r9", "al_r0_r9"},
732      {{ge, r4, r14}, false, al, "ge r4 r14", "ge_r4_r14"},
733      {{ne, r6, r9}, false, al, "ne r6 r9", "ne_r6_r9"},
734      {{al, r0, r8}, false, al, "al r0 r8", "al_r0_r8"},
735      {{ne, r7, r11}, false, al, "ne r7 r11", "ne_r7_r11"},
736      {{lt, r6, r4}, false, al, "lt r6 r4", "lt_r6_r4"},
737      {{ls, r1, r3}, false, al, "ls r1 r3", "ls_r1_r3"},
738      {{eq, r10, r4}, false, al, "eq r10 r4", "eq_r10_r4"},
739      {{ge, r2, r5}, false, al, "ge r2 r5", "ge_r2_r5"},
740      {{ge, r2, r9}, false, al, "ge r2 r9", "ge_r2_r9"},
741      {{cc, r12, r1}, false, al, "cc r12 r1", "cc_r12_r1"},
742      {{eq, r6, r4}, false, al, "eq r6 r4", "eq_r6_r4"},
743      {{cc, r14, r3}, false, al, "cc r14 r3", "cc_r14_r3"},
744      {{le, r14, r13}, false, al, "le r14 r13", "le_r14_r13"},
745      {{ge, r13, r4}, false, al, "ge r13 r4", "ge_r13_r4"},
746      {{lt, r11, r12}, false, al, "lt r11 r12", "lt_r11_r12"},
747      {{al, r5, r6}, false, al, "al r5 r6", "al_r5_r6"},
748      {{vs, r0, r7}, false, al, "vs r0 r7", "vs_r0_r7"},
749      {{ne, r13, r10}, false, al, "ne r13 r10", "ne_r13_r10"},
750      {{ge, r6, r0}, false, al, "ge r6 r0", "ge_r6_r0"},
751      {{vs, r0, r12}, false, al, "vs r0 r12", "vs_r0_r12"},
752      {{ne, r6, r4}, false, al, "ne r6 r4", "ne_r6_r4"},
753      {{mi, r3, r5}, false, al, "mi r3 r5", "mi_r3_r5"},
754      {{vc, r9, r10}, false, al, "vc r9 r10", "vc_r9_r10"},
755      {{al, r11, r12}, false, al, "al r11 r12", "al_r11_r12"},
756      {{ne, r10, r5}, false, al, "ne r10 r5", "ne_r10_r5"},
757      {{al, r12, r9}, false, al, "al r12 r9", "al_r12_r9"},
758      {{cs, r5, r5}, false, al, "cs r5 r5", "cs_r5_r5"},
759      {{ls, r12, r12}, false, al, "ls r12 r12", "ls_r12_r12"},
760      {{vs, r3, r11}, false, al, "vs r3 r11", "vs_r3_r11"},
761      {{lt, r5, r4}, false, al, "lt r5 r4", "lt_r5_r4"},
762      {{al, r0, r7}, false, al, "al r0 r7", "al_r0_r7"},
763      {{lt, r0, r0}, false, al, "lt r0 r0", "lt_r0_r0"},
764      {{eq, r3, r4}, false, al, "eq r3 r4", "eq_r3_r4"},
765      {{cc, r7, r10}, false, al, "cc r7 r10", "cc_r7_r10"},
766      {{al, r1, r14}, false, al, "al r1 r14", "al_r1_r14"},
767      {{hi, r9, r1}, false, al, "hi r9 r1", "hi_r9_r1"},
768      {{vs, r2, r7}, false, al, "vs r2 r7", "vs_r2_r7"},
769      {{pl, r3, r0}, false, al, "pl r3 r0", "pl_r3_r0"},
770      {{cc, r5, r13}, false, al, "cc r5 r13", "cc_r5_r13"},
771      {{al, r7, r7}, false, al, "al r7 r7", "al_r7_r7"},
772      {{cc, r4, r7}, false, al, "cc r4 r7", "cc_r4_r7"},
773      {{ls, r13, r10}, false, al, "ls r13 r10", "ls_r13_r10"},
774      {{ge, r3, r6}, false, al, "ge r3 r6", "ge_r3_r6"},
775      {{ls, r11, r0}, false, al, "ls r11 r0", "ls_r11_r0"},
776      {{eq, r9, r0}, false, al, "eq r9 r0", "eq_r9_r0"},
777      {{lt, r10, r7}, false, al, "lt r10 r7", "lt_r10_r7"},
778      {{al, r11, r3}, false, al, "al r11 r3", "al_r11_r3"},
779      {{pl, r2, r3}, false, al, "pl r2 r3", "pl_r2_r3"},
780      {{eq, r9, r2}, false, al, "eq r9 r2", "eq_r9_r2"},
781      {{le, r2, r8}, false, al, "le r2 r8", "le_r2_r8"},
782      {{vs, r2, r11}, false, al, "vs r2 r11", "vs_r2_r11"},
783      {{ge, r11, r1}, false, al, "ge r11 r1", "ge_r11_r1"},
784      {{gt, r10, r14}, false, al, "gt r10 r14", "gt_r10_r14"},
785      {{al, r13, r13}, false, al, "al r13 r13", "al_r13_r13"},
786      {{hi, r13, r8}, false, al, "hi r13 r8", "hi_r13_r8"},
787      {{hi, r9, r4}, false, al, "hi r9 r4", "hi_r9_r4"},
788      {{ge, r0, r5}, false, al, "ge r0 r5", "ge_r0_r5"},
789      {{pl, r2, r2}, false, al, "pl r2 r2", "pl_r2_r2"},
790      {{ne, r14, r8}, false, al, "ne r14 r8", "ne_r14_r8"},
791      {{eq, r2, r4}, false, al, "eq r2 r4", "eq_r2_r4"},
792      {{lt, r3, r5}, false, al, "lt r3 r5", "lt_r3_r5"},
793      {{cs, r8, r6}, false, al, "cs r8 r6", "cs_r8_r6"},
794      {{cs, r0, r14}, false, al, "cs r0 r14", "cs_r0_r14"},
795      {{vs, r9, r6}, false, al, "vs r9 r6", "vs_r9_r6"},
796      {{hi, r7, r6}, false, al, "hi r7 r6", "hi_r7_r6"},
797      {{mi, r9, r11}, false, al, "mi r9 r11", "mi_r9_r11"},
798      {{mi, r2, r4}, false, al, "mi r2 r4", "mi_r2_r4"},
799      {{vs, r4, r10}, false, al, "vs r4 r10", "vs_r4_r10"},
800      {{ne, r8, r3}, false, al, "ne r8 r3", "ne_r8_r3"},
801      {{hi, r13, r7}, false, al, "hi r13 r7", "hi_r13_r7"},
802      {{hi, r0, r0}, false, al, "hi r0 r0", "hi_r0_r0"},
803      {{cs, r14, r12}, false, al, "cs r14 r12", "cs_r14_r12"},
804      {{vs, r10, r10}, false, al, "vs r10 r10", "vs_r10_r10"},
805      {{al, r2, r14}, false, al, "al r2 r14", "al_r2_r14"},
806      {{gt, r5, r1}, false, al, "gt r5 r1", "gt_r5_r1"},
807      {{le, r12, r6}, false, al, "le r12 r6", "le_r12_r6"},
808      {{eq, r4, r9}, false, al, "eq r4 r9", "eq_r4_r9"},
809      {{mi, r13, r13}, false, al, "mi r13 r13", "mi_r13_r13"},
810      {{vc, r8, r9}, false, al, "vc r8 r9", "vc_r8_r9"},
811      {{vs, r8, r0}, false, al, "vs r8 r0", "vs_r8_r0"},
812      {{pl, r5, r10}, false, al, "pl r5 r10", "pl_r5_r10"},
813      {{ls, r0, r7}, false, al, "ls r0 r7", "ls_r0_r7"},
814      {{cs, r12, r8}, false, al, "cs r12 r8", "cs_r12_r8"},
815      {{ne, r11, r11}, false, al, "ne r11 r11", "ne_r11_r11"},
816      {{ne, r6, r3}, false, al, "ne r6 r3", "ne_r6_r3"},
817      {{pl, r1, r2}, false, al, "pl r1 r2", "pl_r1_r2"},
818      {{ne, r6, r0}, false, al, "ne r6 r0", "ne_r6_r0"},
819      {{ne, r2, r8}, false, al, "ne r2 r8", "ne_r2_r8"},
820      {{al, r0, r10}, false, al, "al r0 r10", "al_r0_r10"},
821      {{mi, r2, r0}, false, al, "mi r2 r0", "mi_r2_r0"},
822      {{vc, r3, r14}, false, al, "vc r3 r14", "vc_r3_r14"},
823      {{al, r4, r0}, false, al, "al r4 r0", "al_r4_r0"},
824      {{ls, r5, r13}, false, al, "ls r5 r13", "ls_r5_r13"},
825      {{vc, r7, r14}, false, al, "vc r7 r14", "vc_r7_r14"},
826      {{pl, r6, r3}, false, al, "pl r6 r3", "pl_r6_r3"},
827      {{cc, r4, r5}, false, al, "cc r4 r5", "cc_r4_r5"},
828      {{gt, r3, r12}, false, al, "gt r3 r12", "gt_r3_r12"},
829      {{ge, r9, r1}, false, al, "ge r9 r1", "ge_r9_r1"},
830      {{cs, r1, r7}, false, al, "cs r1 r7", "cs_r1_r7"},
831      {{ge, r3, r5}, false, al, "ge r3 r5", "ge_r3_r5"},
832      {{mi, r2, r1}, false, al, "mi r2 r1", "mi_r2_r1"},
833      {{vc, r1, r7}, false, al, "vc r1 r7", "vc_r1_r7"},
834      {{cs, r5, r13}, false, al, "cs r5 r13", "cs_r5_r13"},
835      {{ge, r10, r5}, false, al, "ge r10 r5", "ge_r10_r5"},
836      {{vc, r4, r14}, false, al, "vc r4 r14", "vc_r4_r14"},
837      {{ge, r12, r1}, false, al, "ge r12 r1", "ge_r12_r1"},
838      {{pl, r3, r10}, false, al, "pl r3 r10", "pl_r3_r10"},
839      {{vs, r0, r2}, false, al, "vs r0 r2", "vs_r0_r2"},
840      {{eq, r7, r5}, false, al, "eq r7 r5", "eq_r7_r5"},
841      {{pl, r13, r10}, false, al, "pl r13 r10", "pl_r13_r10"},
842      {{le, r6, r6}, false, al, "le r6 r6", "le_r6_r6"},
843      {{pl, r9, r4}, false, al, "pl r9 r4", "pl_r9_r4"},
844      {{pl, r1, r5}, false, al, "pl r1 r5", "pl_r1_r5"},
845      {{pl, r11, r5}, false, al, "pl r11 r5", "pl_r11_r5"},
846      {{al, r1, r13}, false, al, "al r1 r13", "al_r1_r13"},
847      {{mi, r6, r9}, false, al, "mi r6 r9", "mi_r6_r9"},
848      {{pl, r7, r7}, false, al, "pl r7 r7", "pl_r7_r7"},
849      {{pl, r6, r2}, false, al, "pl r6 r2", "pl_r6_r2"},
850      {{vc, r4, r11}, false, al, "vc r4 r11", "vc_r4_r11"},
851      {{ge, r5, r1}, false, al, "ge r5 r1", "ge_r5_r1"},
852      {{ls, r2, r7}, false, al, "ls r2 r7", "ls_r2_r7"},
853      {{hi, r4, r5}, false, al, "hi r4 r5", "hi_r4_r5"},
854      {{eq, r3, r8}, false, al, "eq r3 r8", "eq_r3_r8"},
855      {{eq, r8, r1}, false, al, "eq r8 r1", "eq_r8_r1"},
856      {{eq, r3, r12}, false, al, "eq r3 r12", "eq_r3_r12"},
857      {{eq, r7, r13}, false, al, "eq r7 r13", "eq_r7_r13"},
858      {{mi, r11, r1}, false, al, "mi r11 r1", "mi_r11_r1"},
859      {{ne, r13, r8}, false, al, "ne r13 r8", "ne_r13_r8"},
860      {{mi, r1, r12}, false, al, "mi r1 r12", "mi_r1_r12"},
861      {{vc, r13, r4}, false, al, "vc r13 r4", "vc_r13_r4"},
862      {{vc, r2, r14}, false, al, "vc r2 r14", "vc_r2_r14"},
863      {{mi, r11, r6}, false, al, "mi r11 r6", "mi_r11_r6"},
864      {{le, r5, r9}, false, al, "le r5 r9", "le_r5_r9"},
865      {{vs, r9, r10}, false, al, "vs r9 r10", "vs_r9_r10"},
866      {{hi, r9, r13}, false, al, "hi r9 r13", "hi_r9_r13"},
867      {{cc, r12, r2}, false, al, "cc r12 r2", "cc_r12_r2"},
868      {{gt, r7, r12}, false, al, "gt r7 r12", "gt_r7_r12"},
869      {{vc, r10, r3}, false, al, "vc r10 r3", "vc_r10_r3"},
870      {{ge, r4, r2}, false, al, "ge r4 r2", "ge_r4_r2"},
871      {{gt, r14, r12}, false, al, "gt r14 r12", "gt_r14_r12"},
872      {{mi, r12, r9}, false, al, "mi r12 r9", "mi_r12_r9"},
873      {{cc, r10, r5}, false, al, "cc r10 r5", "cc_r10_r5"},
874      {{eq, r9, r4}, false, al, "eq r9 r4", "eq_r9_r4"},
875      {{lt, r2, r14}, false, al, "lt r2 r14", "lt_r2_r14"},
876      {{le, r10, r6}, false, al, "le r10 r6", "le_r10_r6"},
877      {{lt, r12, r3}, false, al, "lt r12 r3", "lt_r12_r3"},
878      {{ls, r13, r9}, false, al, "ls r13 r9", "ls_r13_r9"},
879      {{lt, r2, r7}, false, al, "lt r2 r7", "lt_r2_r7"},
880      {{pl, r9, r3}, false, al, "pl r9 r3", "pl_r9_r3"},
881      {{al, r11, r5}, false, al, "al r11 r5", "al_r11_r5"},
882      {{ls, r13, r12}, false, al, "ls r13 r12", "ls_r13_r12"},
883      {{lt, r12, r7}, false, al, "lt r12 r7", "lt_r12_r7"},
884      {{hi, r2, r4}, false, al, "hi r2 r4", "hi_r2_r4"},
885      {{vs, r1, r10}, false, al, "vs r1 r10", "vs_r1_r10"},
886      {{ne, r2, r6}, false, al, "ne r2 r6", "ne_r2_r6"},
887      {{al, r12, r14}, false, al, "al r12 r14", "al_r12_r14"},
888      {{eq, r11, r13}, false, al, "eq r11 r13", "eq_r11_r13"},
889      {{ls, r0, r12}, false, al, "ls r0 r12", "ls_r0_r12"},
890      {{gt, r3, r8}, false, al, "gt r3 r8", "gt_r3_r8"},
891      {{hi, r13, r10}, false, al, "hi r13 r10", "hi_r13_r10"},
892      {{ge, r13, r10}, false, al, "ge r13 r10", "ge_r13_r10"},
893      {{gt, r2, r11}, false, al, "gt r2 r11", "gt_r2_r11"},
894      {{pl, r7, r11}, false, al, "pl r7 r11", "pl_r7_r11"},
895      {{le, r11, r11}, false, al, "le r11 r11", "le_r11_r11"},
896      {{mi, r8, r9}, false, al, "mi r8 r9", "mi_r8_r9"},
897      {{lt, r14, r1}, false, al, "lt r14 r1", "lt_r14_r1"},
898      {{vs, r10, r8}, false, al, "vs r10 r8", "vs_r10_r8"},
899      {{gt, r3, r7}, false, al, "gt r3 r7", "gt_r3_r7"},
900      {{cs, r11, r8}, false, al, "cs r11 r8", "cs_r11_r8"},
901      {{ls, r7, r7}, false, al, "ls r7 r7", "ls_r7_r7"},
902      {{ge, r14, r5}, false, al, "ge r14 r5", "ge_r14_r5"},
903      {{vc, r5, r9}, false, al, "vc r5 r9", "vc_r5_r9"},
904      {{vs, r6, r12}, false, al, "vs r6 r12", "vs_r6_r12"},
905      {{vc, r8, r7}, false, al, "vc r8 r7", "vc_r8_r7"},
906      {{ls, r14, r10}, false, al, "ls r14 r10", "ls_r14_r10"},
907      {{gt, r5, r12}, false, al, "gt r5 r12", "gt_r5_r12"},
908      {{ge, r6, r6}, false, al, "ge r6 r6", "ge_r6_r6"},
909      {{vc, r9, r3}, false, al, "vc r9 r3", "vc_r9_r3"},
910      {{lt, r11, r7}, false, al, "lt r11 r7", "lt_r11_r7"},
911      {{le, r13, r12}, false, al, "le r13 r12", "le_r13_r12"},
912      {{gt, r6, r12}, false, al, "gt r6 r12", "gt_r6_r12"},
913      {{ge, r8, r5}, false, al, "ge r8 r5", "ge_r8_r5"},
914      {{hi, r13, r11}, false, al, "hi r13 r11", "hi_r13_r11"},
915      {{ge, r14, r6}, false, al, "ge r14 r6", "ge_r14_r6"},
916      {{ls, r6, r1}, false, al, "ls r6 r1", "ls_r6_r1"},
917      {{lt, r13, r10}, false, al, "lt r13 r10", "lt_r13_r10"},
918      {{gt, r4, r11}, false, al, "gt r4 r11", "gt_r4_r11"},
919      {{eq, r3, r14}, false, al, "eq r3 r14", "eq_r3_r14"},
920      {{ls, r10, r12}, false, al, "ls r10 r12", "ls_r10_r12"},
921      {{mi, r12, r12}, false, al, "mi r12 r12", "mi_r12_r12"},
922      {{mi, r7, r6}, false, al, "mi r7 r6", "mi_r7_r6"},
923      {{eq, r8, r7}, false, al, "eq r8 r7", "eq_r8_r7"},
924      {{cc, r6, r13}, false, al, "cc r6 r13", "cc_r6_r13"},
925      {{hi, r8, r11}, false, al, "hi r8 r11", "hi_r8_r11"},
926      {{vc, r0, r6}, false, al, "vc r0 r6", "vc_r0_r6"},
927      {{cc, r9, r2}, false, al, "cc r9 r2", "cc_r9_r2"},
928      {{mi, r10, r7}, false, al, "mi r10 r7", "mi_r10_r7"},
929      {{ne, r14, r4}, false, al, "ne r14 r4", "ne_r14_r4"},
930      {{al, r9, r12}, false, al, "al r9 r12", "al_r9_r12"},
931      {{ge, r0, r14}, false, al, "ge r0 r14", "ge_r0_r14"},
932      {{eq, r1, r14}, false, al, "eq r1 r14", "eq_r1_r14"},
933      {{vs, r6, r3}, false, al, "vs r6 r3", "vs_r6_r3"},
934      {{ge, r1, r10}, false, al, "ge r1 r10", "ge_r1_r10"},
935      {{ls, r13, r2}, false, al, "ls r13 r2", "ls_r13_r2"},
936      {{le, r11, r7}, false, al, "le r11 r7", "le_r11_r7"},
937      {{pl, r12, r4}, false, al, "pl r12 r4", "pl_r12_r4"},
938      {{gt, r6, r5}, false, al, "gt r6 r5", "gt_r6_r5"},
939      {{ge, r13, r11}, false, al, "ge r13 r11", "ge_r13_r11"},
940      {{pl, r2, r4}, false, al, "pl r2 r4", "pl_r2_r4"},
941      {{ls, r7, r11}, false, al, "ls r7 r11", "ls_r7_r11"},
942      {{eq, r14, r1}, false, al, "eq r14 r1", "eq_r14_r1"},
943      {{cs, r3, r12}, false, al, "cs r3 r12", "cs_r3_r12"},
944      {{vs, r2, r4}, false, al, "vs r2 r4", "vs_r2_r4"},
945      {{ls, r3, r12}, false, al, "ls r3 r12", "ls_r3_r12"},
946      {{cs, r13, r11}, false, al, "cs r13 r11", "cs_r13_r11"},
947      {{cs, r6, r0}, false, al, "cs r6 r0", "cs_r6_r0"},
948      {{hi, r6, r13}, false, al, "hi r6 r13", "hi_r6_r13"},
949      {{ls, r12, r14}, false, al, "ls r12 r14", "ls_r12_r14"},
950      {{gt, r1, r1}, false, al, "gt r1 r1", "gt_r1_r1"},
951      {{al, r11, r10}, false, al, "al r11 r10", "al_r11_r10"},
952      {{ge, r11, r7}, false, al, "ge r11 r7", "ge_r11_r7"},
953      {{vs, r13, r0}, false, al, "vs r13 r0", "vs_r13_r0"},
954      {{gt, r8, r12}, false, al, "gt r8 r12", "gt_r8_r12"},
955      {{al, r1, r12}, false, al, "al r1 r12", "al_r1_r12"},
956      {{lt, r3, r10}, false, al, "lt r3 r10", "lt_r3_r10"},
957      {{ls, r8, r8}, false, al, "ls r8 r8", "ls_r8_r8"},
958      {{ge, r6, r10}, false, al, "ge r6 r10", "ge_r6_r10"},
959      {{hi, r4, r1}, false, al, "hi r4 r1", "hi_r4_r1"},
960      {{cs, r2, r6}, false, al, "cs r2 r6", "cs_r2_r6"},
961      {{pl, r8, r0}, false, al, "pl r8 r0", "pl_r8_r0"},
962      {{al, r8, r14}, false, al, "al r8 r14", "al_r8_r14"},
963      {{cs, r1, r2}, false, al, "cs r1 r2", "cs_r1_r2"},
964      {{gt, r7, r11}, false, al, "gt r7 r11", "gt_r7_r11"},
965      {{lt, r0, r10}, false, al, "lt r0 r10", "lt_r0_r10"},
966      {{ls, r7, r3}, false, al, "ls r7 r3", "ls_r7_r3"},
967      {{cc, r8, r4}, false, al, "cc r8 r4", "cc_r8_r4"},
968      {{hi, r7, r4}, false, al, "hi r7 r4", "hi_r7_r4"},
969      {{ne, r1, r2}, false, al, "ne r1 r2", "ne_r1_r2"},
970      {{mi, r2, r8}, false, al, "mi r2 r8", "mi_r2_r8"},
971      {{al, r2, r2}, false, al, "al r2 r2", "al_r2_r2"},
972      {{ge, r8, r3}, false, al, "ge r8 r3", "ge_r8_r3"},
973      {{mi, r3, r9}, false, al, "mi r3 r9", "mi_r3_r9"},
974      {{gt, r2, r7}, false, al, "gt r2 r7", "gt_r2_r7"},
975      {{pl, r5, r8}, false, al, "pl r5 r8", "pl_r5_r8"},
976      {{ne, r12, r2}, false, al, "ne r12 r2", "ne_r12_r2"},
977      {{vs, r13, r2}, false, al, "vs r13 r2", "vs_r13_r2"},
978      {{gt, r13, r5}, false, al, "gt r13 r5", "gt_r13_r5"},
979      {{ls, r1, r7}, false, al, "ls r1 r7", "ls_r1_r7"},
980      {{ls, r4, r3}, false, al, "ls r4 r3", "ls_r4_r3"},
981      {{mi, r4, r10}, false, al, "mi r4 r10", "mi_r4_r10"},
982      {{vs, r4, r2}, false, al, "vs r4 r2", "vs_r4_r2"},
983      {{le, r13, r5}, false, al, "le r13 r5", "le_r13_r5"},
984      {{vc, r0, r11}, false, al, "vc r0 r11", "vc_r0_r11"},
985      {{pl, r4, r8}, false, al, "pl r4 r8", "pl_r4_r8"},
986      {{ge, r11, r14}, false, al, "ge r11 r14", "ge_r11_r14"},
987      {{ne, r6, r14}, false, al, "ne r6 r14", "ne_r6_r14"},
988      {{eq, r1, r11}, false, al, "eq r1 r11", "eq_r1_r11"},
989      {{vs, r14, r12}, false, al, "vs r14 r12", "vs_r14_r12"},
990      {{mi, r7, r0}, false, al, "mi r7 r0", "mi_r7_r0"},
991      {{vs, r1, r3}, false, al, "vs r1 r3", "vs_r1_r3"},
992      {{hi, r10, r13}, false, al, "hi r10 r13", "hi_r10_r13"},
993      {{ne, r5, r8}, false, al, "ne r5 r8", "ne_r5_r8"},
994      {{vc, r14, r0}, false, al, "vc r14 r0", "vc_r14_r0"},
995      {{al, r14, r2}, false, al, "al r14 r2", "al_r14_r2"},
996      {{lt, r0, r5}, false, al, "lt r0 r5", "lt_r0_r5"},
997      {{cs, r7, r3}, false, al, "cs r7 r3", "cs_r7_r3"},
998      {{lt, r0, r6}, false, al, "lt r0 r6", "lt_r0_r6"},
999      {{ne, r13, r2}, false, al, "ne r13 r2", "ne_r13_r2"},
1000      {{hi, r10, r14}, false, al, "hi r10 r14", "hi_r10_r14"},
1001      {{ge, r7, r2}, false, al, "ge r7 r2", "ge_r7_r2"},
1002      {{mi, r0, r13}, false, al, "mi r0 r13", "mi_r0_r13"},
1003      {{ne, r2, r5}, false, al, "ne r2 r5", "ne_r2_r5"},
1004      {{eq, r5, r6}, false, al, "eq r5 r6", "eq_r5_r6"},
1005      {{eq, r10, r5}, false, al, "eq r10 r5", "eq_r10_r5"},
1006      {{eq, r2, r3}, false, al, "eq r2 r3", "eq_r2_r3"},
1007      {{cc, r13, r1}, false, al, "cc r13 r1", "cc_r13_r1"},
1008      {{eq, r7, r0}, false, al, "eq r7 r0", "eq_r7_r0"},
1009      {{pl, r12, r6}, false, al, "pl r12 r6", "pl_r12_r6"},
1010      {{le, r3, r1}, false, al, "le r3 r1", "le_r3_r1"},
1011      {{eq, r3, r6}, false, al, "eq r3 r6", "eq_r3_r6"},
1012      {{mi, r7, r10}, false, al, "mi r7 r10", "mi_r7_r10"},
1013      {{le, r5, r0}, false, al, "le r5 r0", "le_r5_r0"},
1014      {{lt, r13, r11}, false, al, "lt r13 r11", "lt_r13_r11"},
1015      {{al, r13, r10}, false, al, "al r13 r10", "al_r13_r10"},
1016      {{cc, r6, r14}, false, al, "cc r6 r14", "cc_r6_r14"},
1017      {{gt, r12, r12}, false, al, "gt r12 r12", "gt_r12_r12"},
1018      {{hi, r5, r5}, false, al, "hi r5 r5", "hi_r5_r5"},
1019      {{gt, r14, r6}, false, al, "gt r14 r6", "gt_r14_r6"},
1020      {{vc, r2, r11}, false, al, "vc r2 r11", "vc_r2_r11"},
1021      {{ne, r0, r2}, false, al, "ne r0 r2", "ne_r0_r2"},
1022      {{mi, r10, r12}, false, al, "mi r10 r12", "mi_r10_r12"},
1023      {{vc, r11, r4}, false, al, "vc r11 r4", "vc_r11_r4"},
1024      {{ls, r4, r13}, false, al, "ls r4 r13", "ls_r4_r13"},
1025      {{vs, r8, r9}, false, al, "vs r8 r9", "vs_r8_r9"},
1026      {{ne, r9, r12}, false, al, "ne r9 r12", "ne_r9_r12"},
1027      {{lt, r6, r2}, false, al, "lt r6 r2", "lt_r6_r2"},
1028      {{pl, r13, r9}, false, al, "pl r13 r9", "pl_r13_r9"},
1029      {{gt, r8, r10}, false, al, "gt r8 r10", "gt_r8_r10"},
1030      {{vs, r10, r6}, false, al, "vs r10 r6", "vs_r10_r6"},
1031      {{hi, r10, r0}, false, al, "hi r10 r0", "hi_r10_r0"},
1032      {{vs, r2, r1}, false, al, "vs r2 r1", "vs_r2_r1"},
1033      {{hi, r1, r5}, false, al, "hi r1 r5", "hi_r1_r5"},
1034      {{eq, r14, r7}, false, al, "eq r14 r7", "eq_r14_r7"},
1035      {{le, r3, r4}, false, al, "le r3 r4", "le_r3_r4"},
1036      {{cs, r4, r8}, false, al, "cs r4 r8", "cs_r4_r8"},
1037      {{vs, r13, r5}, false, al, "vs r13 r5", "vs_r13_r5"},
1038      {{hi, r13, r3}, false, al, "hi r13 r3", "hi_r13_r3"},
1039      {{eq, r5, r11}, false, al, "eq r5 r11", "eq_r5_r11"},
1040      {{cc, r14, r4}, false, al, "cc r14 r4", "cc_r14_r4"},
1041      {{hi, r5, r0}, false, al, "hi r5 r0", "hi_r5_r0"},
1042      {{ne, r9, r2}, false, al, "ne r9 r2", "ne_r9_r2"},
1043      {{gt, r6, r7}, false, al, "gt r6 r7", "gt_r6_r7"},
1044      {{ls, r5, r4}, false, al, "ls r5 r4", "ls_r5_r4"},
1045      {{gt, r14, r5}, false, al, "gt r14 r5", "gt_r14_r5"},
1046      {{ne, r0, r0}, false, al, "ne r0 r0", "ne_r0_r0"},
1047      {{ne, r5, r0}, false, al, "ne r5 r0", "ne_r5_r0"},
1048      {{al, r12, r10}, false, al, "al r12 r10", "al_r12_r10"},
1049      {{vc, r2, r1}, false, al, "vc r2 r1", "vc_r2_r1"},
1050      {{pl, r7, r3}, false, al, "pl r7 r3", "pl_r7_r3"},
1051      {{pl, r14, r11}, false, al, "pl r14 r11", "pl_r14_r11"},
1052      {{eq, r9, r1}, false, al, "eq r9 r1", "eq_r9_r1"},
1053      {{vs, r5, r8}, false, al, "vs r5 r8", "vs_r5_r8"},
1054      {{ge, r2, r6}, false, al, "ge r2 r6", "ge_r2_r6"},
1055      {{le, r1, r5}, false, al, "le r1 r5", "le_r1_r5"},
1056      {{vc, r14, r4}, false, al, "vc r14 r4", "vc_r14_r4"},
1057      {{al, r0, r5}, false, al, "al r0 r5", "al_r0_r5"},
1058      {{al, r5, r9}, false, al, "al r5 r9", "al_r5_r9"},
1059      {{ne, r2, r7}, false, al, "ne r2 r7", "ne_r2_r7"},
1060      {{lt, r9, r6}, false, al, "lt r9 r6", "lt_r9_r6"},
1061      {{vs, r14, r6}, false, al, "vs r14 r6", "vs_r14_r6"},
1062      {{vs, r0, r9}, false, al, "vs r0 r9", "vs_r0_r9"},
1063      {{eq, r11, r7}, false, al, "eq r11 r7", "eq_r11_r7"},
1064      {{le, r10, r2}, false, al, "le r10 r2", "le_r10_r2"},
1065      {{mi, r8, r2}, false, al, "mi r8 r2", "mi_r8_r2"},
1066      {{hi, r5, r10}, false, al, "hi r5 r10", "hi_r5_r10"},
1067      {{mi, r9, r7}, false, al, "mi r9 r7", "mi_r9_r7"},
1068      {{vs, r3, r8}, false, al, "vs r3 r8", "vs_r3_r8"},
1069      {{vc, r13, r10}, false, al, "vc r13 r10", "vc_r13_r10"},
1070      {{eq, r4, r10}, false, al, "eq r4 r10", "eq_r4_r10"},
1071      {{cc, r14, r5}, false, al, "cc r14 r5", "cc_r14_r5"},
1072      {{ge, r5, r8}, false, al, "ge r5 r8", "ge_r5_r8"},
1073      {{mi, r6, r4}, false, al, "mi r6 r4", "mi_r6_r4"},
1074      {{ge, r0, r13}, false, al, "ge r0 r13", "ge_r0_r13"},
1075      {{lt, r12, r14}, false, al, "lt r12 r14", "lt_r12_r14"},
1076      {{eq, r12, r6}, false, al, "eq r12 r6", "eq_r12_r6"},
1077      {{cs, r11, r3}, false, al, "cs r11 r3", "cs_r11_r3"},
1078      {{mi, r12, r5}, false, al, "mi r12 r5", "mi_r12_r5"},
1079      {{gt, r8, r6}, false, al, "gt r8 r6", "gt_r8_r6"},
1080      {{pl, r10, r9}, false, al, "pl r10 r9", "pl_r10_r9"},
1081      {{ls, r8, r7}, false, al, "ls r8 r7", "ls_r8_r7"},
1082      {{pl, r14, r12}, false, al, "pl r14 r12", "pl_r14_r12"},
1083      {{vc, r14, r12}, false, al, "vc r14 r12", "vc_r14_r12"},
1084      {{ge, r1, r7}, false, al, "ge r1 r7", "ge_r1_r7"},
1085      {{mi, r0, r11}, false, al, "mi r0 r11", "mi_r0_r11"},
1086      {{pl, r6, r9}, false, al, "pl r6 r9", "pl_r6_r9"},
1087      {{vc, r8, r6}, false, al, "vc r8 r6", "vc_r8_r6"},
1088      {{ne, r12, r4}, false, al, "ne r12 r4", "ne_r12_r4"},
1089      {{ge, r13, r0}, false, al, "ge r13 r0", "ge_r13_r0"},
1090      {{lt, r12, r4}, false, al, "lt r12 r4", "lt_r12_r4"},
1091      {{ne, r1, r8}, false, al, "ne r1 r8", "ne_r1_r8"},
1092      {{ls, r6, r14}, false, al, "ls r6 r14", "ls_r6_r14"},
1093      {{al, r10, r12}, false, al, "al r10 r12", "al_r10_r12"},
1094      {{cs, r14, r3}, false, al, "cs r14 r3", "cs_r14_r3"},
1095      {{mi, r12, r1}, false, al, "mi r12 r1", "mi_r12_r1"},
1096      {{cs, r3, r1}, false, al, "cs r3 r1", "cs_r3_r1"},
1097      {{hi, r5, r1}, false, al, "hi r5 r1", "hi_r5_r1"},
1098      {{ge, r0, r11}, false, al, "ge r0 r11", "ge_r0_r11"},
1099      {{cc, r3, r11}, false, al, "cc r3 r11", "cc_r3_r11"},
1100      {{ge, r4, r13}, false, al, "ge r4 r13", "ge_r4_r13"},
1101      {{le, r2, r0}, false, al, "le r2 r0", "le_r2_r0"},
1102      {{al, r0, r3}, false, al, "al r0 r3", "al_r0_r3"},
1103      {{cc, r5, r5}, false, al, "cc r5 r5", "cc_r5_r5"},
1104      {{al, r8, r4}, false, al, "al r8 r4", "al_r8_r4"},
1105      {{le, r8, r1}, false, al, "le r8 r1", "le_r8_r1"},
1106      {{vc, r13, r8}, false, al, "vc r13 r8", "vc_r13_r8"},
1107      {{lt, r3, r7}, false, al, "lt r3 r7", "lt_r3_r7"}};
1108 
1109 // These headers each contain an array of `TestResult` with the reference output
1110 // values. The reference arrays are names `kReference{mnemonic}`.
1111 #include "aarch32/traces/assembler-cond-rd-operand-rn-cmn-a32.h"
1112 #include "aarch32/traces/assembler-cond-rd-operand-rn-cmp-a32.h"
1113 #include "aarch32/traces/assembler-cond-rd-operand-rn-mov-a32.h"
1114 #include "aarch32/traces/assembler-cond-rd-operand-rn-movs-a32.h"
1115 #include "aarch32/traces/assembler-cond-rd-operand-rn-mvn-a32.h"
1116 #include "aarch32/traces/assembler-cond-rd-operand-rn-mvns-a32.h"
1117 #include "aarch32/traces/assembler-cond-rd-operand-rn-sxtb-a32.h"
1118 #include "aarch32/traces/assembler-cond-rd-operand-rn-sxtb16-a32.h"
1119 #include "aarch32/traces/assembler-cond-rd-operand-rn-sxth-a32.h"
1120 #include "aarch32/traces/assembler-cond-rd-operand-rn-teq-a32.h"
1121 #include "aarch32/traces/assembler-cond-rd-operand-rn-tst-a32.h"
1122 #include "aarch32/traces/assembler-cond-rd-operand-rn-uxtb-a32.h"
1123 #include "aarch32/traces/assembler-cond-rd-operand-rn-uxtb16-a32.h"
1124 #include "aarch32/traces/assembler-cond-rd-operand-rn-uxth-a32.h"
1125 
1126 
1127 // The maximum number of errors to report in detail for each test.
1128 const unsigned kErrorReportLimit = 8;
1129 
1130 typedef void (MacroAssembler::*Fn)(Condition cond,
1131                                    Register rd,
1132                                    const Operand& op);
1133 
TestHelper(Fn instruction,const char * mnemonic,const TestResult reference[])1134 void TestHelper(Fn instruction,
1135                 const char* mnemonic,
1136                 const TestResult reference[]) {
1137   unsigned total_error_count = 0;
1138   MacroAssembler masm(BUF_SIZE);
1139 
1140   masm.UseA32();
1141 
1142   for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) {
1143     // Values to pass to the macro-assembler.
1144     Condition cond = kTests[i].operands.cond;
1145     Register rd = kTests[i].operands.rd;
1146     Register rn = kTests[i].operands.rn;
1147     Operand op(rn);
1148 
1149     int32_t start = masm.GetCursorOffset();
1150     {
1151       // We never generate more that 4 bytes, as IT instructions are only
1152       // allowed for narrow encodings.
1153       ExactAssemblyScope scope(&masm, 4, ExactAssemblyScope::kMaximumSize);
1154       if (kTests[i].in_it_block) {
1155         masm.it(kTests[i].it_condition);
1156       }
1157       (masm.*instruction)(cond, rd, op);
1158     }
1159     int32_t end = masm.GetCursorOffset();
1160 
1161     const byte* result_ptr =
1162         masm.GetBuffer()->GetOffsetAddress<const byte*>(start);
1163     VIXL_ASSERT(start < end);
1164     uint32_t result_size = end - start;
1165 
1166     if (Test::generate_test_trace()) {
1167       // Print the result bytes.
1168       printf("const byte kInstruction_%s_%s[] = {\n",
1169              mnemonic,
1170              kTests[i].identifier);
1171       for (uint32_t j = 0; j < result_size; j++) {
1172         if (j == 0) {
1173           printf("  0x%02" PRIx8, result_ptr[j]);
1174         } else {
1175           printf(", 0x%02" PRIx8, result_ptr[j]);
1176         }
1177       }
1178       // This comment is meant to be used by external tools to validate
1179       // the encoding. We can parse the comment to figure out what
1180       // instruction this corresponds to.
1181       if (kTests[i].in_it_block) {
1182         printf(" // It %s; %s %s\n};\n",
1183                kTests[i].it_condition.GetName(),
1184                mnemonic,
1185                kTests[i].operands_description);
1186       } else {
1187         printf(" // %s %s\n};\n", mnemonic, kTests[i].operands_description);
1188       }
1189     } else {
1190       // Check we've emitted the exact same encoding as present in the
1191       // trace file. Only print up to `kErrorReportLimit` errors.
1192       if (((result_size != reference[i].size) ||
1193            (memcmp(result_ptr, reference[i].encoding, reference[i].size) !=
1194             0)) &&
1195           (++total_error_count <= kErrorReportLimit)) {
1196         printf("Error when testing \"%s\" with operands \"%s\":\n",
1197                mnemonic,
1198                kTests[i].operands_description);
1199         printf("  Expected: ");
1200         for (uint32_t j = 0; j < reference[i].size; j++) {
1201           if (j == 0) {
1202             printf("0x%02" PRIx8, reference[i].encoding[j]);
1203           } else {
1204             printf(", 0x%02" PRIx8, reference[i].encoding[j]);
1205           }
1206         }
1207         printf("\n");
1208         printf("  Found:    ");
1209         for (uint32_t j = 0; j < result_size; j++) {
1210           if (j == 0) {
1211             printf("0x%02" PRIx8, result_ptr[j]);
1212           } else {
1213             printf(", 0x%02" PRIx8, result_ptr[j]);
1214           }
1215         }
1216         printf("\n");
1217       }
1218     }
1219   }
1220 
1221   masm.FinalizeCode();
1222 
1223   if (Test::generate_test_trace()) {
1224     // Finalize the trace file by writing the final `TestResult` array
1225     // which links all generated instruction encodings.
1226     printf("const TestResult kReference%s[] = {\n", mnemonic);
1227     for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) {
1228       printf("  {\n");
1229       printf("    ARRAY_SIZE(kInstruction_%s_%s),\n",
1230              mnemonic,
1231              kTests[i].identifier);
1232       printf("    kInstruction_%s_%s,\n", mnemonic, kTests[i].identifier);
1233       printf("  },\n");
1234     }
1235     printf("};\n");
1236   } else {
1237     if (total_error_count > kErrorReportLimit) {
1238       printf("%u other errors follow.\n",
1239              total_error_count - kErrorReportLimit);
1240     }
1241     // Crash if the test failed.
1242     VIXL_CHECK(total_error_count == 0);
1243   }
1244 }
1245 
1246 // Instantiate tests for each instruction in the list.
1247 #define TEST(mnemonic)                                                      \
1248   void Test_##mnemonic() {                                                  \
1249     TestHelper(&MacroAssembler::mnemonic, #mnemonic, kReference##mnemonic); \
1250   }                                                                         \
1251   Test test_##mnemonic("AARCH32_ASSEMBLER_COND_RD_OPERAND_RN_" #mnemonic    \
1252                        "_A32",                                              \
1253                        &Test_##mnemonic);
1254 FOREACH_INSTRUCTION(TEST)
1255 #undef TEST
1256 
1257 }  // namespace
1258 #endif
1259 
1260 }  // namespace aarch32
1261 }  // namespace vixl
1262