1 | /* $Id: tstIEMAImpl.h 96931 2022-09-29 09:55:49Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * IEM Assembly Instruction Helper Testcase, Data Header File.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2022 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_F2_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_F2_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 | /** @} */
|
---|
521 |
|
---|
522 |
|
---|
523 | #define TSTIEM_DEFINE_EMPTY_TEST_ARRAY(a_Type, a_Instr) \
|
---|
524 | extern a_Type const RT_CONCAT(g_aTests_, a_Instr)[] = { {0} }; \
|
---|
525 | extern uint32_t const RT_CONCAT(g_cTests_, a_Instr) = 0
|
---|
526 |
|
---|
527 | #define TSTIEM_DEFINE_EMPTY_TEST_ARRAY_BIN(a_Type, a_Instr) \
|
---|
528 | extern a_Type const RT_CONCAT(g_aTests_, a_Instr)[] = { {0} }; \
|
---|
529 | extern uint32_t const RT_CONCAT(g_cbTests_, a_Instr) = 0
|
---|
530 |
|
---|
531 | #define TSTIEM_DECLARE_TEST_ARRAY(a_szFile, a_Type, a_Instr) \
|
---|
532 | extern a_Type const RT_CONCAT(g_aTests_, a_Instr)[]; \
|
---|
533 | extern uint32_t const RT_CONCAT(g_cTests_, a_Instr)
|
---|
534 |
|
---|
535 | #define TSTIEM_DECLARE_TEST_ARRAY_BIN(a_szFile, a_Type, a_Instr) \
|
---|
536 | extern a_Type const RT_CONCAT(g_aTests_, a_Instr)[]; \
|
---|
537 | extern uint32_t const RT_CONCAT(g_cbTests_, a_Instr)
|
---|
538 |
|
---|
539 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, add_u8 );
|
---|
540 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, add_u8_locked );
|
---|
541 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, adc_u8 );
|
---|
542 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, adc_u8_locked );
|
---|
543 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, sub_u8 );
|
---|
544 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, sub_u8_locked );
|
---|
545 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, sbb_u8 );
|
---|
546 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, sbb_u8_locked );
|
---|
547 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, or_u8 );
|
---|
548 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, or_u8_locked );
|
---|
549 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, xor_u8 );
|
---|
550 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, xor_u8_locked );
|
---|
551 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, and_u8 );
|
---|
552 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, and_u8_locked );
|
---|
553 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, cmp_u8 );
|
---|
554 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, test_u8 );
|
---|
555 |
|
---|
556 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, add_u16 );
|
---|
557 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, add_u16_locked );
|
---|
558 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, adc_u16 );
|
---|
559 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, adc_u16_locked );
|
---|
560 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, sub_u16 );
|
---|
561 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, sub_u16_locked );
|
---|
562 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, sbb_u16 );
|
---|
563 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, sbb_u16_locked );
|
---|
564 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, or_u16 );
|
---|
565 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, or_u16_locked );
|
---|
566 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, xor_u16 );
|
---|
567 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, xor_u16_locked );
|
---|
568 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, and_u16 );
|
---|
569 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, and_u16_locked );
|
---|
570 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, cmp_u16 );
|
---|
571 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, test_u16 );
|
---|
572 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, bt_u16 );
|
---|
573 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, btc_u16 );
|
---|
574 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, btc_u16_locked );
|
---|
575 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, btr_u16 );
|
---|
576 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, btr_u16_locked );
|
---|
577 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, bts_u16 );
|
---|
578 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, bts_u16_locked );
|
---|
579 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, arpl );
|
---|
580 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, bsf_u16_amd );
|
---|
581 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, bsr_u16_amd );
|
---|
582 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, imul_two_u16_amd );
|
---|
583 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, bsf_u16_intel );
|
---|
584 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, bsr_u16_intel );
|
---|
585 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, imul_two_u16_intel );
|
---|
586 |
|
---|
587 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, add_u32 );
|
---|
588 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, add_u32_locked );
|
---|
589 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, adc_u32 );
|
---|
590 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, adc_u32_locked );
|
---|
591 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, sub_u32 );
|
---|
592 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, sub_u32_locked );
|
---|
593 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, sbb_u32 );
|
---|
594 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, sbb_u32_locked );
|
---|
595 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, or_u32 );
|
---|
596 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, or_u32_locked );
|
---|
597 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, xor_u32 );
|
---|
598 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, xor_u32_locked );
|
---|
599 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, and_u32 );
|
---|
600 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, and_u32_locked );
|
---|
601 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, cmp_u32 );
|
---|
602 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, test_u32 );
|
---|
603 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, bt_u32 );
|
---|
604 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, btc_u32 );
|
---|
605 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, btc_u32_locked );
|
---|
606 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, btr_u32 );
|
---|
607 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, btr_u32_locked );
|
---|
608 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, bts_u32 );
|
---|
609 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, bts_u32_locked );
|
---|
610 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, bsf_u32_amd );
|
---|
611 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, bsr_u32_amd );
|
---|
612 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, imul_two_u32_amd );
|
---|
613 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, bsf_u32_intel );
|
---|
614 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, bsr_u32_intel );
|
---|
615 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, imul_two_u32_intel );
|
---|
616 |
|
---|
617 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, add_u64 );
|
---|
618 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, add_u64_locked );
|
---|
619 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, adc_u64 );
|
---|
620 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, adc_u64_locked );
|
---|
621 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, sub_u64 );
|
---|
622 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, sub_u64_locked );
|
---|
623 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, sbb_u64 );
|
---|
624 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, sbb_u64_locked );
|
---|
625 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, or_u64 );
|
---|
626 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, or_u64_locked );
|
---|
627 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, xor_u64 );
|
---|
628 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, xor_u64_locked );
|
---|
629 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, and_u64 );
|
---|
630 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, and_u64_locked );
|
---|
631 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, cmp_u64 );
|
---|
632 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, test_u64 );
|
---|
633 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, bt_u64 );
|
---|
634 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, btc_u64 );
|
---|
635 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, btc_u64_locked );
|
---|
636 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, btr_u64 );
|
---|
637 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, btr_u64_locked );
|
---|
638 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, bts_u64 );
|
---|
639 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, bts_u64_locked );
|
---|
640 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, bsf_u64_amd );
|
---|
641 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, bsr_u64_amd );
|
---|
642 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, imul_two_u64_amd );
|
---|
643 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, bsf_u64_intel );
|
---|
644 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, bsr_u64_intel );
|
---|
645 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, imul_two_u64_intel );
|
---|
646 |
|
---|
647 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, shrd_u16_amd );
|
---|
648 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, shld_u16_amd );
|
---|
649 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, shrd_u32_amd );
|
---|
650 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, shld_u32_amd );
|
---|
651 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, shrd_u64_amd );
|
---|
652 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, shld_u64_amd );
|
---|
653 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, shrd_u16_intel );
|
---|
654 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, shld_u16_intel );
|
---|
655 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, shrd_u32_intel );
|
---|
656 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, shld_u32_intel );
|
---|
657 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, shrd_u64_intel );
|
---|
658 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, shld_u64_intel );
|
---|
659 |
|
---|
660 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, inc_u8 );
|
---|
661 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, inc_u8_locked );
|
---|
662 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, dec_u8 );
|
---|
663 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, dec_u8_locked );
|
---|
664 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, not_u8 );
|
---|
665 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, not_u8_locked );
|
---|
666 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, neg_u8 );
|
---|
667 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU8_TEST_T, neg_u8_locked );
|
---|
668 |
|
---|
669 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, inc_u16 );
|
---|
670 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, inc_u16_locked );
|
---|
671 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, dec_u16 );
|
---|
672 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, dec_u16_locked );
|
---|
673 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, not_u16 );
|
---|
674 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, not_u16_locked );
|
---|
675 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, neg_u16 );
|
---|
676 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU16_TEST_T, neg_u16_locked );
|
---|
677 |
|
---|
678 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, inc_u32 );
|
---|
679 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, inc_u32_locked );
|
---|
680 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, dec_u32 );
|
---|
681 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, dec_u32_locked );
|
---|
682 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, not_u32 );
|
---|
683 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, not_u32_locked );
|
---|
684 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, neg_u32 );
|
---|
685 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU32_TEST_T, neg_u32_locked );
|
---|
686 |
|
---|
687 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, inc_u64 );
|
---|
688 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, inc_u64_locked );
|
---|
689 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, dec_u64 );
|
---|
690 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, dec_u64_locked );
|
---|
691 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, not_u64 );
|
---|
692 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, not_u64_locked );
|
---|
693 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, neg_u64 );
|
---|
694 | TSTIEM_DECLARE_TEST_ARRAY(Int, BINU64_TEST_T, neg_u64_locked );
|
---|
695 |
|
---|
696 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, rol_u8_amd );
|
---|
697 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, ror_u8_amd );
|
---|
698 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, rcl_u8_amd );
|
---|
699 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, rcr_u8_amd );
|
---|
700 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, shl_u8_amd );
|
---|
701 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, shr_u8_amd );
|
---|
702 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU8_TEST_T, sar_u8_amd );
|
---|
703 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, rol_u8_intel );
|
---|
704 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, ror_u8_intel );
|
---|
705 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, rcl_u8_intel );
|
---|
706 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, rcr_u8_intel );
|
---|
707 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, shl_u8_intel );
|
---|
708 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, shr_u8_intel );
|
---|
709 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU8_TEST_T, sar_u8_intel );
|
---|
710 |
|
---|
711 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, rol_u16_amd );
|
---|
712 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, ror_u16_amd );
|
---|
713 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, rcl_u16_amd );
|
---|
714 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, rcr_u16_amd );
|
---|
715 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, shl_u16_amd );
|
---|
716 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, shr_u16_amd );
|
---|
717 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU16_TEST_T, sar_u16_amd );
|
---|
718 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, rol_u16_intel );
|
---|
719 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, ror_u16_intel );
|
---|
720 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, rcl_u16_intel );
|
---|
721 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, rcr_u16_intel );
|
---|
722 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, shl_u16_intel );
|
---|
723 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, shr_u16_intel );
|
---|
724 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU16_TEST_T, sar_u16_intel );
|
---|
725 |
|
---|
726 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, rol_u32_amd );
|
---|
727 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, ror_u32_amd );
|
---|
728 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, rcl_u32_amd );
|
---|
729 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, rcr_u32_amd );
|
---|
730 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, shl_u32_amd );
|
---|
731 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, shr_u32_amd );
|
---|
732 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU32_TEST_T, sar_u32_amd );
|
---|
733 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, rol_u32_intel );
|
---|
734 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, ror_u32_intel );
|
---|
735 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, rcl_u32_intel );
|
---|
736 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, rcr_u32_intel );
|
---|
737 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, shl_u32_intel );
|
---|
738 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, shr_u32_intel );
|
---|
739 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU32_TEST_T, sar_u32_intel );
|
---|
740 |
|
---|
741 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, rol_u64_amd );
|
---|
742 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, ror_u64_amd );
|
---|
743 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, rcl_u64_amd );
|
---|
744 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, rcr_u64_amd );
|
---|
745 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, shl_u64_amd );
|
---|
746 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, shr_u64_amd );
|
---|
747 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, BINU64_TEST_T, sar_u64_amd );
|
---|
748 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, rol_u64_intel );
|
---|
749 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, ror_u64_intel );
|
---|
750 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, rcl_u64_intel );
|
---|
751 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, rcr_u64_intel );
|
---|
752 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, shl_u64_intel );
|
---|
753 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, shr_u64_intel );
|
---|
754 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, BINU64_TEST_T, sar_u64_intel );
|
---|
755 |
|
---|
756 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU8_TEST_T, mul_u8_amd );
|
---|
757 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU8_TEST_T, imul_u8_amd );
|
---|
758 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU8_TEST_T, div_u8_amd );
|
---|
759 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU8_TEST_T, idiv_u8_amd );
|
---|
760 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU8_TEST_T, mul_u8_intel );
|
---|
761 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU8_TEST_T, imul_u8_intel );
|
---|
762 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU8_TEST_T, div_u8_intel );
|
---|
763 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU8_TEST_T, idiv_u8_intel );
|
---|
764 |
|
---|
765 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU16_TEST_T, mul_u16_amd );
|
---|
766 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU16_TEST_T, imul_u16_amd );
|
---|
767 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU16_TEST_T, div_u16_amd );
|
---|
768 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU16_TEST_T, idiv_u16_amd );
|
---|
769 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU16_TEST_T, mul_u16_intel );
|
---|
770 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU16_TEST_T, imul_u16_intel );
|
---|
771 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU16_TEST_T, div_u16_intel );
|
---|
772 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU16_TEST_T, idiv_u16_intel );
|
---|
773 |
|
---|
774 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU32_TEST_T, mul_u32_amd );
|
---|
775 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU32_TEST_T, imul_u32_amd );
|
---|
776 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU32_TEST_T, div_u32_amd );
|
---|
777 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU32_TEST_T, idiv_u32_amd );
|
---|
778 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU32_TEST_T, mul_u32_intel );
|
---|
779 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU32_TEST_T, imul_u32_intel );
|
---|
780 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU32_TEST_T, div_u32_intel );
|
---|
781 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU32_TEST_T, idiv_u32_intel );
|
---|
782 |
|
---|
783 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU64_TEST_T, mul_u64_amd );
|
---|
784 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU64_TEST_T, imul_u64_amd );
|
---|
785 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU64_TEST_T, div_u64_amd );
|
---|
786 | TSTIEM_DECLARE_TEST_ARRAY(Int-Amd, MULDIVU64_TEST_T, idiv_u64_amd );
|
---|
787 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU64_TEST_T, mul_u64_intel );
|
---|
788 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU64_TEST_T, imul_u64_intel );
|
---|
789 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU64_TEST_T, div_u64_intel );
|
---|
790 | TSTIEM_DECLARE_TEST_ARRAY(Int-Intel, MULDIVU64_TEST_T, idiv_u64_intel );
|
---|
791 |
|
---|
792 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fld1 );
|
---|
793 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldl2t );
|
---|
794 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldl2e );
|
---|
795 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldpi );
|
---|
796 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldlg2 );
|
---|
797 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldln2 );
|
---|
798 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_LD_CONST_TEST_T, fldz );
|
---|
799 |
|
---|
800 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_R80_IN_TEST_T, fld_r80_from_r80 );
|
---|
801 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_R64_IN_TEST_T, fld_r80_from_r64 );
|
---|
802 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_R32_IN_TEST_T, fld_r80_from_r32 );
|
---|
803 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_I64_IN_TEST_T, fild_r80_from_i64 );
|
---|
804 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_I32_IN_TEST_T, fild_r80_from_i32 );
|
---|
805 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_I16_IN_TEST_T, fild_r80_from_i16 );
|
---|
806 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_D80_IN_TEST_T, fld_r80_from_d80 );
|
---|
807 |
|
---|
808 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_R80_TEST_T, fst_r80_to_r80 );
|
---|
809 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_R64_TEST_T, fst_r80_to_r64 );
|
---|
810 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_R32_TEST_T, fst_r80_to_r32 );
|
---|
811 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_I64_TEST_T, fist_r80_to_i64 );
|
---|
812 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_I32_TEST_T, fist_r80_to_i32 );
|
---|
813 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_I16_TEST_T, fist_r80_to_i16 );
|
---|
814 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_I64_TEST_T, fistt_r80_to_i64 );
|
---|
815 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_I32_TEST_T, fistt_r80_to_i32 );
|
---|
816 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt-Amd, FPU_ST_I16_TEST_T, fistt_r80_to_i16_amd );
|
---|
817 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt-Intel, FPU_ST_I16_TEST_T, fistt_r80_to_i16_intel );
|
---|
818 | TSTIEM_DECLARE_TEST_ARRAY(FpuLdSt, FPU_ST_D80_TEST_T, fst_r80_to_d80 );
|
---|
819 |
|
---|
820 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fadd_r80_by_r80 );
|
---|
821 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fsub_r80_by_r80 );
|
---|
822 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fsubr_r80_by_r80 );
|
---|
823 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fmul_r80_by_r80 );
|
---|
824 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fdiv_r80_by_r80 );
|
---|
825 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fdivr_r80_by_r80 );
|
---|
826 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fprem_r80_by_r80 );
|
---|
827 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fprem1_r80_by_r80 );
|
---|
828 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fscale_r80_by_r80 );
|
---|
829 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Amd, FPU_BINARY_R80_TEST_T, fpatan_r80_by_r80_amd );
|
---|
830 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Intel, FPU_BINARY_R80_TEST_T, fpatan_r80_by_r80_intel );
|
---|
831 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Amd, FPU_BINARY_R80_TEST_T, fyl2x_r80_by_r80_amd );
|
---|
832 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Intel, FPU_BINARY_R80_TEST_T, fyl2x_r80_by_r80_intel );
|
---|
833 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Amd, FPU_BINARY_R80_TEST_T, fyl2xp1_r80_by_r80_amd );
|
---|
834 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1-Intel, FPU_BINARY_R80_TEST_T, fyl2xp1_r80_by_r80_intel );
|
---|
835 |
|
---|
836 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fadd_r80_by_r64 );
|
---|
837 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fmul_r80_by_r64 );
|
---|
838 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fsub_r80_by_r64 );
|
---|
839 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fsubr_r80_by_r64 );
|
---|
840 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fdiv_r80_by_r64 );
|
---|
841 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fdivr_r80_by_r64 );
|
---|
842 |
|
---|
843 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fadd_r80_by_r32 );
|
---|
844 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fmul_r80_by_r32 );
|
---|
845 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fsub_r80_by_r32 );
|
---|
846 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fsubr_r80_by_r32 );
|
---|
847 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fdiv_r80_by_r32 );
|
---|
848 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fdivr_r80_by_r32 );
|
---|
849 |
|
---|
850 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fiadd_r80_by_i32 );
|
---|
851 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fimul_r80_by_i32 );
|
---|
852 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fisub_r80_by_i32 );
|
---|
853 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fisubr_r80_by_i32 );
|
---|
854 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fidiv_r80_by_i32 );
|
---|
855 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, fidivr_r80_by_i32 );
|
---|
856 |
|
---|
857 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fiadd_r80_by_i16 );
|
---|
858 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fimul_r80_by_i16 );
|
---|
859 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fisub_r80_by_i16 );
|
---|
860 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fisubr_r80_by_i16 );
|
---|
861 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fidiv_r80_by_i16 );
|
---|
862 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, fidivr_r80_by_i16 );
|
---|
863 |
|
---|
864 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fcom_r80_by_r80 );
|
---|
865 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_R80_TEST_T, fucom_r80_by_r80 );
|
---|
866 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R64_TEST_T, fcom_r80_by_r64 );
|
---|
867 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_R32_TEST_T, fcom_r80_by_r32 );
|
---|
868 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I32_TEST_T, ficom_r80_by_i32 );
|
---|
869 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary2, FPU_BINARY_I16_TEST_T, ficom_r80_by_i16 );
|
---|
870 |
|
---|
871 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_EFL_R80_TEST_T, fcomi_r80_by_r80 );
|
---|
872 | TSTIEM_DECLARE_TEST_ARRAY(FpuBinary1, FPU_BINARY_EFL_R80_TEST_T, fucomi_r80_by_r80 );
|
---|
873 |
|
---|
874 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, fabs_r80 );
|
---|
875 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, fchs_r80 );
|
---|
876 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Amd, FPU_UNARY_R80_TEST_T, f2xm1_r80_amd );
|
---|
877 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Intel, FPU_UNARY_R80_TEST_T, f2xm1_r80_intel );
|
---|
878 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, fsqrt_r80 );
|
---|
879 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, frndint_r80 );
|
---|
880 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Amd, FPU_UNARY_R80_TEST_T, fsin_r80_amd );
|
---|
881 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Intel, FPU_UNARY_R80_TEST_T, fsin_r80_intel );
|
---|
882 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Amd, FPU_UNARY_R80_TEST_T, fcos_r80_amd );
|
---|
883 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Intel, FPU_UNARY_R80_TEST_T, fcos_r80_intel );
|
---|
884 |
|
---|
885 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, ftst_r80 );
|
---|
886 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_R80_TEST_T, fxam_r80 );
|
---|
887 |
|
---|
888 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Amd, FPU_UNARY_TWO_R80_TEST_T, fptan_r80_r80_amd );
|
---|
889 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Intel, FPU_UNARY_TWO_R80_TEST_T, fptan_r80_r80_intel );
|
---|
890 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther, FPU_UNARY_TWO_R80_TEST_T, fxtract_r80_r80 );
|
---|
891 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Amd, FPU_UNARY_TWO_R80_TEST_T, fsincos_r80_r80_amd );
|
---|
892 | TSTIEM_DECLARE_TEST_ARRAY(FpuOther-Intel, FPU_UNARY_TWO_R80_TEST_T, fsincos_r80_r80_intel );
|
---|
893 |
|
---|
894 | RT_C_DECLS_BEGIN
|
---|
895 |
|
---|
896 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, addps_u128 );
|
---|
897 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, mulps_u128 );
|
---|
898 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, subps_u128 );
|
---|
899 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, minps_u128 );
|
---|
900 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, divps_u128 );
|
---|
901 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, maxps_u128 );
|
---|
902 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, haddps_u128 );
|
---|
903 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, hsubps_u128 );
|
---|
904 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, sqrtps_u128 );
|
---|
905 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, addsubps_u128 );
|
---|
906 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, cvtps2pd_u128 );
|
---|
907 |
|
---|
908 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, addss_u128_r32 );
|
---|
909 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, mulss_u128_r32 );
|
---|
910 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, subss_u128_r32 );
|
---|
911 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, minss_u128_r32 );
|
---|
912 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, divss_u128_r32 );
|
---|
913 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, maxss_u128_r32 );
|
---|
914 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, cvtss2sd_u128_r32 );
|
---|
915 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R32_TEST_T, sqrtss_u128_r32 );
|
---|
916 |
|
---|
917 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, addpd_u128 );
|
---|
918 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, mulpd_u128 );
|
---|
919 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, subpd_u128 );
|
---|
920 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, minpd_u128 );
|
---|
921 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, divpd_u128 );
|
---|
922 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, maxpd_u128 );
|
---|
923 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, haddpd_u128 );
|
---|
924 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, hsubpd_u128 );
|
---|
925 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, sqrtpd_u128 );
|
---|
926 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, addsubpd_u128 );
|
---|
927 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_TEST_T, cvtpd2ps_u128 );
|
---|
928 |
|
---|
929 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, addsd_u128_r64 );
|
---|
930 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, mulsd_u128_r64 );
|
---|
931 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, subsd_u128_r64 );
|
---|
932 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, minsd_u128_r64 );
|
---|
933 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, divsd_u128_r64 );
|
---|
934 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, maxsd_u128_r64 );
|
---|
935 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, cvtsd2ss_u128_r64 );
|
---|
936 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_U128_R64_TEST_T, sqrtsd_u128_r64 );
|
---|
937 |
|
---|
938 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I32_R64_TEST_T, cvttsd2si_i32_r64 );
|
---|
939 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I32_R64_TEST_T, cvtsd2si_i32_r64 );
|
---|
940 |
|
---|
941 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I64_R64_TEST_T, cvttsd2si_i64_r64 );
|
---|
942 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I64_R64_TEST_T, cvtsd2si_i64_r64 );
|
---|
943 |
|
---|
944 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I32_R32_TEST_T, cvttss2si_i32_r32 );
|
---|
945 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I32_R32_TEST_T, cvtss2si_i32_r32 );
|
---|
946 |
|
---|
947 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I64_R32_TEST_T, cvttss2si_i64_r32 );
|
---|
948 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_I64_R32_TEST_T, cvtss2si_i64_r32 );
|
---|
949 |
|
---|
950 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_R32_I32_TEST_T, cvtsi2ss_r32_i32 );
|
---|
951 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_R32_I64_TEST_T, cvtsi2ss_r32_i64 );
|
---|
952 |
|
---|
953 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_R64_I32_TEST_T, cvtsi2sd_r64_i32 );
|
---|
954 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseBinary, SSE_BINARY_R64_I64_TEST_T, cvtsi2sd_r64_i64 );
|
---|
955 |
|
---|
956 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R32_R32_TEST_T, ucomiss_u128 );
|
---|
957 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R32_R32_TEST_T, vucomiss_u128 );
|
---|
958 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R32_R32_TEST_T, comiss_u128 );
|
---|
959 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R32_R32_TEST_T, vcomiss_u128 );
|
---|
960 |
|
---|
961 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R64_R64_TEST_T, ucomisd_u128 );
|
---|
962 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R64_R64_TEST_T, vucomisd_u128 );
|
---|
963 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R64_R64_TEST_T, comisd_u128 );
|
---|
964 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_EFL_R64_R64_TEST_T, vcomisd_u128 );
|
---|
965 |
|
---|
966 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_F2_XMM_IMM8_TEST_T, cmpps_u128 );
|
---|
967 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_F2_XMM_IMM8_TEST_T, cmppd_u128 );
|
---|
968 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_F2_XMM_IMM8_TEST_T, cmpss_u128 );
|
---|
969 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseCompare, SSE_COMPARE_F2_XMM_IMM8_TEST_T, cmpsd_u128 );
|
---|
970 |
|
---|
971 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvtdq2ps_u128 );
|
---|
972 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvtps2dq_u128 );
|
---|
973 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvttps2dq_u128 );
|
---|
974 |
|
---|
975 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvttpd2dq_u128 );
|
---|
976 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvtdq2pd_u128 );
|
---|
977 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_TEST_T, cvtpd2dq_u128 );
|
---|
978 |
|
---|
979 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_MM_XMM_TEST_T, cvtpd2pi_u128 );
|
---|
980 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_MM_XMM_TEST_T, cvttpd2pi_u128 );
|
---|
981 |
|
---|
982 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_MM_TEST_T, cvtpi2ps_u128 );
|
---|
983 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_XMM_MM_TEST_T, cvtpi2pd_u128 );
|
---|
984 |
|
---|
985 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_MM_R32_TEST_T, cvtps2pi_u128 );
|
---|
986 | TSTIEM_DECLARE_TEST_ARRAY_BIN(SseConvert, SSE_CONVERT_MM_R32_TEST_T, cvttps2pi_u128 );
|
---|
987 |
|
---|
988 | RT_C_DECLS_END
|
---|
989 |
|
---|
990 | #endif /* !VMM_INCLUDED_SRC_testcase_tstIEMAImpl_h */
|
---|
991 |
|
---|