1 | /* $Id: tstIEMAImpl.h 96380 2022-08-20 19:25:42Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * IEM Assembly Instruction Helper Testcase, Data Header File.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2022 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | */
|
---|
17 |
|
---|
18 | #ifndef VMM_INCLUDED_SRC_testcase_tstIEMAImpl_h
|
---|
19 | #define VMM_INCLUDED_SRC_testcase_tstIEMAImpl_h
|
---|
20 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
21 | # pragma once
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | #include <iprt/types.h>
|
---|
25 | #include <iprt/x86.h>
|
---|
26 |
|
---|
27 |
|
---|
28 | /** @name Integer binary tests.
|
---|
29 | * @{ */
|
---|
30 | typedef struct BINU8_TEST_T
|
---|
31 | {
|
---|
32 | uint32_t fEflIn;
|
---|
33 | uint32_t fEflOut;
|
---|
34 | uint8_t uDstIn;
|
---|
35 | uint8_t uDstOut;
|
---|
36 | uint8_t uSrcIn;
|
---|
37 | uint8_t uMisc;
|
---|
38 | } BINU8_TEST_T;
|
---|
39 |
|
---|
40 | typedef struct BINU16_TEST_T
|
---|
41 | {
|
---|
42 | uint32_t fEflIn;
|
---|
43 | uint32_t fEflOut;
|
---|
44 | uint16_t uDstIn;
|
---|
45 | uint16_t uDstOut;
|
---|
46 | uint16_t uSrcIn;
|
---|
47 | uint16_t uMisc;
|
---|
48 | } BINU16_TEST_T;
|
---|
49 |
|
---|
50 | typedef struct BINU32_TEST_T
|
---|
51 | {
|
---|
52 | uint32_t fEflIn;
|
---|
53 | uint32_t fEflOut;
|
---|
54 | uint32_t uDstIn;
|
---|
55 | uint32_t uDstOut;
|
---|
56 | uint32_t uSrcIn;
|
---|
57 | uint32_t uMisc;
|
---|
58 | } BINU32_TEST_T;
|
---|
59 |
|
---|
60 | typedef struct BINU64_TEST_T
|
---|
61 | {
|
---|
62 | uint32_t fEflIn;
|
---|
63 | uint32_t fEflOut;
|
---|
64 | uint64_t uDstIn;
|
---|
65 | uint64_t uDstOut;
|
---|
66 | uint64_t uSrcIn;
|
---|
67 | uint64_t uMisc;
|
---|
68 | } BINU64_TEST_T;
|
---|
69 | /** @} */
|
---|
70 |
|
---|
71 |
|
---|
72 | /** @name mult/div (PFNIEMAIMPLBINU8, PFNIEMAIMPLBINU16, PFNIEMAIMPLBINU32, PFNIEMAIMPLBINU64)
|
---|
73 | * @{ */
|
---|
74 | typedef struct MULDIVU8_TEST_T
|
---|
75 | {
|
---|
76 | uint32_t fEflIn;
|
---|
77 | uint32_t fEflOut;
|
---|
78 | uint16_t uDstIn;
|
---|
79 | uint16_t uDstOut;
|
---|
80 | uint8_t uSrcIn;
|
---|
81 | int32_t rc;
|
---|
82 | } MULDIVU8_TEST_T;
|
---|
83 |
|
---|
84 | typedef struct MULDIVU16_TEST_T
|
---|
85 | {
|
---|
86 | uint32_t fEflIn;
|
---|
87 | uint32_t fEflOut;
|
---|
88 | uint16_t uDst1In;
|
---|
89 | uint16_t uDst1Out;
|
---|
90 | uint16_t uDst2In;
|
---|
91 | uint16_t uDst2Out;
|
---|
92 | uint16_t uSrcIn;
|
---|
93 | int32_t rc;
|
---|
94 | } MULDIVU16_TEST_T;
|
---|
95 |
|
---|
96 | typedef struct MULDIVU32_TEST_T
|
---|
97 | {
|
---|
98 | uint32_t fEflIn;
|
---|
99 | uint32_t fEflOut;
|
---|
100 | uint32_t uDst1In;
|
---|
101 | uint32_t uDst1Out;
|
---|
102 | uint32_t uDst2In;
|
---|
103 | uint32_t uDst2Out;
|
---|
104 | uint32_t uSrcIn;
|
---|
105 | int32_t rc;
|
---|
106 | } MULDIVU32_TEST_T;
|
---|
107 |
|
---|
108 | typedef struct MULDIVU64_TEST_T
|
---|
109 | {
|
---|
110 | uint32_t fEflIn;
|
---|
111 | uint32_t fEflOut;
|
---|
112 | uint64_t uDst1In;
|
---|
113 | uint64_t uDst1Out;
|
---|
114 | uint64_t uDst2In;
|
---|
115 | uint64_t uDst2Out;
|
---|
116 | uint64_t uSrcIn;
|
---|
117 | int32_t rc;
|
---|
118 | } MULDIVU64_TEST_T;
|
---|
119 | /** @} */
|
---|
120 |
|
---|
121 |
|
---|
122 | /** @name x87 FPU
|
---|
123 | * @{ */
|
---|
124 | typedef struct FPU_LD_CONST_TEST_T
|
---|
125 | {
|
---|
126 | uint16_t fFcw;
|
---|
127 | uint16_t fFswIn;
|
---|
128 | uint16_t fFswOut;
|
---|
129 | RTFLOAT80U rdResult;
|
---|
130 | } FPU_LD_CONST_TEST_T;
|
---|
131 |
|
---|
132 | typedef struct FPU_R32_IN_TEST_T
|
---|
133 | {
|
---|
134 | uint16_t fFcw;
|
---|
135 | uint16_t fFswIn;
|
---|
136 | uint16_t fFswOut;
|
---|
137 | RTFLOAT80U rdResult;
|
---|
138 | RTFLOAT32U InVal;
|
---|
139 | } FPU_R32_IN_TEST_T;
|
---|
140 |
|
---|
141 | typedef struct FPU_R64_IN_TEST_T
|
---|
142 | {
|
---|
143 | uint16_t fFcw;
|
---|
144 | uint16_t fFswIn;
|
---|
145 | uint16_t fFswOut;
|
---|
146 | RTFLOAT80U rdResult;
|
---|
147 | RTFLOAT64U InVal;
|
---|
148 | } FPU_R64_IN_TEST_T;
|
---|
149 |
|
---|
150 | typedef struct FPU_R80_IN_TEST_T
|
---|
151 | {
|
---|
152 | uint16_t fFcw;
|
---|
153 | uint16_t fFswIn;
|
---|
154 | uint16_t fFswOut;
|
---|
155 | RTFLOAT80U rdResult;
|
---|
156 | RTFLOAT80U InVal;
|
---|
157 | } FPU_R80_IN_TEST_T;
|
---|
158 |
|
---|
159 | typedef struct FPU_I16_IN_TEST_T
|
---|
160 | {
|
---|
161 | uint16_t fFcw;
|
---|
162 | uint16_t fFswIn;
|
---|
163 | uint16_t fFswOut;
|
---|
164 | RTFLOAT80U rdResult;
|
---|
165 | int16_t iInVal;
|
---|
166 | } FPU_I16_IN_TEST_T;
|
---|
167 |
|
---|
168 | typedef struct FPU_I32_IN_TEST_T
|
---|
169 | {
|
---|
170 | uint16_t fFcw;
|
---|
171 | uint16_t fFswIn;
|
---|
172 | uint16_t fFswOut;
|
---|
173 | RTFLOAT80U rdResult;
|
---|
174 | int32_t iInVal;
|
---|
175 | } FPU_I32_IN_TEST_T;
|
---|
176 |
|
---|
177 | typedef struct FPU_I64_IN_TEST_T
|
---|
178 | {
|
---|
179 | uint16_t fFcw;
|
---|
180 | uint16_t fFswIn;
|
---|
181 | uint16_t fFswOut;
|
---|
182 | RTFLOAT80U rdResult;
|
---|
183 | int64_t iInVal;
|
---|
184 | } FPU_I64_IN_TEST_T;
|
---|
185 |
|
---|
186 | typedef struct FPU_D80_IN_TEST_T
|
---|
187 | {
|
---|
188 | uint16_t fFcw;
|
---|
189 | uint16_t fFswIn;
|
---|
190 | uint16_t fFswOut;
|
---|
191 | RTFLOAT80U rdResult;
|
---|
192 | RTPBCD80U InVal;
|
---|
193 | } FPU_D80_IN_TEST_T;
|
---|
194 |
|
---|
195 | typedef struct FPU_ST_R32_TEST_T
|
---|
196 | {
|
---|
197 | uint16_t fFcw;
|
---|
198 | uint16_t fFswIn;
|
---|
199 | uint16_t fFswOut;
|
---|
200 | RTFLOAT80U InVal;
|
---|
201 | RTFLOAT32U OutVal;
|
---|
202 | } FPU_ST_R32_TEST_T;
|
---|
203 |
|
---|
204 | typedef struct FPU_ST_R64_TEST_T
|
---|
205 | {
|
---|
206 | uint16_t fFcw;
|
---|
207 | uint16_t fFswIn;
|
---|
208 | uint16_t fFswOut;
|
---|
209 | RTFLOAT80U InVal;
|
---|
210 | RTFLOAT64U OutVal;
|
---|
211 | } FPU_ST_R64_TEST_T;
|
---|
212 |
|
---|
213 | typedef struct FPU_ST_R80_TEST_T
|
---|
214 | {
|
---|
215 | uint16_t fFcw;
|
---|
216 | uint16_t fFswIn;
|
---|
217 | uint16_t fFswOut;
|
---|
218 | RTFLOAT80U InVal;
|
---|
219 | RTFLOAT80U OutVal;
|
---|
220 | } FPU_ST_R80_TEST_T;
|
---|
221 |
|
---|
222 | typedef struct FPU_ST_I16_TEST_T
|
---|
223 | {
|
---|
224 | uint16_t fFcw;
|
---|
225 | uint16_t fFswIn;
|
---|
226 | uint16_t fFswOut;
|
---|
227 | RTFLOAT80U InVal;
|
---|
228 | int16_t iOutVal;
|
---|
229 | } FPU_ST_I16_TEST_T;
|
---|
230 |
|
---|
231 | typedef struct FPU_ST_I32_TEST_T
|
---|
232 | {
|
---|
233 | uint16_t fFcw;
|
---|
234 | uint16_t fFswIn;
|
---|
235 | uint16_t fFswOut;
|
---|
236 | RTFLOAT80U InVal;
|
---|
237 | int32_t iOutVal;
|
---|
238 | } FPU_ST_I32_TEST_T;
|
---|
239 |
|
---|
240 | typedef struct FPU_ST_I64_TEST_T
|
---|
241 | {
|
---|
242 | uint16_t fFcw;
|
---|
243 | uint16_t fFswIn;
|
---|
244 | uint16_t fFswOut;
|
---|
245 | RTFLOAT80U InVal;
|
---|
246 | int64_t iOutVal;
|
---|
247 | } FPU_ST_I64_TEST_T;
|
---|
248 |
|
---|
249 | typedef struct FPU_ST_D80_TEST_T
|
---|
250 | {
|
---|
251 | uint16_t fFcw;
|
---|
252 | uint16_t fFswIn;
|
---|
253 | uint16_t fFswOut;
|
---|
254 | RTFLOAT80U InVal;
|
---|
255 | RTPBCD80U OutVal;
|
---|
256 | } FPU_ST_D80_TEST_T;
|
---|
257 |
|
---|
258 | typedef struct FPU_BINARY_R80_TEST_T
|
---|
259 | {
|
---|
260 | uint16_t fFcw;
|
---|
261 | uint16_t fFswIn;
|
---|
262 | uint16_t fFswOut;
|
---|
263 | RTFLOAT80U InVal1;
|
---|
264 | RTFLOAT80U InVal2;
|
---|
265 | RTFLOAT80U OutVal;
|
---|
266 | } FPU_BINARY_R80_TEST_T;
|
---|
267 |
|
---|
268 | typedef struct FPU_BINARY_R64_TEST_T
|
---|
269 | {
|
---|
270 | uint16_t fFcw;
|
---|
271 | uint16_t fFswIn;
|
---|
272 | uint16_t fFswOut;
|
---|
273 | RTFLOAT80U InVal1;
|
---|
274 | RTFLOAT64U InVal2;
|
---|
275 | RTFLOAT80U OutVal;
|
---|
276 | } FPU_BINARY_R64_TEST_T;
|
---|
277 |
|
---|
278 | typedef struct FPU_BINARY_R32_TEST_T
|
---|
279 | {
|
---|
280 | uint16_t fFcw;
|
---|
281 | uint16_t fFswIn;
|
---|
282 | uint16_t fFswOut;
|
---|
283 | RTFLOAT80U InVal1;
|
---|
284 | RTFLOAT32U InVal2;
|
---|
285 | RTFLOAT80U OutVal;
|
---|
286 | } FPU_BINARY_R32_TEST_T;
|
---|
287 |
|
---|
288 | typedef struct FPU_BINARY_I64_TEST_T
|
---|
289 | {
|
---|
290 | uint16_t fFcw;
|
---|
291 | uint16_t fFswIn;
|
---|
292 | uint16_t fFswOut;
|
---|
293 | RTFLOAT80U InVal1;
|
---|
294 | int64_t InVal2;
|
---|
295 | RTFLOAT80U OutVal;
|
---|
296 | } FPU_BINARY_I64_TEST_T;
|
---|
297 |
|
---|
298 | typedef struct FPU_BINARY_I32_TEST_T
|
---|
299 | {
|
---|
300 | uint16_t fFcw;
|
---|
301 | uint16_t fFswIn;
|
---|
302 | uint16_t fFswOut;
|
---|
303 | RTFLOAT80U InVal1;
|
---|
304 | int32_t InVal2;
|
---|
305 | RTFLOAT80U OutVal;
|
---|
306 | } FPU_BINARY_I32_TEST_T;
|
---|
307 |
|
---|
308 | typedef struct FPU_BINARY_I16_TEST_T
|
---|
309 | {
|
---|
310 | uint16_t fFcw;
|
---|
311 | uint16_t fFswIn;
|
---|
312 | uint16_t fFswOut;
|
---|
313 | RTFLOAT80U InVal1;
|
---|
314 | int16_t InVal2;
|
---|
315 | RTFLOAT80U OutVal;
|
---|
316 | } FPU_BINARY_I16_TEST_T;
|
---|
317 |
|
---|
318 | typedef struct FPU_BINARY_EFL_R80_TEST_T
|
---|
319 | {
|
---|
320 | uint16_t fFcw;
|
---|
321 | uint16_t fFswIn;
|
---|
322 | uint16_t fFswOut;
|
---|
323 | RTFLOAT80U InVal1;
|
---|
324 | RTFLOAT80U InVal2;
|
---|
325 | uint32_t fEflOut;
|
---|
326 | } FPU_BINARY_EFL_R80_TEST_T;
|
---|
327 |
|
---|
328 | typedef struct FPU_UNARY_R80_TEST_T
|
---|
329 | {
|
---|
330 | uint16_t fFcw;
|
---|
331 | uint16_t fFswIn;
|
---|
332 | uint16_t fFswOut;
|
---|
333 | RTFLOAT80U InVal;
|
---|
334 | RTFLOAT80U OutVal;
|
---|
335 | } FPU_UNARY_R80_TEST_T;
|
---|
336 |
|
---|
337 | typedef struct FPU_UNARY_TWO_R80_TEST_T
|
---|
338 | {
|
---|
339 | uint16_t fFcw;
|
---|
340 | uint16_t fFswIn;
|
---|
341 | uint16_t fFswOut;
|
---|
342 | RTFLOAT80U InVal;
|
---|
343 | RTFLOAT80U OutVal1;
|
---|
344 | RTFLOAT80U OutVal2;
|
---|
345 | } FPU_UNARY_TWO_R80_TEST_T;
|
---|
346 |
|
---|
347 | typedef struct SSE_BINARY_TEST_T
|
---|
348 | {
|
---|
349 | uint32_t fMxcsrIn;
|
---|
350 | uint32_t fMxcsrOut;
|
---|
351 | uint32_t au32Padding[2];
|
---|
352 | X86XMMREG InVal1;
|
---|
353 | X86XMMREG InVal2;
|
---|
354 | X86XMMREG OutVal;
|
---|
355 | } SSE_BINARY_TEST_T;
|
---|
356 |
|
---|
357 | typedef struct SSE_BINARY_U128_R32_TEST_T
|
---|
358 | {
|
---|
359 | uint32_t fMxcsrIn;
|
---|
360 | uint32_t fMxcsrOut;
|
---|
361 | uint32_t au32Padding[2];
|
---|
362 | X86XMMREG OutVal;
|
---|
363 | X86XMMREG InVal1;
|
---|
364 | RTFLOAT32U r32Val2;
|
---|
365 | } SSE_BINARY_U128_R32_TEST_T;
|
---|
366 |
|
---|
367 | typedef struct SSE_BINARY_U128_R64_TEST_T
|
---|
368 | {
|
---|
369 | uint32_t fMxcsrIn;
|
---|
370 | uint32_t fMxcsrOut;
|
---|
371 | uint32_t au32Padding[2];
|
---|
372 | X86XMMREG OutVal;
|
---|
373 | X86XMMREG InVal1;
|
---|
374 | RTFLOAT64U r64Val2;
|
---|
375 | } SSE_BINARY_U128_R64_TEST_T;
|
---|
376 |
|
---|
377 | /** @} */
|
---|
378 |
|
---|
379 |
|
---|
380 | #define TSTIEM_DEFINE_EMPTY_TEST_ARRAY(a_Type, a_Instr) \
|
---|
381 | extern a_Type const RT_CONCAT(g_aTests_, a_Instr)[] = { {0} }; \
|
---|
382 | extern uint32_t const RT_CONCAT(g_cTests_, a_Instr) = 0
|
---|
383 |
|
---|
384 | #define TSTIEM_DEFINE_EMPTY_TEST_ARRAY_BIN(a_Type, a_Instr) \
|
---|
385 | extern a_Type const RT_CONCAT(g_aTests_, a_Instr)[] = { {0} }; \
|
---|
386 | extern uint32_t const RT_CONCAT(g_cbTests_, a_Instr) = 0
|
---|
387 |
|
---|
388 | #define TSTIEM_DECLARE_TEST_ARRAY(a_szFile, a_Type, a_Instr) \
|
---|
389 | extern a_Type const RT_CONCAT(g_aTests_, a_Instr)[]; \
|
---|
390 | extern uint32_t const RT_CONCAT(g_cTests_, a_Instr)
|
---|
391 |
|
---|
392 | #define TSTIEM_DECLARE_TEST_ARRAY_BIN(a_szFile, a_Type, a_Instr) \
|
---|
393 | extern a_Type const RT_CONCAT(g_aTests_, a_Instr)[]; \
|
---|
394 | extern uint32_t const RT_CONCAT(g_cbTests_, a_Instr)
|
---|
395 |
|
---|
396 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, add_u8 );
|
---|
397 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, add_u8_locked );
|
---|
398 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, adc_u8 );
|
---|
399 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, adc_u8_locked );
|
---|
400 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, sub_u8 );
|
---|
401 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, sub_u8_locked );
|
---|
402 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, sbb_u8 );
|
---|
403 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, sbb_u8_locked );
|
---|
404 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, or_u8 );
|
---|
405 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, or_u8_locked );
|
---|
406 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, xor_u8 );
|
---|
407 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, xor_u8_locked );
|
---|
408 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, and_u8 );
|
---|
409 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, and_u8_locked );
|
---|
410 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, cmp_u8 );
|
---|
411 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, test_u8 );
|
---|
412 |
|
---|
413 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, add_u16 );
|
---|
414 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, add_u16_locked );
|
---|
415 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, adc_u16 );
|
---|
416 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, adc_u16_locked );
|
---|
417 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, sub_u16 );
|
---|
418 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, sub_u16_locked );
|
---|
419 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, sbb_u16 );
|
---|
420 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, sbb_u16_locked );
|
---|
421 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, or_u16 );
|
---|
422 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, or_u16_locked );
|
---|
423 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, xor_u16 );
|
---|
424 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, xor_u16_locked );
|
---|
425 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, and_u16 );
|
---|
426 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, and_u16_locked );
|
---|
427 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, cmp_u16 );
|
---|
428 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, test_u16 );
|
---|
429 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, bt_u16 );
|
---|
430 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, btc_u16 );
|
---|
431 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, btc_u16_locked );
|
---|
432 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, btr_u16 );
|
---|
433 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, btr_u16_locked );
|
---|
434 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, bts_u16 );
|
---|
435 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, bts_u16_locked );
|
---|
436 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, arpl );
|
---|
437 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, bsf_u16_amd );
|
---|
438 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, bsr_u16_amd );
|
---|
439 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, imul_two_u16_amd );
|
---|
440 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, bsf_u16_intel );
|
---|
441 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, bsr_u16_intel );
|
---|
442 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, imul_two_u16_intel );
|
---|
443 |
|
---|
444 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, add_u32 );
|
---|
445 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, add_u32_locked );
|
---|
446 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, adc_u32 );
|
---|
447 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, adc_u32_locked );
|
---|
448 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, sub_u32 );
|
---|
449 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, sub_u32_locked );
|
---|
450 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, sbb_u32 );
|
---|
451 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, sbb_u32_locked );
|
---|
452 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, or_u32 );
|
---|
453 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, or_u32_locked );
|
---|
454 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, xor_u32 );
|
---|
455 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, xor_u32_locked );
|
---|
456 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, and_u32 );
|
---|
457 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, and_u32_locked );
|
---|
458 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, cmp_u32 );
|
---|
459 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, test_u32 );
|
---|
460 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, bt_u32 );
|
---|
461 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, btc_u32 );
|
---|
462 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, btc_u32_locked );
|
---|
463 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, btr_u32 );
|
---|
464 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, btr_u32_locked );
|
---|
465 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, bts_u32 );
|
---|
466 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, bts_u32_locked );
|
---|
467 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, bsf_u32_amd );
|
---|
468 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, bsr_u32_amd );
|
---|
469 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, imul_two_u32_amd );
|
---|
470 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, bsf_u32_intel );
|
---|
471 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, bsr_u32_intel );
|
---|
472 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, imul_two_u32_intel );
|
---|
473 |
|
---|
474 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, add_u64 );
|
---|
475 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, add_u64_locked );
|
---|
476 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, adc_u64 );
|
---|
477 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, adc_u64_locked );
|
---|
478 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, sub_u64 );
|
---|
479 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, sub_u64_locked );
|
---|
480 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, sbb_u64 );
|
---|
481 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, sbb_u64_locked );
|
---|
482 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, or_u64 );
|
---|
483 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, or_u64_locked );
|
---|
484 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, xor_u64 );
|
---|
485 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, xor_u64_locked );
|
---|
486 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, and_u64 );
|
---|
487 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, and_u64_locked );
|
---|
488 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, cmp_u64 );
|
---|
489 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, test_u64 );
|
---|
490 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, bt_u64 );
|
---|
491 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, btc_u64 );
|
---|
492 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, btc_u64_locked );
|
---|
493 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, btr_u64 );
|
---|
494 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, btr_u64_locked );
|
---|
495 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, bts_u64 );
|
---|
496 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, bts_u64_locked );
|
---|
497 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, bsf_u64_amd );
|
---|
498 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, bsr_u64_amd );
|
---|
499 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, imul_two_u64_amd );
|
---|
500 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, bsf_u64_intel );
|
---|
501 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, bsr_u64_intel );
|
---|
502 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, imul_two_u64_intel );
|
---|
503 |
|
---|
504 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, shrd_u16_amd );
|
---|
505 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, shld_u16_amd );
|
---|
506 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, shrd_u32_amd );
|
---|
507 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, shld_u32_amd );
|
---|
508 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, shrd_u64_amd );
|
---|
509 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, shld_u64_amd );
|
---|
510 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, shrd_u16_intel );
|
---|
511 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, shld_u16_intel );
|
---|
512 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, shrd_u32_intel );
|
---|
513 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, shld_u32_intel );
|
---|
514 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, shrd_u64_intel );
|
---|
515 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, shld_u64_intel );
|
---|
516 |
|
---|
517 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, inc_u8 );
|
---|
518 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, inc_u8_locked );
|
---|
519 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, dec_u8 );
|
---|
520 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, dec_u8_locked );
|
---|
521 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, not_u8 );
|
---|
522 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, not_u8_locked );
|
---|
523 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, neg_u8 );
|
---|
524 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, neg_u8_locked );
|
---|
525 |
|
---|
526 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, inc_u16 );
|
---|
527 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, inc_u16_locked );
|
---|
528 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, dec_u16 );
|
---|
529 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, dec_u16_locked );
|
---|
530 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, not_u16 );
|
---|
531 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, not_u16_locked );
|
---|
532 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, neg_u16 );
|
---|
533 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, neg_u16_locked );
|
---|
534 |
|
---|
535 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, inc_u32 );
|
---|
536 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, inc_u32_locked );
|
---|
537 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, dec_u32 );
|
---|
538 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, dec_u32_locked );
|
---|
539 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, not_u32 );
|
---|
540 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, not_u32_locked );
|
---|
541 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, neg_u32 );
|
---|
542 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, neg_u32_locked );
|
---|
543 |
|
---|
544 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, inc_u64 );
|
---|
545 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, inc_u64_locked );
|
---|
546 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, dec_u64 );
|
---|
547 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, dec_u64_locked );
|
---|
548 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, not_u64 );
|
---|
549 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, not_u64_locked );
|
---|
550 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, neg_u64 );
|
---|
551 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, neg_u64_locked );
|
---|
552 |
|
---|
553 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, rol_u8_amd );
|
---|
554 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, ror_u8_amd );
|
---|
555 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, rcl_u8_amd );
|
---|
556 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, rcr_u8_amd );
|
---|
557 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, shl_u8_amd );
|
---|
558 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, shr_u8_amd );
|
---|
559 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, sar_u8_amd );
|
---|
560 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, rol_u8_intel );
|
---|
561 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, ror_u8_intel );
|
---|
562 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, rcl_u8_intel );
|
---|
563 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, rcr_u8_intel );
|
---|
564 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, shl_u8_intel );
|
---|
565 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, shr_u8_intel );
|
---|
566 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, sar_u8_intel );
|
---|
567 |
|
---|
568 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, rol_u16_amd );
|
---|
569 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, ror_u16_amd );
|
---|
570 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, rcl_u16_amd );
|
---|
571 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, rcr_u16_amd );
|
---|
572 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, shl_u16_amd );
|
---|
573 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, shr_u16_amd );
|
---|
574 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, sar_u16_amd );
|
---|
575 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, rol_u16_intel );
|
---|
576 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, ror_u16_intel );
|
---|
577 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, rcl_u16_intel );
|
---|
578 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, rcr_u16_intel );
|
---|
579 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, shl_u16_intel );
|
---|
580 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, shr_u16_intel );
|
---|
581 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, sar_u16_intel );
|
---|
582 |
|
---|
583 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, rol_u32_amd );
|
---|
584 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, ror_u32_amd );
|
---|
585 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, rcl_u32_amd );
|
---|
586 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, rcr_u32_amd );
|
---|
587 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, shl_u32_amd );
|
---|
588 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, shr_u32_amd );
|
---|
589 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, sar_u32_amd );
|
---|
590 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, rol_u32_intel );
|
---|
591 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, ror_u32_intel );
|
---|
592 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, rcl_u32_intel );
|
---|
593 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, rcr_u32_intel );
|
---|
594 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, shl_u32_intel );
|
---|
595 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, shr_u32_intel );
|
---|
596 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, sar_u32_intel );
|
---|
597 |
|
---|
598 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, rol_u64_amd );
|
---|
599 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, ror_u64_amd );
|
---|
600 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, rcl_u64_amd );
|
---|
601 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, rcr_u64_amd );
|
---|
602 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, shl_u64_amd );
|
---|
603 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, shr_u64_amd );
|
---|
604 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, sar_u64_amd );
|
---|
605 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, rol_u64_intel );
|
---|
606 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, ror_u64_intel );
|
---|
607 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, rcl_u64_intel );
|
---|
608 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, rcr_u64_intel );
|
---|
609 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, shl_u64_intel );
|
---|
610 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, shr_u64_intel );
|
---|
611 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, sar_u64_intel );
|
---|
612 |
|
---|
613 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU8_TEST_T, mul_u8_amd );
|
---|
614 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU8_TEST_T, imul_u8_amd );
|
---|
615 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU8_TEST_T, div_u8_amd );
|
---|
616 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU8_TEST_T, idiv_u8_amd );
|
---|
617 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU8_TEST_T, mul_u8_intel );
|
---|
618 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU8_TEST_T, imul_u8_intel );
|
---|
619 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU8_TEST_T, div_u8_intel );
|
---|
620 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU8_TEST_T, idiv_u8_intel );
|
---|
621 |
|
---|
622 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU16_TEST_T, mul_u16_amd );
|
---|
623 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU16_TEST_T, imul_u16_amd );
|
---|
624 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU16_TEST_T, div_u16_amd );
|
---|
625 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU16_TEST_T, idiv_u16_amd );
|
---|
626 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU16_TEST_T, mul_u16_intel );
|
---|
627 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU16_TEST_T, imul_u16_intel );
|
---|
628 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU16_TEST_T, div_u16_intel );
|
---|
629 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU16_TEST_T, idiv_u16_intel );
|
---|
630 |
|
---|
631 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU32_TEST_T, mul_u32_amd );
|
---|
632 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU32_TEST_T, imul_u32_amd );
|
---|
633 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU32_TEST_T, div_u32_amd );
|
---|
634 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU32_TEST_T, idiv_u32_amd );
|
---|
635 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU32_TEST_T, mul_u32_intel );
|
---|
636 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU32_TEST_T, imul_u32_intel );
|
---|
637 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU32_TEST_T, div_u32_intel );
|
---|
638 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU32_TEST_T, idiv_u32_intel );
|
---|
639 |
|
---|
640 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU64_TEST_T, mul_u64_amd );
|
---|
641 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU64_TEST_T, imul_u64_amd );
|
---|
642 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU64_TEST_T, div_u64_amd );
|
---|
643 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU64_TEST_T, idiv_u64_amd );
|
---|
644 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU64_TEST_T, mul_u64_intel );
|
---|
645 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU64_TEST_T, imul_u64_intel );
|
---|
646 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU64_TEST_T, div_u64_intel );
|
---|
647 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU64_TEST_T, idiv_u64_intel );
|
---|
648 |
|
---|
649 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fld1 );
|
---|
650 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldl2t );
|
---|
651 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldl2e );
|
---|
652 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldpi );
|
---|
653 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldlg2 );
|
---|
654 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldln2 );
|
---|
655 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldz );
|
---|
656 |
|
---|
657 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_R80_IN_TEST_T, fld_r80_from_r80 );
|
---|
658 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_R64_IN_TEST_T, fld_r80_from_r64 );
|
---|
659 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_R32_IN_TEST_T, fld_r80_from_r32 );
|
---|
660 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_I64_IN_TEST_T, fild_r80_from_i64 );
|
---|
661 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_I32_IN_TEST_T, fild_r80_from_i32 );
|
---|
662 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_I16_IN_TEST_T, fild_r80_from_i16 );
|
---|
663 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_D80_IN_TEST_T, fld_r80_from_d80 );
|
---|
664 |
|
---|
665 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_R80_TEST_T, fst_r80_to_r80 );
|
---|
666 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_R64_TEST_T, fst_r80_to_r64 );
|
---|
667 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_R32_TEST_T, fst_r80_to_r32 );
|
---|
668 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_I64_TEST_T, fist_r80_to_i64 );
|
---|
669 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_I32_TEST_T, fist_r80_to_i32 );
|
---|
670 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_I16_TEST_T, fist_r80_to_i16 );
|
---|
671 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_I64_TEST_T, fistt_r80_to_i64 );
|
---|
672 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_I32_TEST_T, fistt_r80_to_i32 );
|
---|
673 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt-Amd, FPU_ST_I16_TEST_T, fistt_r80_to_i16_amd );
|
---|
674 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt-Intel, FPU_ST_I16_TEST_T, fistt_r80_to_i16_intel );
|
---|
675 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_D80_TEST_T, fst_r80_to_d80 );
|
---|
676 |
|
---|
677 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fadd_r80_by_r80 );
|
---|
678 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fsub_r80_by_r80 );
|
---|
679 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fsubr_r80_by_r80 );
|
---|
680 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fmul_r80_by_r80 );
|
---|
681 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fdiv_r80_by_r80 );
|
---|
682 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fdivr_r80_by_r80 );
|
---|
683 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fprem_r80_by_r80 );
|
---|
684 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fprem1_r80_by_r80 );
|
---|
685 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fscale_r80_by_r80 );
|
---|
686 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Amd, FPU_BINARY_R80_TEST_T, fpatan_r80_by_r80_amd );
|
---|
687 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Intel, FPU_BINARY_R80_TEST_T, fpatan_r80_by_r80_intel );
|
---|
688 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Amd, FPU_BINARY_R80_TEST_T, fyl2x_r80_by_r80_amd );
|
---|
689 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Intel, FPU_BINARY_R80_TEST_T, fyl2x_r80_by_r80_intel );
|
---|
690 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Amd, FPU_BINARY_R80_TEST_T, fyl2xp1_r80_by_r80_amd );
|
---|
691 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Intel, FPU_BINARY_R80_TEST_T, fyl2xp1_r80_by_r80_intel );
|
---|
692 |
|
---|
693 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fadd_r80_by_r64 );
|
---|
694 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fmul_r80_by_r64 );
|
---|
695 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fsub_r80_by_r64 );
|
---|
696 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fsubr_r80_by_r64 );
|
---|
697 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fdiv_r80_by_r64 );
|
---|
698 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fdivr_r80_by_r64 );
|
---|
699 |
|
---|
700 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fadd_r80_by_r32 );
|
---|
701 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fmul_r80_by_r32 );
|
---|
702 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fsub_r80_by_r32 );
|
---|
703 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fsubr_r80_by_r32 );
|
---|
704 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fdiv_r80_by_r32 );
|
---|
705 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fdivr_r80_by_r32 );
|
---|
706 |
|
---|
707 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fiadd_r80_by_i32 );
|
---|
708 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fimul_r80_by_i32 );
|
---|
709 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fisub_r80_by_i32 );
|
---|
710 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fisubr_r80_by_i32 );
|
---|
711 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fidiv_r80_by_i32 );
|
---|
712 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fidivr_r80_by_i32 );
|
---|
713 |
|
---|
714 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fiadd_r80_by_i16 );
|
---|
715 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fimul_r80_by_i16 );
|
---|
716 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fisub_r80_by_i16 );
|
---|
717 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fisubr_r80_by_i16 );
|
---|
718 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fidiv_r80_by_i16 );
|
---|
719 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fidivr_r80_by_i16 );
|
---|
720 |
|
---|
721 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fcom_r80_by_r80 );
|
---|
722 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fucom_r80_by_r80 );
|
---|
723 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fcom_r80_by_r64 );
|
---|
724 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fcom_r80_by_r32 );
|
---|
725 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, ficom_r80_by_i32 );
|
---|
726 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, ficom_r80_by_i16 );
|
---|
727 |
|
---|
728 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_EFL_R80_TEST_T, fcomi_r80_by_r80 );
|
---|
729 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_EFL_R80_TEST_T, fucomi_r80_by_r80 );
|
---|
730 |
|
---|
731 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, fabs_r80 );
|
---|
732 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, fchs_r80 );
|
---|
733 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Amd, FPU_UNARY_R80_TEST_T, f2xm1_r80_amd );
|
---|
734 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Intel, FPU_UNARY_R80_TEST_T, f2xm1_r80_intel );
|
---|
735 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, fsqrt_r80 );
|
---|
736 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, frndint_r80 );
|
---|
737 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Amd, FPU_UNARY_R80_TEST_T, fsin_r80_amd );
|
---|
738 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Intel, FPU_UNARY_R80_TEST_T, fsin_r80_intel );
|
---|
739 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Amd, FPU_UNARY_R80_TEST_T, fcos_r80_amd );
|
---|
740 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Intel, FPU_UNARY_R80_TEST_T, fcos_r80_intel );
|
---|
741 |
|
---|
742 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, ftst_r80 );
|
---|
743 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, fxam_r80 );
|
---|
744 |
|
---|
745 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Amd, FPU_UNARY_TWO_R80_TEST_T, fptan_r80_r80_amd );
|
---|
746 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Intel, FPU_UNARY_TWO_R80_TEST_T, fptan_r80_r80_intel );
|
---|
747 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_TWO_R80_TEST_T, fxtract_r80_r80 );
|
---|
748 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Amd, FPU_UNARY_TWO_R80_TEST_T, fsincos_r80_r80_amd );
|
---|
749 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Intel, FPU_UNARY_TWO_R80_TEST_T, fsincos_r80_r80_intel );
|
---|
750 |
|
---|
751 | RT_C_DECLS_BEGIN
|
---|
752 |
|
---|
753 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, addps_u128 );
|
---|
754 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, mulps_u128 );
|
---|
755 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, subps_u128 );
|
---|
756 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, minps_u128 );
|
---|
757 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, divps_u128 );
|
---|
758 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, maxps_u128 );
|
---|
759 |
|
---|
760 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, addss_u128_r32 );
|
---|
761 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, mulss_u128_r32 );
|
---|
762 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, subss_u128_r32 );
|
---|
763 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, minss_u128_r32 );
|
---|
764 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, divss_u128_r32 );
|
---|
765 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, maxss_u128_r32 );
|
---|
766 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, cvtss2sd_u128_r32 );
|
---|
767 |
|
---|
768 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, addpd_u128 );
|
---|
769 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, mulpd_u128 );
|
---|
770 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, subpd_u128 );
|
---|
771 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, minpd_u128 );
|
---|
772 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, divpd_u128 );
|
---|
773 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, maxpd_u128 );
|
---|
774 |
|
---|
775 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, addsd_u128_r64 );
|
---|
776 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, mulsd_u128_r64 );
|
---|
777 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, subsd_u128_r64 );
|
---|
778 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, minsd_u128_r64 );
|
---|
779 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, divsd_u128_r64 );
|
---|
780 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, maxsd_u128_r64 );
|
---|
781 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, cvtsd2ss_u128_r64 );
|
---|
782 |
|
---|
783 | RT_C_DECLS_END
|
---|
784 |
|
---|
785 | #endif /* !VMM_INCLUDED_SRC_testcase_tstIEMAImpl_h */
|
---|
786 |
|
---|