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