1 | /* $Id: tstIEMAImpl.h 105275 2024-07-11 16:56:45Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * IEM Assembly Instruction Helper Testcase, Data Header File.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2022-2023 Oracle and/or its affiliates.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox base platform packages, as
|
---|
10 | * available from https://www.virtualbox.org.
|
---|
11 | *
|
---|
12 | * This program is free software; you can redistribute it and/or
|
---|
13 | * modify it under the terms of the GNU General Public License
|
---|
14 | * as published by the Free Software Foundation, in version 3 of the
|
---|
15 | * License.
|
---|
16 | *
|
---|
17 | * This program is distributed in the hope that it will be useful, but
|
---|
18 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | * General Public License for more details.
|
---|
21 | *
|
---|
22 | * You should have received a copy of the GNU General Public License
|
---|
23 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | *
|
---|
25 | * SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef VMM_INCLUDED_SRC_testcase_tstIEMAImpl_h
|
---|
29 | #define VMM_INCLUDED_SRC_testcase_tstIEMAImpl_h
|
---|
30 | #ifndef RT_WITHOUT_PRAGMA_ONCE
|
---|
31 | # pragma once
|
---|
32 | #endif
|
---|
33 |
|
---|
34 | #include <iprt/types.h>
|
---|
35 | #include <iprt/x86.h>
|
---|
36 |
|
---|
37 |
|
---|
38 | /** @name Integer binary tests.
|
---|
39 | * @{ */
|
---|
40 | typedef struct BINU8_TEST_T
|
---|
41 | {
|
---|
42 | uint32_t fEflIn;
|
---|
43 | uint32_t fEflOut;
|
---|
44 | uint8_t uDstIn;
|
---|
45 | uint8_t uDstOut;
|
---|
46 | uint8_t uSrcIn;
|
---|
47 | uint8_t uMisc;
|
---|
48 | } BINU8_TEST_T;
|
---|
49 |
|
---|
50 | typedef struct BINU16_TEST_T
|
---|
51 | {
|
---|
52 | uint32_t fEflIn;
|
---|
53 | uint32_t fEflOut;
|
---|
54 | uint16_t uDstIn;
|
---|
55 | uint16_t uDstOut;
|
---|
56 | uint16_t uSrcIn;
|
---|
57 | uint16_t uMisc;
|
---|
58 | } BINU16_TEST_T;
|
---|
59 |
|
---|
60 | typedef struct BINU32_TEST_T
|
---|
61 | {
|
---|
62 | uint32_t fEflIn;
|
---|
63 | uint32_t fEflOut;
|
---|
64 | uint32_t uDstIn;
|
---|
65 | uint32_t uDstOut;
|
---|
66 | uint32_t uSrcIn;
|
---|
67 | uint32_t uMisc;
|
---|
68 | } BINU32_TEST_T;
|
---|
69 |
|
---|
70 | typedef struct BINU64_TEST_T
|
---|
71 | {
|
---|
72 | uint32_t fEflIn;
|
---|
73 | uint32_t fEflOut;
|
---|
74 | uint64_t uDstIn;
|
---|
75 | uint64_t uDstOut;
|
---|
76 | uint64_t uSrcIn;
|
---|
77 | uint64_t uMisc;
|
---|
78 | } BINU64_TEST_T;
|
---|
79 | /** @} */
|
---|
80 |
|
---|
81 |
|
---|
82 | /** @name mult/div (PFNIEMAIMPLBINU8, PFNIEMAIMPLBINU16, PFNIEMAIMPLBINU32, PFNIEMAIMPLBINU64)
|
---|
83 | * @{ */
|
---|
84 | typedef struct MULDIVU8_TEST_T
|
---|
85 | {
|
---|
86 | uint32_t fEflIn;
|
---|
87 | uint32_t fEflOut;
|
---|
88 | uint16_t uDstIn;
|
---|
89 | uint16_t uDstOut;
|
---|
90 | uint8_t uSrcIn;
|
---|
91 | int32_t rc;
|
---|
92 | } MULDIVU8_TEST_T;
|
---|
93 |
|
---|
94 | typedef struct MULDIVU16_TEST_T
|
---|
95 | {
|
---|
96 | uint32_t fEflIn;
|
---|
97 | uint32_t fEflOut;
|
---|
98 | uint16_t uDst1In;
|
---|
99 | uint16_t uDst1Out;
|
---|
100 | uint16_t uDst2In;
|
---|
101 | uint16_t uDst2Out;
|
---|
102 | uint16_t uSrcIn;
|
---|
103 | int32_t rc;
|
---|
104 | } MULDIVU16_TEST_T;
|
---|
105 |
|
---|
106 | typedef struct MULDIVU32_TEST_T
|
---|
107 | {
|
---|
108 | uint32_t fEflIn;
|
---|
109 | uint32_t fEflOut;
|
---|
110 | uint32_t uDst1In;
|
---|
111 | uint32_t uDst1Out;
|
---|
112 | uint32_t uDst2In;
|
---|
113 | uint32_t uDst2Out;
|
---|
114 | uint32_t uSrcIn;
|
---|
115 | int32_t rc;
|
---|
116 | } MULDIVU32_TEST_T;
|
---|
117 |
|
---|
118 | typedef struct MULDIVU64_TEST_T
|
---|
119 | {
|
---|
120 | uint32_t fEflIn;
|
---|
121 | uint32_t fEflOut;
|
---|
122 | uint64_t uDst1In;
|
---|
123 | uint64_t uDst1Out;
|
---|
124 | uint64_t uDst2In;
|
---|
125 | uint64_t uDst2Out;
|
---|
126 | uint64_t uSrcIn;
|
---|
127 | int32_t rc;
|
---|
128 | } MULDIVU64_TEST_T;
|
---|
129 | /** @} */
|
---|
130 |
|
---|
131 |
|
---|
132 | /** @name x87 FPU
|
---|
133 | * @{ */
|
---|
134 | typedef struct FPU_LD_CONST_TEST_T
|
---|
135 | {
|
---|
136 | uint16_t fFcw;
|
---|
137 | uint16_t fFswIn;
|
---|
138 | uint16_t fFswOut;
|
---|
139 | RTFLOAT80U rdResult;
|
---|
140 | } FPU_LD_CONST_TEST_T;
|
---|
141 |
|
---|
142 | typedef struct FPU_R32_IN_TEST_T
|
---|
143 | {
|
---|
144 | uint16_t fFcw;
|
---|
145 | uint16_t fFswIn;
|
---|
146 | uint16_t fFswOut;
|
---|
147 | RTFLOAT80U rdResult;
|
---|
148 | RTFLOAT32U InVal;
|
---|
149 | } FPU_R32_IN_TEST_T;
|
---|
150 |
|
---|
151 | typedef struct FPU_R64_IN_TEST_T
|
---|
152 | {
|
---|
153 | uint16_t fFcw;
|
---|
154 | uint16_t fFswIn;
|
---|
155 | uint16_t fFswOut;
|
---|
156 | RTFLOAT80U rdResult;
|
---|
157 | RTFLOAT64U InVal;
|
---|
158 | } FPU_R64_IN_TEST_T;
|
---|
159 |
|
---|
160 | typedef struct FPU_R80_IN_TEST_T
|
---|
161 | {
|
---|
162 | uint16_t fFcw;
|
---|
163 | uint16_t fFswIn;
|
---|
164 | uint16_t fFswOut;
|
---|
165 | RTFLOAT80U rdResult;
|
---|
166 | RTFLOAT80U InVal;
|
---|
167 | } FPU_R80_IN_TEST_T;
|
---|
168 |
|
---|
169 | typedef struct FPU_I16_IN_TEST_T
|
---|
170 | {
|
---|
171 | uint16_t fFcw;
|
---|
172 | uint16_t fFswIn;
|
---|
173 | uint16_t fFswOut;
|
---|
174 | RTFLOAT80U rdResult;
|
---|
175 | int16_t iInVal;
|
---|
176 | } FPU_I16_IN_TEST_T;
|
---|
177 |
|
---|
178 | typedef struct FPU_I32_IN_TEST_T
|
---|
179 | {
|
---|
180 | uint16_t fFcw;
|
---|
181 | uint16_t fFswIn;
|
---|
182 | uint16_t fFswOut;
|
---|
183 | RTFLOAT80U rdResult;
|
---|
184 | int32_t iInVal;
|
---|
185 | } FPU_I32_IN_TEST_T;
|
---|
186 |
|
---|
187 | typedef struct FPU_I64_IN_TEST_T
|
---|
188 | {
|
---|
189 | uint16_t fFcw;
|
---|
190 | uint16_t fFswIn;
|
---|
191 | uint16_t fFswOut;
|
---|
192 | RTFLOAT80U rdResult;
|
---|
193 | int64_t iInVal;
|
---|
194 | } FPU_I64_IN_TEST_T;
|
---|
195 |
|
---|
196 | typedef struct FPU_D80_IN_TEST_T
|
---|
197 | {
|
---|
198 | uint16_t fFcw;
|
---|
199 | uint16_t fFswIn;
|
---|
200 | uint16_t fFswOut;
|
---|
201 | RTFLOAT80U rdResult;
|
---|
202 | RTPBCD80U InVal;
|
---|
203 | } FPU_D80_IN_TEST_T;
|
---|
204 |
|
---|
205 | typedef struct FPU_ST_R32_TEST_T
|
---|
206 | {
|
---|
207 | uint16_t fFcw;
|
---|
208 | uint16_t fFswIn;
|
---|
209 | uint16_t fFswOut;
|
---|
210 | RTFLOAT80U InVal;
|
---|
211 | RTFLOAT32U OutVal;
|
---|
212 | } FPU_ST_R32_TEST_T;
|
---|
213 |
|
---|
214 | typedef struct FPU_ST_R64_TEST_T
|
---|
215 | {
|
---|
216 | uint16_t fFcw;
|
---|
217 | uint16_t fFswIn;
|
---|
218 | uint16_t fFswOut;
|
---|
219 | RTFLOAT80U InVal;
|
---|
220 | RTFLOAT64U OutVal;
|
---|
221 | } FPU_ST_R64_TEST_T;
|
---|
222 |
|
---|
223 | typedef struct FPU_ST_R80_TEST_T
|
---|
224 | {
|
---|
225 | uint16_t fFcw;
|
---|
226 | uint16_t fFswIn;
|
---|
227 | uint16_t fFswOut;
|
---|
228 | RTFLOAT80U InVal;
|
---|
229 | RTFLOAT80U OutVal;
|
---|
230 | } FPU_ST_R80_TEST_T;
|
---|
231 |
|
---|
232 | typedef struct FPU_ST_I16_TEST_T
|
---|
233 | {
|
---|
234 | uint16_t fFcw;
|
---|
235 | uint16_t fFswIn;
|
---|
236 | uint16_t fFswOut;
|
---|
237 | RTFLOAT80U InVal;
|
---|
238 | int16_t iOutVal;
|
---|
239 | } FPU_ST_I16_TEST_T;
|
---|
240 |
|
---|
241 | typedef struct FPU_ST_I32_TEST_T
|
---|
242 | {
|
---|
243 | uint16_t fFcw;
|
---|
244 | uint16_t fFswIn;
|
---|
245 | uint16_t fFswOut;
|
---|
246 | RTFLOAT80U InVal;
|
---|
247 | int32_t iOutVal;
|
---|
248 | } FPU_ST_I32_TEST_T;
|
---|
249 |
|
---|
250 | typedef struct FPU_ST_I64_TEST_T
|
---|
251 | {
|
---|
252 | uint16_t fFcw;
|
---|
253 | uint16_t fFswIn;
|
---|
254 | uint16_t fFswOut;
|
---|
255 | RTFLOAT80U InVal;
|
---|
256 | int64_t iOutVal;
|
---|
257 | } FPU_ST_I64_TEST_T;
|
---|
258 |
|
---|
259 | typedef struct FPU_ST_D80_TEST_T
|
---|
260 | {
|
---|
261 | uint16_t fFcw;
|
---|
262 | uint16_t fFswIn;
|
---|
263 | uint16_t fFswOut;
|
---|
264 | RTFLOAT80U InVal;
|
---|
265 | RTPBCD80U OutVal;
|
---|
266 | } FPU_ST_D80_TEST_T;
|
---|
267 |
|
---|
268 | typedef struct FPU_BINARY_R80_TEST_T
|
---|
269 | {
|
---|
270 | uint16_t fFcw;
|
---|
271 | uint16_t fFswIn;
|
---|
272 | uint16_t fFswOut;
|
---|
273 | RTFLOAT80U InVal1;
|
---|
274 | RTFLOAT80U InVal2;
|
---|
275 | RTFLOAT80U OutVal;
|
---|
276 | } FPU_BINARY_R80_TEST_T;
|
---|
277 |
|
---|
278 | typedef struct FPU_BINARY_R64_TEST_T
|
---|
279 | {
|
---|
280 | uint16_t fFcw;
|
---|
281 | uint16_t fFswIn;
|
---|
282 | uint16_t fFswOut;
|
---|
283 | RTFLOAT80U InVal1;
|
---|
284 | RTFLOAT64U InVal2;
|
---|
285 | RTFLOAT80U OutVal;
|
---|
286 | } FPU_BINARY_R64_TEST_T;
|
---|
287 |
|
---|
288 | typedef struct FPU_BINARY_R32_TEST_T
|
---|
289 | {
|
---|
290 | uint16_t fFcw;
|
---|
291 | uint16_t fFswIn;
|
---|
292 | uint16_t fFswOut;
|
---|
293 | RTFLOAT80U InVal1;
|
---|
294 | RTFLOAT32U InVal2;
|
---|
295 | RTFLOAT80U OutVal;
|
---|
296 | } FPU_BINARY_R32_TEST_T;
|
---|
297 |
|
---|
298 | typedef struct FPU_BINARY_I64_TEST_T
|
---|
299 | {
|
---|
300 | uint16_t fFcw;
|
---|
301 | uint16_t fFswIn;
|
---|
302 | uint16_t fFswOut;
|
---|
303 | RTFLOAT80U InVal1;
|
---|
304 | int64_t InVal2;
|
---|
305 | RTFLOAT80U OutVal;
|
---|
306 | } FPU_BINARY_I64_TEST_T;
|
---|
307 |
|
---|
308 | typedef struct FPU_BINARY_I32_TEST_T
|
---|
309 | {
|
---|
310 | uint16_t fFcw;
|
---|
311 | uint16_t fFswIn;
|
---|
312 | uint16_t fFswOut;
|
---|
313 | RTFLOAT80U InVal1;
|
---|
314 | int32_t InVal2;
|
---|
315 | RTFLOAT80U OutVal;
|
---|
316 | } FPU_BINARY_I32_TEST_T;
|
---|
317 |
|
---|
318 | typedef struct FPU_BINARY_I16_TEST_T
|
---|
319 | {
|
---|
320 | uint16_t fFcw;
|
---|
321 | uint16_t fFswIn;
|
---|
322 | uint16_t fFswOut;
|
---|
323 | RTFLOAT80U InVal1;
|
---|
324 | int16_t InVal2;
|
---|
325 | RTFLOAT80U OutVal;
|
---|
326 | } FPU_BINARY_I16_TEST_T;
|
---|
327 |
|
---|
328 | typedef struct FPU_BINARY_EFL_R80_TEST_T
|
---|
329 | {
|
---|
330 | uint16_t fFcw;
|
---|
331 | uint16_t fFswIn;
|
---|
332 | uint16_t fFswOut;
|
---|
333 | RTFLOAT80U InVal1;
|
---|
334 | RTFLOAT80U InVal2;
|
---|
335 | uint32_t fEflOut;
|
---|
336 | } FPU_BINARY_EFL_R80_TEST_T;
|
---|
337 |
|
---|
338 | typedef struct FPU_UNARY_R80_TEST_T
|
---|
339 | {
|
---|
340 | uint16_t fFcw;
|
---|
341 | uint16_t fFswIn;
|
---|
342 | uint16_t fFswOut;
|
---|
343 | RTFLOAT80U InVal;
|
---|
344 | RTFLOAT80U OutVal;
|
---|
345 | } FPU_UNARY_R80_TEST_T;
|
---|
346 |
|
---|
347 | typedef struct FPU_UNARY_TWO_R80_TEST_T
|
---|
348 | {
|
---|
349 | uint16_t fFcw;
|
---|
350 | uint16_t fFswIn;
|
---|
351 | uint16_t fFswOut;
|
---|
352 | RTFLOAT80U InVal;
|
---|
353 | RTFLOAT80U OutVal1;
|
---|
354 | RTFLOAT80U OutVal2;
|
---|
355 | } FPU_UNARY_TWO_R80_TEST_T;
|
---|
356 |
|
---|
357 | typedef struct SSE_BINARY_TEST_T
|
---|
358 | {
|
---|
359 | uint32_t fMxcsrIn;
|
---|
360 | uint32_t fMxcsrOut;
|
---|
361 | uint32_t au32Padding[2];
|
---|
362 | X86XMMREG InVal1;
|
---|
363 | X86XMMREG InVal2;
|
---|
364 | X86XMMREG OutVal;
|
---|
365 | } SSE_BINARY_TEST_T;
|
---|
366 |
|
---|
367 | typedef struct SSE_BINARY_U128_R32_TEST_T
|
---|
368 | {
|
---|
369 | uint32_t fMxcsrIn;
|
---|
370 | uint32_t fMxcsrOut;
|
---|
371 | uint32_t au32Padding[2];
|
---|
372 | X86XMMREG OutVal;
|
---|
373 | X86XMMREG InVal1;
|
---|
374 | RTFLOAT32U r32Val2;
|
---|
375 | } SSE_BINARY_U128_R32_TEST_T;
|
---|
376 |
|
---|
377 | typedef struct SSE_BINARY_U128_R64_TEST_T
|
---|
378 | {
|
---|
379 | uint32_t fMxcsrIn;
|
---|
380 | uint32_t fMxcsrOut;
|
---|
381 | uint32_t au32Padding[2];
|
---|
382 | X86XMMREG OutVal;
|
---|
383 | X86XMMREG InVal1;
|
---|
384 | RTFLOAT64U r64Val2;
|
---|
385 | } SSE_BINARY_U128_R64_TEST_T;
|
---|
386 |
|
---|
387 | typedef struct SSE_BINARY_I32_R64_TEST_T
|
---|
388 | {
|
---|
389 | uint32_t fMxcsrIn;
|
---|
390 | uint32_t fMxcsrOut;
|
---|
391 | uint32_t u32Padding;
|
---|
392 | int32_t i32ValOut;
|
---|
393 | RTFLOAT64U r64ValIn;
|
---|
394 | } SSE_BINARY_I32_R64_TEST_T;
|
---|
395 |
|
---|
396 | typedef struct SSE_BINARY_I64_R64_TEST_T
|
---|
397 | {
|
---|
398 | uint32_t fMxcsrIn;
|
---|
399 | uint32_t fMxcsrOut;
|
---|
400 | int64_t i64ValOut;
|
---|
401 | RTFLOAT64U r64ValIn;
|
---|
402 | } SSE_BINARY_I64_R64_TEST_T;
|
---|
403 |
|
---|
404 | typedef struct SSE_BINARY_I32_R32_TEST_T
|
---|
405 | {
|
---|
406 | uint32_t fMxcsrIn;
|
---|
407 | uint32_t fMxcsrOut;
|
---|
408 | uint32_t u32Padding;
|
---|
409 | int32_t i32ValOut;
|
---|
410 | RTFLOAT32U r32ValIn;
|
---|
411 | } SSE_BINARY_I32_R32_TEST_T;
|
---|
412 |
|
---|
413 | typedef struct SSE_BINARY_I64_R32_TEST_T
|
---|
414 | {
|
---|
415 | uint32_t fMxcsrIn;
|
---|
416 | uint32_t fMxcsrOut;
|
---|
417 | int64_t i64ValOut;
|
---|
418 | RTFLOAT32U r32ValIn;
|
---|
419 | } SSE_BINARY_I64_R32_TEST_T;
|
---|
420 |
|
---|
421 | typedef struct SSE_BINARY_R32_I32_TEST_T
|
---|
422 | {
|
---|
423 | uint32_t fMxcsrIn;
|
---|
424 | uint32_t fMxcsrOut;
|
---|
425 | uint32_t u32Padding;
|
---|
426 | int32_t i32ValIn;
|
---|
427 | RTFLOAT32U r32ValOut;
|
---|
428 | } SSE_BINARY_R32_I32_TEST_T;
|
---|
429 |
|
---|
430 | typedef struct SSE_BINARY_R32_I64_TEST_T
|
---|
431 | {
|
---|
432 | uint32_t fMxcsrIn;
|
---|
433 | uint32_t fMxcsrOut;
|
---|
434 | int64_t i64ValIn;
|
---|
435 | RTFLOAT32U r32ValOut;
|
---|
436 | } SSE_BINARY_R32_I64_TEST_T;
|
---|
437 |
|
---|
438 | typedef struct SSE_BINARY_R64_I32_TEST_T
|
---|
439 | {
|
---|
440 | uint32_t fMxcsrIn;
|
---|
441 | uint32_t fMxcsrOut;
|
---|
442 | uint32_t u32Padding;
|
---|
443 | int32_t i32ValIn;
|
---|
444 | RTFLOAT64U r64ValOut;
|
---|
445 | } SSE_BINARY_R64_I32_TEST_T;
|
---|
446 |
|
---|
447 | typedef struct SSE_BINARY_R64_I64_TEST_T
|
---|
448 | {
|
---|
449 | uint32_t fMxcsrIn;
|
---|
450 | uint32_t fMxcsrOut;
|
---|
451 | int64_t i64ValIn;
|
---|
452 | RTFLOAT64U r64ValOut;
|
---|
453 | } SSE_BINARY_R64_I64_TEST_T;
|
---|
454 |
|
---|
455 | typedef struct SSE_COMPARE_EFL_R32_R32_TEST_T
|
---|
456 | {
|
---|
457 | uint32_t fMxcsrIn;
|
---|
458 | uint32_t fMxcsrOut;
|
---|
459 | uint32_t fEflIn;
|
---|
460 | uint32_t fEflOut;
|
---|
461 | RTFLOAT32U r32ValIn1;
|
---|
462 | RTFLOAT32U r32ValIn2;
|
---|
463 | } SSE_COMPARE_EFL_R32_R32_TEST_T;
|
---|
464 |
|
---|
465 | typedef struct SSE_COMPARE_EFL_R64_R64_TEST_T
|
---|
466 | {
|
---|
467 | uint32_t fMxcsrIn;
|
---|
468 | uint32_t fMxcsrOut;
|
---|
469 | uint32_t fEflIn;
|
---|
470 | uint32_t fEflOut;
|
---|
471 | RTFLOAT64U r64ValIn1;
|
---|
472 | RTFLOAT64U r64ValIn2;
|
---|
473 | } SSE_COMPARE_EFL_R64_R64_TEST_T;
|
---|
474 |
|
---|
475 | typedef struct SSE_COMPARE_F3_XMM_IMM8_TEST_T
|
---|
476 | {
|
---|
477 | uint32_t fMxcsrIn;
|
---|
478 | uint32_t fMxcsrOut;
|
---|
479 | uint8_t bImm;
|
---|
480 | uint8_t abPadding0[3];
|
---|
481 | uint32_t u32Padding1;
|
---|
482 | X86XMMREG InVal1;
|
---|
483 | X86XMMREG InVal2;
|
---|
484 | X86XMMREG OutVal;
|
---|
485 | } SSE_COMPARE_F3_XMM_IMM8_TEST_T;
|
---|
486 |
|
---|
487 | typedef struct SSE_CONVERT_XMM_TEST_T
|
---|
488 | {
|
---|
489 | uint32_t fMxcsrIn;
|
---|
490 | uint32_t fMxcsrOut;
|
---|
491 | uint32_t au32Padding[2];
|
---|
492 | X86XMMREG InVal;
|
---|
493 | X86XMMREG OutVal;
|
---|
494 | } SSE_CONVERT_XMM_TEST_T;
|
---|
495 |
|
---|
496 | typedef struct SSE_CONVERT_MM_XMM_TEST_T
|
---|
497 | {
|
---|
498 | uint32_t fMxcsrIn;
|
---|
499 | uint32_t fMxcsrOut;
|
---|
500 | RTUINT64U OutVal;
|
---|
501 | X86XMMREG InVal;
|
---|
502 | } SSE_CONVERT_MM_XMM_TEST_T;
|
---|
503 |
|
---|
504 | typedef struct SSE_CONVERT_XMM_MM_TEST_T
|
---|
505 | {
|
---|
506 | uint32_t fMxcsrIn;
|
---|
507 | uint32_t fMxcsrOut;
|
---|
508 | RTUINT64U InVal;
|
---|
509 | X86XMMREG OutVal;
|
---|
510 | } SSE_CONVERT_XMM_MM_TEST_T;
|
---|
511 |
|
---|
512 | typedef struct SSE_CONVERT_MM_R32_TEST_T
|
---|
513 | {
|
---|
514 | uint32_t fMxcsrIn;
|
---|
515 | uint32_t fMxcsrOut;
|
---|
516 | RTFLOAT32U ar32InVal[2];
|
---|
517 | RTUINT64U OutVal;
|
---|
518 | } SSE_CONVERT_MM_R32_TEST_T;
|
---|
519 |
|
---|
520 | typedef struct SSE_PCMPISTRI_TEST_T
|
---|
521 | {
|
---|
522 | X86XMMREG InVal1;
|
---|
523 | X86XMMREG InVal2;
|
---|
524 | uint32_t u32EcxOut;
|
---|
525 | uint32_t fEFlagsIn;
|
---|
526 | uint32_t fEFlagsOut;
|
---|
527 | uint8_t bImm;
|
---|
528 | } SSE_PCMPISTRI_TEST_T;
|
---|
529 |
|
---|
530 | typedef struct SSE_PCMPESTRI_TEST_T
|
---|
531 | {
|
---|
532 | X86XMMREG InVal1;
|
---|
533 | X86XMMREG InVal2;
|
---|
534 | uint64_t u64Rax;
|
---|
535 | uint64_t u64Rdx;
|
---|
536 | uint32_t u32EcxOut;
|
---|
537 | uint32_t fEFlagsIn;
|
---|
538 | uint32_t fEFlagsOut;
|
---|
539 | uint8_t bImm;
|
---|
540 | } SSE_PCMPESTRI_TEST_T;
|
---|
541 |
|
---|
542 | typedef struct SSE_PCMPISTRM_TEST_T
|
---|
543 | {
|
---|
544 | X86XMMREG InVal1;
|
---|
545 | X86XMMREG InVal2;
|
---|
546 | X86XMMREG OutVal;
|
---|
547 | uint32_t fEFlagsIn;
|
---|
548 | uint32_t fEFlagsOut;
|
---|
549 | uint8_t bImm;
|
---|
550 | } SSE_PCMPISTRM_TEST_T;
|
---|
551 |
|
---|
552 | typedef struct SSE_PCMPESTRM_TEST_T
|
---|
553 | {
|
---|
554 | X86XMMREG InVal1;
|
---|
555 | X86XMMREG InVal2;
|
---|
556 | X86XMMREG OutVal;
|
---|
557 | uint64_t u64Rax;
|
---|
558 | uint64_t u64Rdx;
|
---|
559 | uint32_t fEFlagsIn;
|
---|
560 | uint32_t fEFlagsOut;
|
---|
561 | uint8_t bImm;
|
---|
562 | } SSE_PCMPESTRM_TEST_T;
|
---|
563 |
|
---|
564 | /** @} */
|
---|
565 |
|
---|
566 |
|
---|
567 | #define TSTIEM_DEFINE_EMPTY_TEST_ARRAY_BIN(a_Type, a_Instr) \
|
---|
568 | extern a_Type const RT_CONCAT(g_abTests_, a_Instr)[] = { {0} }; \
|
---|
569 | extern uint32_t const RT_CONCAT(g_cbTests_, a_Instr) = 0
|
---|
570 |
|
---|
571 | #define TSTIEM_DECLARE_TEST_ARRAY_BIN(a_szFile, a_Type, a_Instr) \
|
---|
572 | extern a_Type const RT_CONCAT(g_abTests_, a_Instr)[]; \
|
---|
573 | extern uint32_t const RT_CONCAT(g_cbTests_, a_Instr)
|
---|
574 |
|
---|
575 | RT_C_DECLS_BEGIN
|
---|
576 |
|
---|
577 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, add_u8 );
|
---|
578 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, add_u8_locked );
|
---|
579 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, adc_u8 );
|
---|
580 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, adc_u8_locked );
|
---|
581 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, sub_u8 );
|
---|
582 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, sub_u8_locked );
|
---|
583 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, sbb_u8 );
|
---|
584 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, sbb_u8_locked );
|
---|
585 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, or_u8 );
|
---|
586 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, or_u8_locked );
|
---|
587 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, xor_u8 );
|
---|
588 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, xor_u8_locked );
|
---|
589 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, and_u8 );
|
---|
590 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, and_u8_locked );
|
---|
591 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, cmp_u8 );
|
---|
592 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, test_u8 );
|
---|
593 |
|
---|
594 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, add_u16 );
|
---|
595 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, add_u16_locked );
|
---|
596 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, adc_u16 );
|
---|
597 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, adc_u16_locked );
|
---|
598 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, sub_u16 );
|
---|
599 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, sub_u16_locked );
|
---|
600 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, sbb_u16 );
|
---|
601 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, sbb_u16_locked );
|
---|
602 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, or_u16 );
|
---|
603 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, or_u16_locked );
|
---|
604 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, xor_u16 );
|
---|
605 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, xor_u16_locked );
|
---|
606 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, and_u16 );
|
---|
607 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, and_u16_locked );
|
---|
608 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, cmp_u16 );
|
---|
609 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, test_u16 );
|
---|
610 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, bt_u16 );
|
---|
611 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, btc_u16 );
|
---|
612 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, btc_u16_locked );
|
---|
613 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, btr_u16 );
|
---|
614 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, btr_u16_locked );
|
---|
615 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, bts_u16 );
|
---|
616 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, bts_u16_locked );
|
---|
617 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, arpl );
|
---|
618 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, bsf_u16_amd );
|
---|
619 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, bsr_u16_amd );
|
---|
620 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, imul_two_u16_amd );
|
---|
621 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, bsf_u16_intel );
|
---|
622 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, bsr_u16_intel );
|
---|
623 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, imul_two_u16_intel );
|
---|
624 |
|
---|
625 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, add_u32 );
|
---|
626 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, add_u32_locked );
|
---|
627 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, adc_u32 );
|
---|
628 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, adc_u32_locked );
|
---|
629 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, sub_u32 );
|
---|
630 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, sub_u32_locked );
|
---|
631 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, sbb_u32 );
|
---|
632 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, sbb_u32_locked );
|
---|
633 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, or_u32 );
|
---|
634 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, or_u32_locked );
|
---|
635 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, xor_u32 );
|
---|
636 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, xor_u32_locked );
|
---|
637 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, and_u32 );
|
---|
638 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, and_u32_locked );
|
---|
639 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, cmp_u32 );
|
---|
640 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, test_u32 );
|
---|
641 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, bt_u32 );
|
---|
642 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, btc_u32 );
|
---|
643 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, btc_u32_locked );
|
---|
644 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, btr_u32 );
|
---|
645 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, btr_u32_locked );
|
---|
646 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, bts_u32 );
|
---|
647 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, bts_u32_locked );
|
---|
648 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, bsf_u32_amd );
|
---|
649 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, bsr_u32_amd );
|
---|
650 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, imul_two_u32_amd );
|
---|
651 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, bsf_u32_intel );
|
---|
652 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, bsr_u32_intel );
|
---|
653 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, imul_two_u32_intel );
|
---|
654 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, adcx_u32 );
|
---|
655 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, adox_u32 );
|
---|
656 |
|
---|
657 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, add_u64 );
|
---|
658 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, add_u64_locked );
|
---|
659 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, adc_u64 );
|
---|
660 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, adc_u64_locked );
|
---|
661 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, sub_u64 );
|
---|
662 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, sub_u64_locked );
|
---|
663 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, sbb_u64 );
|
---|
664 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, sbb_u64_locked );
|
---|
665 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, or_u64 );
|
---|
666 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, or_u64_locked );
|
---|
667 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, xor_u64 );
|
---|
668 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, xor_u64_locked );
|
---|
669 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, and_u64 );
|
---|
670 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, and_u64_locked );
|
---|
671 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, cmp_u64 );
|
---|
672 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, test_u64 );
|
---|
673 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, bt_u64 );
|
---|
674 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, btc_u64 );
|
---|
675 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, btc_u64_locked );
|
---|
676 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, btr_u64 );
|
---|
677 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, btr_u64_locked );
|
---|
678 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, bts_u64 );
|
---|
679 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, bts_u64_locked );
|
---|
680 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, bsf_u64_amd );
|
---|
681 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, bsr_u64_amd );
|
---|
682 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, imul_two_u64_amd );
|
---|
683 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, bsf_u64_intel );
|
---|
684 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, bsr_u64_intel );
|
---|
685 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, imul_two_u64_intel );
|
---|
686 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, adcx_u64 );
|
---|
687 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, adox_u64 );
|
---|
688 |
|
---|
689 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, shrd_u16_amd );
|
---|
690 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, shld_u16_amd );
|
---|
691 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, shrd_u32_amd );
|
---|
692 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, shld_u32_amd );
|
---|
693 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, shrd_u64_amd );
|
---|
694 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, shld_u64_amd );
|
---|
695 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, shrd_u16_intel );
|
---|
696 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, shld_u16_intel );
|
---|
697 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, shrd_u32_intel );
|
---|
698 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, shld_u32_intel );
|
---|
699 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, shrd_u64_intel );
|
---|
700 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, shld_u64_intel );
|
---|
701 |
|
---|
702 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, inc_u8 );
|
---|
703 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, inc_u8_locked );
|
---|
704 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, dec_u8 );
|
---|
705 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, dec_u8_locked );
|
---|
706 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, not_u8 );
|
---|
707 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, not_u8_locked );
|
---|
708 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, neg_u8 );
|
---|
709 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU8_TEST_T, neg_u8_locked );
|
---|
710 |
|
---|
711 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, inc_u16 );
|
---|
712 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, inc_u16_locked );
|
---|
713 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, dec_u16 );
|
---|
714 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, dec_u16_locked );
|
---|
715 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, not_u16 );
|
---|
716 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, not_u16_locked );
|
---|
717 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, neg_u16 );
|
---|
718 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU16_TEST_T, neg_u16_locked );
|
---|
719 |
|
---|
720 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, inc_u32 );
|
---|
721 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, inc_u32_locked );
|
---|
722 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, dec_u32 );
|
---|
723 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, dec_u32_locked );
|
---|
724 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, not_u32 );
|
---|
725 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, not_u32_locked );
|
---|
726 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, neg_u32 );
|
---|
727 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU32_TEST_T, neg_u32_locked );
|
---|
728 |
|
---|
729 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, inc_u64 );
|
---|
730 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, inc_u64_locked );
|
---|
731 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, dec_u64 );
|
---|
732 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, dec_u64_locked );
|
---|
733 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, not_u64 );
|
---|
734 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, not_u64_locked );
|
---|
735 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, neg_u64 );
|
---|
736 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int, BINU64_TEST_T, neg_u64_locked );
|
---|
737 |
|
---|
738 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU8_TEST_T, rol_u8_amd );
|
---|
739 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU8_TEST_T, ror_u8_amd );
|
---|
740 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU8_TEST_T, rcl_u8_amd );
|
---|
741 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU8_TEST_T, rcr_u8_amd );
|
---|
742 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU8_TEST_T, shl_u8_amd );
|
---|
743 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU8_TEST_T, shr_u8_amd );
|
---|
744 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU8_TEST_T, sar_u8_amd );
|
---|
745 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU8_TEST_T, rol_u8_intel );
|
---|
746 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU8_TEST_T, ror_u8_intel );
|
---|
747 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU8_TEST_T, rcl_u8_intel );
|
---|
748 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU8_TEST_T, rcr_u8_intel );
|
---|
749 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU8_TEST_T, shl_u8_intel );
|
---|
750 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU8_TEST_T, shr_u8_intel );
|
---|
751 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU8_TEST_T, sar_u8_intel );
|
---|
752 |
|
---|
753 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, rol_u16_amd );
|
---|
754 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, ror_u16_amd );
|
---|
755 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, rcl_u16_amd );
|
---|
756 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, rcr_u16_amd );
|
---|
757 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, shl_u16_amd );
|
---|
758 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, shr_u16_amd );
|
---|
759 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU16_TEST_T, sar_u16_amd );
|
---|
760 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, rol_u16_intel );
|
---|
761 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, ror_u16_intel );
|
---|
762 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, rcl_u16_intel );
|
---|
763 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, rcr_u16_intel );
|
---|
764 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, shl_u16_intel );
|
---|
765 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, shr_u16_intel );
|
---|
766 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU16_TEST_T, sar_u16_intel );
|
---|
767 |
|
---|
768 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, rol_u32_amd );
|
---|
769 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, ror_u32_amd );
|
---|
770 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, rcl_u32_amd );
|
---|
771 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, rcr_u32_amd );
|
---|
772 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, shl_u32_amd );
|
---|
773 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, shr_u32_amd );
|
---|
774 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU32_TEST_T, sar_u32_amd );
|
---|
775 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, rol_u32_intel );
|
---|
776 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, ror_u32_intel );
|
---|
777 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, rcl_u32_intel );
|
---|
778 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, rcr_u32_intel );
|
---|
779 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, shl_u32_intel );
|
---|
780 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, shr_u32_intel );
|
---|
781 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU32_TEST_T, sar_u32_intel );
|
---|
782 |
|
---|
783 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, rol_u64_amd );
|
---|
784 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, ror_u64_amd );
|
---|
785 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, rcl_u64_amd );
|
---|
786 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, rcr_u64_amd );
|
---|
787 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, shl_u64_amd );
|
---|
788 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, shr_u64_amd );
|
---|
789 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, BINU64_TEST_T, sar_u64_amd );
|
---|
790 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, rol_u64_intel );
|
---|
791 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, ror_u64_intel );
|
---|
792 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, rcl_u64_intel );
|
---|
793 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, rcr_u64_intel );
|
---|
794 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, shl_u64_intel );
|
---|
795 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, shr_u64_intel );
|
---|
796 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, BINU64_TEST_T, sar_u64_intel );
|
---|
797 |
|
---|
798 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU8_TEST_T, mul_u8_amd );
|
---|
799 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU8_TEST_T, imul_u8_amd );
|
---|
800 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU8_TEST_T, div_u8_amd );
|
---|
801 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU8_TEST_T, idiv_u8_amd );
|
---|
802 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU8_TEST_T, mul_u8_intel );
|
---|
803 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU8_TEST_T, imul_u8_intel );
|
---|
804 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU8_TEST_T, div_u8_intel );
|
---|
805 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU8_TEST_T, idiv_u8_intel );
|
---|
806 |
|
---|
807 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU16_TEST_T, mul_u16_amd );
|
---|
808 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU16_TEST_T, imul_u16_amd );
|
---|
809 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU16_TEST_T, div_u16_amd );
|
---|
810 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU16_TEST_T, idiv_u16_amd );
|
---|
811 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU16_TEST_T, mul_u16_intel );
|
---|
812 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU16_TEST_T, imul_u16_intel );
|
---|
813 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU16_TEST_T, div_u16_intel );
|
---|
814 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU16_TEST_T, idiv_u16_intel );
|
---|
815 |
|
---|
816 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU32_TEST_T, mul_u32_amd );
|
---|
817 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU32_TEST_T, imul_u32_amd );
|
---|
818 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU32_TEST_T, div_u32_amd );
|
---|
819 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU32_TEST_T, idiv_u32_amd );
|
---|
820 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU32_TEST_T, mul_u32_intel );
|
---|
821 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU32_TEST_T, imul_u32_intel );
|
---|
822 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU32_TEST_T, div_u32_intel );
|
---|
823 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU32_TEST_T, idiv_u32_intel );
|
---|
824 |
|
---|
825 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU64_TEST_T, mul_u64_amd );
|
---|
826 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU64_TEST_T, imul_u64_amd );
|
---|
827 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU64_TEST_T, div_u64_amd );
|
---|
828 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Amd, MULDIVU64_TEST_T, idiv_u64_amd );
|
---|
829 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU64_TEST_T, mul_u64_intel );
|
---|
830 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU64_TEST_T, imul_u64_intel );
|
---|
831 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU64_TEST_T, div_u64_intel );
|
---|
832 | TSTIEM_DECLARE_TEST_ARRAY_BIN(Int-Intel, MULDIVU64_TEST_T, idiv_u64_intel );
|
---|
833 |
|
---|
834 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_LD_CONST_TEST_T, fld1 );
|
---|
835 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_LD_CONST_TEST_T, fldl2t );
|
---|
836 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_LD_CONST_TEST_T, fldl2e );
|
---|
837 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_LD_CONST_TEST_T, fldpi );
|
---|
838 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_LD_CONST_TEST_T, fldlg2 );
|
---|
839 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_LD_CONST_TEST_T, fldln2 );
|
---|
840 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_LD_CONST_TEST_T, fldz );
|
---|
841 |
|
---|
842 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_R80_IN_TEST_T, fld_r80_from_r80 );
|
---|
843 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_R64_IN_TEST_T, fld_r80_from_r64 );
|
---|
844 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_R32_IN_TEST_T, fld_r80_from_r32 );
|
---|
845 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_I64_IN_TEST_T, fild_r80_from_i64 );
|
---|
846 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_I32_IN_TEST_T, fild_r80_from_i32 );
|
---|
847 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_I16_IN_TEST_T, fild_r80_from_i16 );
|
---|
848 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_D80_IN_TEST_T, fld_r80_from_d80 );
|
---|
849 |
|
---|
850 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_ST_R80_TEST_T, fst_r80_to_r80 );
|
---|
851 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_ST_R64_TEST_T, fst_r80_to_r64 );
|
---|
852 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_ST_R32_TEST_T, fst_r80_to_r32 );
|
---|
853 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_ST_I64_TEST_T, fist_r80_to_i64 );
|
---|
854 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_ST_I32_TEST_T, fist_r80_to_i32 );
|
---|
855 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_ST_I16_TEST_T, fist_r80_to_i16 );
|
---|
856 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_ST_I64_TEST_T, fistt_r80_to_i64 );
|
---|
857 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_ST_I32_TEST_T, fistt_r80_to_i32 );
|
---|
858 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt-Amd, FPU_ST_I16_TEST_T, fistt_r80_to_i16_amd );
|
---|
859 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt-Intel, FPU_ST_I16_TEST_T, fistt_r80_to_i16_intel );
|
---|
860 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuLdSt, FPU_ST_D80_TEST_T, fst_r80_to_d80 );
|
---|
861 |
|
---|
862 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fadd_r80_by_r80 );
|
---|
863 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fsub_r80_by_r80 );
|
---|
864 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fsubr_r80_by_r80 );
|
---|
865 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fmul_r80_by_r80 );
|
---|
866 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fdiv_r80_by_r80 );
|
---|
867 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fdivr_r80_by_r80 );
|
---|
868 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fprem_r80_by_r80 );
|
---|
869 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fprem1_r80_by_r80 );
|
---|
870 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fscale_r80_by_r80 );
|
---|
871 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1-Amd, FPU_BINARY_R80_TEST_T, fpatan_r80_by_r80_amd );
|
---|
872 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1-Intel, FPU_BINARY_R80_TEST_T, fpatan_r80_by_r80_intel );
|
---|
873 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1-Amd, FPU_BINARY_R80_TEST_T, fyl2x_r80_by_r80_amd );
|
---|
874 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1-Intel, FPU_BINARY_R80_TEST_T, fyl2x_r80_by_r80_intel );
|
---|
875 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1-Amd, FPU_BINARY_R80_TEST_T, fyl2xp1_r80_by_r80_amd );
|
---|
876 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1-Intel, FPU_BINARY_R80_TEST_T, fyl2xp1_r80_by_r80_intel );
|
---|
877 |
|
---|
878 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R64_TEST_T, fadd_r80_by_r64 );
|
---|
879 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R64_TEST_T, fmul_r80_by_r64 );
|
---|
880 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R64_TEST_T, fsub_r80_by_r64 );
|
---|
881 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R64_TEST_T, fsubr_r80_by_r64 );
|
---|
882 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R64_TEST_T, fdiv_r80_by_r64 );
|
---|
883 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R64_TEST_T, fdivr_r80_by_r64 );
|
---|
884 |
|
---|
885 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R32_TEST_T, fadd_r80_by_r32 );
|
---|
886 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R32_TEST_T, fmul_r80_by_r32 );
|
---|
887 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R32_TEST_T, fsub_r80_by_r32 );
|
---|
888 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R32_TEST_T, fsubr_r80_by_r32 );
|
---|
889 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R32_TEST_T, fdiv_r80_by_r32 );
|
---|
890 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R32_TEST_T, fdivr_r80_by_r32 );
|
---|
891 |
|
---|
892 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I32_TEST_T, fiadd_r80_by_i32 );
|
---|
893 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I32_TEST_T, fimul_r80_by_i32 );
|
---|
894 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I32_TEST_T, fisub_r80_by_i32 );
|
---|
895 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I32_TEST_T, fisubr_r80_by_i32 );
|
---|
896 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I32_TEST_T, fidiv_r80_by_i32 );
|
---|
897 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I32_TEST_T, fidivr_r80_by_i32 );
|
---|
898 |
|
---|
899 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I16_TEST_T, fiadd_r80_by_i16 );
|
---|
900 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I16_TEST_T, fimul_r80_by_i16 );
|
---|
901 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I16_TEST_T, fisub_r80_by_i16 );
|
---|
902 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I16_TEST_T, fisubr_r80_by_i16 );
|
---|
903 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I16_TEST_T, fidiv_r80_by_i16 );
|
---|
904 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I16_TEST_T, fidivr_r80_by_i16 );
|
---|
905 |
|
---|
906 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fcom_r80_by_r80 );
|
---|
907 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_R80_TEST_T, fucom_r80_by_r80 );
|
---|
908 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R64_TEST_T, fcom_r80_by_r64 );
|
---|
909 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_R32_TEST_T, fcom_r80_by_r32 );
|
---|
910 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I32_TEST_T, ficom_r80_by_i32 );
|
---|
911 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary2, FPU_BINARY_I16_TEST_T, ficom_r80_by_i16 );
|
---|
912 |
|
---|
913 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_EFL_R80_TEST_T, fcomi_r80_by_r80 );
|
---|
914 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuBinary1, FPU_BINARY_EFL_R80_TEST_T, fucomi_r80_by_r80 );
|
---|
915 |
|
---|
916 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther, FPU_UNARY_R80_TEST_T, fabs_r80 );
|
---|
917 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther, FPU_UNARY_R80_TEST_T, fchs_r80 );
|
---|
918 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther-Amd, FPU_UNARY_R80_TEST_T, f2xm1_r80_amd );
|
---|
919 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther-Intel, FPU_UNARY_R80_TEST_T, f2xm1_r80_intel );
|
---|
920 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther, FPU_UNARY_R80_TEST_T, fsqrt_r80 );
|
---|
921 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther, FPU_UNARY_R80_TEST_T, frndint_r80 );
|
---|
922 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther-Amd, FPU_UNARY_R80_TEST_T, fsin_r80_amd );
|
---|
923 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther-Intel, FPU_UNARY_R80_TEST_T, fsin_r80_intel );
|
---|
924 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther-Amd, FPU_UNARY_R80_TEST_T, fcos_r80_amd );
|
---|
925 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther-Intel, FPU_UNARY_R80_TEST_T, fcos_r80_intel );
|
---|
926 |
|
---|
927 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther, FPU_UNARY_R80_TEST_T, ftst_r80 );
|
---|
928 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther, FPU_UNARY_R80_TEST_T, fxam_r80 );
|
---|
929 |
|
---|
930 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther-Amd, FPU_UNARY_TWO_R80_TEST_T, fptan_r80_r80_amd );
|
---|
931 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther-Intel, FPU_UNARY_TWO_R80_TEST_T, fptan_r80_r80_intel );
|
---|
932 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther, FPU_UNARY_TWO_R80_TEST_T, fxtract_r80_r80 );
|
---|
933 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther-Amd, FPU_UNARY_TWO_R80_TEST_T, fsincos_r80_r80_amd );
|
---|
934 | TSTIEM_DECLARE_TEST_ARRAY_BIN(FpuOther-Intel, FPU_UNARY_TWO_R80_TEST_T, fsincos_r80_r80_intel );
|
---|
935 |
|
---|
936 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, addps_u128 );
|
---|
937 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, mulps_u128 );
|
---|
938 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, subps_u128 );
|
---|
939 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, minps_u128 );
|
---|
940 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, divps_u128 );
|
---|
941 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, maxps_u128 );
|
---|
942 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, haddps_u128 );
|
---|
943 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, hsubps_u128 );
|
---|
944 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, sqrtps_u128 );
|
---|
945 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, addsubps_u128 );
|
---|
946 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, cvtps2pd_u128x );
|
---|
947 |
|
---|
948 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, addss_u128_r32 );
|
---|
949 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, mulss_u128_r32 );
|
---|
950 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, subss_u128_r32 );
|
---|
951 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, minss_u128_r32 );
|
---|
952 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, divss_u128_r32 );
|
---|
953 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, maxss_u128_r32 );
|
---|
954 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, cvtss2sd_u128_r32 );
|
---|
955 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, sqrtss_u128_r32 );
|
---|
956 |
|
---|
957 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, addpd_u128 );
|
---|
958 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, mulpd_u128 );
|
---|
959 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, subpd_u128 );
|
---|
960 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, minpd_u128 );
|
---|
961 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, divpd_u128 );
|
---|
962 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, maxpd_u128 );
|
---|
963 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, haddpd_u128 );
|
---|
964 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, hsubpd_u128 );
|
---|
965 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, sqrtpd_u128 );
|
---|
966 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, addsubpd_u128 );
|
---|
967 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, cvtpd2ps_u128 );
|
---|
968 |
|
---|
969 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, addsd_u128_r64 );
|
---|
970 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, mulsd_u128_r64 );
|
---|
971 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, subsd_u128_r64 );
|
---|
972 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, minsd_u128_r64 );
|
---|
973 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, divsd_u128_r64 );
|
---|
974 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, maxsd_u128_r64 );
|
---|
975 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, cvtsd2ss_u128_r64 );
|
---|
976 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, sqrtsd_u128_r64 );
|
---|
977 |
|
---|
978 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I32_R64_TEST_T, cvttsd2si_i32_r64 );
|
---|
979 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I32_R64_TEST_T, cvtsd2si_i32_r64 );
|
---|
980 |
|
---|
981 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I64_R64_TEST_T, cvttsd2si_i64_r64 );
|
---|
982 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I64_R64_TEST_T, cvtsd2si_i64_r64 );
|
---|
983 |
|
---|
984 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I32_R32_TEST_T, cvttss2si_i32_r32 );
|
---|
985 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I32_R32_TEST_T, cvtss2si_i32_r32 );
|
---|
986 |
|
---|
987 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I64_R32_TEST_T, cvttss2si_i64_r32 );
|
---|
988 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I64_R32_TEST_T, cvtss2si_i64_r32 );
|
---|
989 |
|
---|
990 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_R32_I32_TEST_T, cvtsi2ss_r32_i32 );
|
---|
991 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_R32_I64_TEST_T, cvtsi2ss_r32_i64 );
|
---|
992 |
|
---|
993 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_R64_I32_TEST_T, cvtsi2sd_r64_i32 );
|
---|
994 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_R64_I64_TEST_T, cvtsi2sd_r64_i64 );
|
---|
995 |
|
---|
996 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R32_R32_TEST_T, ucomiss_u128 );
|
---|
997 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R32_R32_TEST_T, vucomiss_u128 );
|
---|
998 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R32_R32_TEST_T, comiss_u128 );
|
---|
999 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R32_R32_TEST_T, vcomiss_u128 );
|
---|
1000 |
|
---|
1001 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R64_R64_TEST_T, ucomisd_u128 );
|
---|
1002 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R64_R64_TEST_T, vucomisd_u128 );
|
---|
1003 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R64_R64_TEST_T, comisd_u128 );
|
---|
1004 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R64_R64_TEST_T, vcomisd_u128 );
|
---|
1005 |
|
---|
1006 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_F3_XMM_IMM8_TEST_T, cmpps_u128 );
|
---|
1007 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_F3_XMM_IMM8_TEST_T, cmppd_u128 );
|
---|
1008 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_F3_XMM_IMM8_TEST_T, cmpss_u128 );
|
---|
1009 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_F3_XMM_IMM8_TEST_T, cmpsd_u128 );
|
---|
1010 |
|
---|
1011 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvtdq2ps_u128 );
|
---|
1012 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvtps2dq_u128 );
|
---|
1013 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvttps2dq_u128 );
|
---|
1014 |
|
---|
1015 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvttpd2dq_u128 );
|
---|
1016 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvtdq2pd_u128 );
|
---|
1017 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvtpd2dq_u128 );
|
---|
1018 |
|
---|
1019 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_MM_XMM_TEST_T, cvtpd2pi_u128 );
|
---|
1020 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_MM_XMM_TEST_T, cvttpd2pi_u128 );
|
---|
1021 |
|
---|
1022 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_MM_TEST_T, cvtpi2ps_u128 );
|
---|
1023 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_MM_TEST_T, cvtpi2pd_u128 );
|
---|
1024 |
|
---|
1025 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_MM_R32_TEST_T, cvtps2pi_u128 );
|
---|
1026 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_MM_R32_TEST_T, cvttps2pi_u128 );
|
---|
1027 |
|
---|
1028 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SsePcmpxstrx, SSE_PCMPISTRI_TEST_T, pcmpistri_u128 );
|
---|
1029 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SsePcmpxstrx, SSE_PCMPISTRI_TEST_T, vpcmpistri_u128 );
|
---|
1030 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SsePcmpxstrx, SSE_PCMPESTRI_TEST_T, pcmpestri_u128 );
|
---|
1031 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SsePcmpxstrx, SSE_PCMPESTRI_TEST_T, vpcmpestri_u128 );
|
---|
1032 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SsePcmpxstrx, SSE_PCMPISTRM_TEST_T, pcmpistrm_u128 );
|
---|
1033 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SsePcmpxstrx, SSE_PCMPISTRM_TEST_T, vpcmpistrm_u128 );
|
---|
1034 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SsePcmpxstrx, SSE_PCMPESTRM_TEST_T, pcmpestrm_u128 );
|
---|
1035 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SsePcmpxstrx, SSE_PCMPESTRM_TEST_T, vpcmpestrm_u128 );
|
---|
1036 |
|
---|
1037 | RT_C_DECLS_END
|
---|
1038 |
|
---|
1039 | #endif /* !VMM_INCLUDED_SRC_testcase_tstIEMAImpl_h */
|
---|
1040 |
|
---|