1 | /* $Id: tstIEMAImplDataSseBinary.S 98103 2023-01-17 14:15:46Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * tstIEMAImplDataSseBinary - Test data for SSE binary instructions.
|
---|
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 |
|
---|
29 | #ifdef RT_OS_DARWIN
|
---|
30 | # define NAME(a_Name) _##a_Name
|
---|
31 | #else
|
---|
32 | # define NAME(a_Name) a_Name
|
---|
33 | #endif
|
---|
34 |
|
---|
35 | #ifdef RT_OS_DARWIN
|
---|
36 | .section __TEXT,__const
|
---|
37 | #else
|
---|
38 | .section __TEXT
|
---|
39 | #endif
|
---|
40 |
|
---|
41 | .macro IEM_TEST_DATA a_Instr, a_szDataFile
|
---|
42 | .p2align 6
|
---|
43 | .globl NAME(g_aTests_\a_Instr)
|
---|
44 | NAME(g_aTests_\a_Instr):
|
---|
45 | .incbin "\a_szDataFile"
|
---|
46 | NAME(g_aTests_end_\a_Instr):
|
---|
47 | #ifdef ASM_FORMAT_ELF
|
---|
48 | .size NAME(g_aTests_\a_Instr), . - NAME(g_aTests_\a_Instr)
|
---|
49 | .type NAME(g_aTests_\a_Instr), object
|
---|
50 | #endif
|
---|
51 |
|
---|
52 | .p2align 2
|
---|
53 | .globl NAME(g_cbTests_\a_Instr)
|
---|
54 | NAME(g_cbTests_\a_Instr):
|
---|
55 | .int NAME(g_aTests_end_\a_Instr) - NAME(g_aTests_\a_Instr)
|
---|
56 | #ifdef ASM_FORMAT_ELF
|
---|
57 | .size NAME(g_cbTests_\a_Instr), 4
|
---|
58 | .type NAME(g_cbTests_\a_Instr), object
|
---|
59 | #endif
|
---|
60 | .endm
|
---|
61 |
|
---|
62 | IEM_TEST_DATA addps_u128, "tstIEMAImplDataSseBinary-addps_u128.bin"
|
---|
63 | IEM_TEST_DATA mulps_u128, "tstIEMAImplDataSseBinary-mulps_u128.bin"
|
---|
64 | IEM_TEST_DATA subps_u128, "tstIEMAImplDataSseBinary-subps_u128.bin"
|
---|
65 | IEM_TEST_DATA minps_u128, "tstIEMAImplDataSseBinary-minps_u128.bin"
|
---|
66 | IEM_TEST_DATA divps_u128, "tstIEMAImplDataSseBinary-divps_u128.bin"
|
---|
67 | IEM_TEST_DATA maxps_u128, "tstIEMAImplDataSseBinary-maxps_u128.bin"
|
---|
68 | IEM_TEST_DATA haddps_u128, "tstIEMAImplDataSseBinary-haddps_u128.bin"
|
---|
69 | IEM_TEST_DATA hsubps_u128, "tstIEMAImplDataSseBinary-hsubps_u128.bin"
|
---|
70 | IEM_TEST_DATA sqrtps_u128, "tstIEMAImplDataSseBinary-sqrtps_u128.bin"
|
---|
71 | IEM_TEST_DATA addsubps_u128, "tstIEMAImplDataSseBinary-addsubps_u128.bin"
|
---|
72 | IEM_TEST_DATA cvtps2pd_u128, "tstIEMAImplDataSseBinary-cvtps2pd_u128.bin"
|
---|
73 |
|
---|
74 | IEM_TEST_DATA addss_u128_r32, "tstIEMAImplDataSseBinary-addss_u128_r32.bin"
|
---|
75 | IEM_TEST_DATA mulss_u128_r32, "tstIEMAImplDataSseBinary-mulss_u128_r32.bin"
|
---|
76 | IEM_TEST_DATA subss_u128_r32, "tstIEMAImplDataSseBinary-subss_u128_r32.bin"
|
---|
77 | IEM_TEST_DATA minss_u128_r32, "tstIEMAImplDataSseBinary-minss_u128_r32.bin"
|
---|
78 | IEM_TEST_DATA divss_u128_r32, "tstIEMAImplDataSseBinary-divss_u128_r32.bin"
|
---|
79 | IEM_TEST_DATA maxss_u128_r32, "tstIEMAImplDataSseBinary-maxss_u128_r32.bin"
|
---|
80 | IEM_TEST_DATA cvtss2sd_u128_r32, "tstIEMAImplDataSseBinary-cvtss2sd_u128_r32.bin"
|
---|
81 | IEM_TEST_DATA sqrtss_u128_r32, "tstIEMAImplDataSseBinary-sqrtss_u128_r32.bin"
|
---|
82 |
|
---|
83 | IEM_TEST_DATA addpd_u128, "tstIEMAImplDataSseBinary-addpd_u128.bin"
|
---|
84 | IEM_TEST_DATA mulpd_u128, "tstIEMAImplDataSseBinary-mulpd_u128.bin"
|
---|
85 | IEM_TEST_DATA subpd_u128, "tstIEMAImplDataSseBinary-subpd_u128.bin"
|
---|
86 | IEM_TEST_DATA minpd_u128, "tstIEMAImplDataSseBinary-minpd_u128.bin"
|
---|
87 | IEM_TEST_DATA divpd_u128, "tstIEMAImplDataSseBinary-divpd_u128.bin"
|
---|
88 | IEM_TEST_DATA maxpd_u128, "tstIEMAImplDataSseBinary-maxpd_u128.bin"
|
---|
89 | IEM_TEST_DATA haddpd_u128, "tstIEMAImplDataSseBinary-haddpd_u128.bin"
|
---|
90 | IEM_TEST_DATA hsubpd_u128, "tstIEMAImplDataSseBinary-hsubpd_u128.bin"
|
---|
91 | IEM_TEST_DATA sqrtpd_u128, "tstIEMAImplDataSseBinary-sqrtpd_u128.bin"
|
---|
92 | IEM_TEST_DATA addsubpd_u128, "tstIEMAImplDataSseBinary-addsubpd_u128.bin"
|
---|
93 | IEM_TEST_DATA cvtpd2ps_u128, "tstIEMAImplDataSseBinary-cvtpd2ps_u128.bin"
|
---|
94 |
|
---|
95 | IEM_TEST_DATA addsd_u128_r64, "tstIEMAImplDataSseBinary-addsd_u128_r64.bin"
|
---|
96 | IEM_TEST_DATA mulsd_u128_r64, "tstIEMAImplDataSseBinary-mulsd_u128_r64.bin"
|
---|
97 | IEM_TEST_DATA subsd_u128_r64, "tstIEMAImplDataSseBinary-subsd_u128_r64.bin"
|
---|
98 | IEM_TEST_DATA minsd_u128_r64, "tstIEMAImplDataSseBinary-minsd_u128_r64.bin"
|
---|
99 | IEM_TEST_DATA divsd_u128_r64, "tstIEMAImplDataSseBinary-divsd_u128_r64.bin"
|
---|
100 | IEM_TEST_DATA maxsd_u128_r64, "tstIEMAImplDataSseBinary-maxsd_u128_r64.bin"
|
---|
101 | IEM_TEST_DATA cvtsd2ss_u128_r64, "tstIEMAImplDataSseBinary-cvtsd2ss_u128_r64.bin"
|
---|
102 | IEM_TEST_DATA sqrtsd_u128_r64, "tstIEMAImplDataSseBinary-sqrtsd_u128_r64.bin"
|
---|
103 |
|
---|
104 | IEM_TEST_DATA cvttsd2si_i32_r64, "tstIEMAImplDataSseBinary-cvttsd2si_i32_r64.bin"
|
---|
105 | IEM_TEST_DATA cvtsd2si_i32_r64, "tstIEMAImplDataSseBinary-cvtsd2si_i32_r64.bin"
|
---|
106 |
|
---|
107 | IEM_TEST_DATA cvttsd2si_i64_r64, "tstIEMAImplDataSseBinary-cvttsd2si_i64_r64.bin"
|
---|
108 | IEM_TEST_DATA cvtsd2si_i64_r64, "tstIEMAImplDataSseBinary-cvtsd2si_i64_r64.bin"
|
---|
109 |
|
---|
110 | IEM_TEST_DATA cvttss2si_i32_r32, "tstIEMAImplDataSseBinary-cvttss2si_i32_r32.bin"
|
---|
111 | IEM_TEST_DATA cvtss2si_i32_r32, "tstIEMAImplDataSseBinary-cvtss2si_i32_r32.bin"
|
---|
112 |
|
---|
113 | IEM_TEST_DATA cvttss2si_i64_r32, "tstIEMAImplDataSseBinary-cvttss2si_i64_r32.bin"
|
---|
114 | IEM_TEST_DATA cvtss2si_i64_r32, "tstIEMAImplDataSseBinary-cvtss2si_i64_r32.bin"
|
---|
115 |
|
---|
116 | IEM_TEST_DATA cvtsi2ss_r32_i32, "tstIEMAImplDataSseBinary-cvtsi2ss_r32_i32.bin"
|
---|
117 | IEM_TEST_DATA cvtsi2ss_r32_i64, "tstIEMAImplDataSseBinary-cvtsi2ss_r32_i64.bin"
|
---|
118 |
|
---|
119 | IEM_TEST_DATA cvtsi2sd_r64_i32, "tstIEMAImplDataSseBinary-cvtsi2sd_r64_i32.bin"
|
---|
120 | IEM_TEST_DATA cvtsi2sd_r64_i64, "tstIEMAImplDataSseBinary-cvtsi2sd_r64_i64.bin"
|
---|
121 |
|
---|
122 | IEM_TEST_DATA ucomiss_u128, "tstIEMAImplDataSseCompare-ucomiss_u128.bin"
|
---|
123 | IEM_TEST_DATA vucomiss_u128, "tstIEMAImplDataSseCompare-vucomiss_u128.bin"
|
---|
124 | IEM_TEST_DATA comiss_u128, "tstIEMAImplDataSseCompare-comiss_u128.bin"
|
---|
125 | IEM_TEST_DATA vcomiss_u128, "tstIEMAImplDataSseCompare-vcomiss_u128.bin"
|
---|
126 |
|
---|
127 | IEM_TEST_DATA ucomisd_u128, "tstIEMAImplDataSseCompare-ucomisd_u128.bin"
|
---|
128 | IEM_TEST_DATA vucomisd_u128, "tstIEMAImplDataSseCompare-vucomisd_u128.bin"
|
---|
129 | IEM_TEST_DATA comisd_u128, "tstIEMAImplDataSseCompare-comisd_u128.bin"
|
---|
130 | IEM_TEST_DATA vcomisd_u128, "tstIEMAImplDataSseCompare-vcomisd_u128.bin"
|
---|
131 |
|
---|
132 | IEM_TEST_DATA cmpps_u128, "tstIEMAImplDataSseCompare-cmpps_u128.bin"
|
---|
133 | IEM_TEST_DATA cmpss_u128, "tstIEMAImplDataSseCompare-cmpss_u128.bin"
|
---|
134 | IEM_TEST_DATA cmppd_u128, "tstIEMAImplDataSseCompare-cmppd_u128.bin"
|
---|
135 | IEM_TEST_DATA cmpsd_u128, "tstIEMAImplDataSseCompare-cmpsd_u128.bin"
|
---|
136 |
|
---|
137 | IEM_TEST_DATA cvtdq2ps_u128, "tstIEMAImplDataSseConvert-cvtdq2ps_u128.bin"
|
---|
138 | IEM_TEST_DATA cvtps2dq_u128, "tstIEMAImplDataSseConvert-cvtps2dq_u128.bin"
|
---|
139 | IEM_TEST_DATA cvttps2dq_u128, "tstIEMAImplDataSseConvert-cvttps2dq_u128.bin"
|
---|
140 |
|
---|
141 | IEM_TEST_DATA cvtdq2pd_u128, "tstIEMAImplDataSseConvert-cvtdq2pd_u128.bin"
|
---|
142 | IEM_TEST_DATA cvtpd2dq_u128, "tstIEMAImplDataSseConvert-cvtpd2dq_u128.bin"
|
---|
143 | IEM_TEST_DATA cvttpd2dq_u128, "tstIEMAImplDataSseConvert-cvttpd2dq_u128.bin"
|
---|
144 |
|
---|
145 | IEM_TEST_DATA cvtpd2pi_u128, "tstIEMAImplDataSseConvert-cvtpd2pi_u128.bin"
|
---|
146 | IEM_TEST_DATA cvttpd2pi_u128, "tstIEMAImplDataSseConvert-cvttpd2pi_u128.bin"
|
---|
147 |
|
---|
148 | IEM_TEST_DATA cvtpi2ps_u128, "tstIEMAImplDataSseConvert-cvtpi2ps_u128.bin"
|
---|
149 | IEM_TEST_DATA cvtpi2pd_u128, "tstIEMAImplDataSseConvert-cvtpi2pd_u128.bin"
|
---|
150 |
|
---|
151 | IEM_TEST_DATA cvtps2pi_u128, "tstIEMAImplDataSseConvert-cvtps2pi_u128.bin"
|
---|
152 | IEM_TEST_DATA cvttps2pi_u128, "tstIEMAImplDataSseConvert-cvttps2pi_u128.bin"
|
---|