@@ -29,7 +29,7 @@ use stdsimd_test::assert_instr;
29
29
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmadd_pd)
30
30
#[ inline]
31
31
#[ target_feature( enable = "fma" ) ]
32
- #[ cfg_attr( test, assert_instr( vfmadd213pd ) ) ]
32
+ #[ cfg_attr( test, assert_instr( vfmadd ) ) ]
33
33
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
34
34
pub unsafe fn _mm_fmadd_pd ( a : __m128d , b : __m128d , c : __m128d ) -> __m128d {
35
35
vfmaddpd ( a, b, c)
@@ -41,7 +41,7 @@ pub unsafe fn _mm_fmadd_pd(a: __m128d, b: __m128d, c: __m128d) -> __m128d {
41
41
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fmadd_pd)
42
42
#[ inline]
43
43
#[ target_feature( enable = "fma" ) ]
44
- #[ cfg_attr( test, assert_instr( vfmadd213pd ) ) ]
44
+ #[ cfg_attr( test, assert_instr( vfmadd ) ) ]
45
45
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
46
46
pub unsafe fn _mm256_fmadd_pd ( a : __m256d , b : __m256d , c : __m256d ) -> __m256d {
47
47
vfmaddpd256 ( a, b, c)
@@ -53,7 +53,7 @@ pub unsafe fn _mm256_fmadd_pd(a: __m256d, b: __m256d, c: __m256d) -> __m256d {
53
53
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmadd_ps)
54
54
#[ inline]
55
55
#[ target_feature( enable = "fma" ) ]
56
- #[ cfg_attr( test, assert_instr( vfmadd213ps ) ) ]
56
+ #[ cfg_attr( test, assert_instr( vfmadd ) ) ]
57
57
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
58
58
pub unsafe fn _mm_fmadd_ps ( a : __m128 , b : __m128 , c : __m128 ) -> __m128 {
59
59
vfmaddps ( a, b, c)
@@ -65,7 +65,7 @@ pub unsafe fn _mm_fmadd_ps(a: __m128, b: __m128, c: __m128) -> __m128 {
65
65
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fmadd_ps)
66
66
#[ inline]
67
67
#[ target_feature( enable = "fma" ) ]
68
- #[ cfg_attr( test, assert_instr( vfmadd213ps ) ) ]
68
+ #[ cfg_attr( test, assert_instr( vfmadd ) ) ]
69
69
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
70
70
pub unsafe fn _mm256_fmadd_ps ( a : __m256 , b : __m256 , c : __m256 ) -> __m256 {
71
71
vfmaddps256 ( a, b, c)
@@ -79,7 +79,7 @@ pub unsafe fn _mm256_fmadd_ps(a: __m256, b: __m256, c: __m256) -> __m256 {
79
79
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmadd_sd)
80
80
#[ inline]
81
81
#[ target_feature( enable = "fma" ) ]
82
- #[ cfg_attr( test, assert_instr( vfmadd213sd ) ) ]
82
+ #[ cfg_attr( test, assert_instr( vfmadd ) ) ]
83
83
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
84
84
pub unsafe fn _mm_fmadd_sd ( a : __m128d , b : __m128d , c : __m128d ) -> __m128d {
85
85
vfmaddsd ( a, b, c)
@@ -93,7 +93,7 @@ pub unsafe fn _mm_fmadd_sd(a: __m128d, b: __m128d, c: __m128d) -> __m128d {
93
93
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmadd_ss)
94
94
#[ inline]
95
95
#[ target_feature( enable = "fma" ) ]
96
- #[ cfg_attr( test, assert_instr( vfmadd213ss ) ) ]
96
+ #[ cfg_attr( test, assert_instr( vfmadd ) ) ]
97
97
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
98
98
pub unsafe fn _mm_fmadd_ss ( a : __m128 , b : __m128 , c : __m128 ) -> __m128 {
99
99
vfmaddss ( a, b, c)
@@ -106,7 +106,7 @@ pub unsafe fn _mm_fmadd_ss(a: __m128, b: __m128, c: __m128) -> __m128 {
106
106
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmaddsub_pd)
107
107
#[ inline]
108
108
#[ target_feature( enable = "fma" ) ]
109
- #[ cfg_attr( test, assert_instr( vfmaddsub213pd ) ) ]
109
+ #[ cfg_attr( test, assert_instr( vfmaddsub ) ) ]
110
110
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
111
111
pub unsafe fn _mm_fmaddsub_pd ( a : __m128d , b : __m128d , c : __m128d ) -> __m128d {
112
112
vfmaddsubpd ( a, b, c)
@@ -119,7 +119,7 @@ pub unsafe fn _mm_fmaddsub_pd(a: __m128d, b: __m128d, c: __m128d) -> __m128d {
119
119
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fmaddsub_pd)
120
120
#[ inline]
121
121
#[ target_feature( enable = "fma" ) ]
122
- #[ cfg_attr( test, assert_instr( vfmaddsub213pd ) ) ]
122
+ #[ cfg_attr( test, assert_instr( vfmaddsub ) ) ]
123
123
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
124
124
pub unsafe fn _mm256_fmaddsub_pd (
125
125
a : __m256d , b : __m256d , c : __m256d ,
@@ -134,7 +134,7 @@ pub unsafe fn _mm256_fmaddsub_pd(
134
134
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmaddsub_ps)
135
135
#[ inline]
136
136
#[ target_feature( enable = "fma" ) ]
137
- #[ cfg_attr( test, assert_instr( vfmaddsub213ps ) ) ]
137
+ #[ cfg_attr( test, assert_instr( vfmaddsub ) ) ]
138
138
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
139
139
pub unsafe fn _mm_fmaddsub_ps ( a : __m128 , b : __m128 , c : __m128 ) -> __m128 {
140
140
vfmaddsubps ( a, b, c)
@@ -147,7 +147,7 @@ pub unsafe fn _mm_fmaddsub_ps(a: __m128, b: __m128, c: __m128) -> __m128 {
147
147
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fmaddsub_ps)
148
148
#[ inline]
149
149
#[ target_feature( enable = "fma" ) ]
150
- #[ cfg_attr( test, assert_instr( vfmaddsub213ps ) ) ]
150
+ #[ cfg_attr( test, assert_instr( vfmaddsub ) ) ]
151
151
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
152
152
pub unsafe fn _mm256_fmaddsub_ps ( a : __m256 , b : __m256 , c : __m256 ) -> __m256 {
153
153
vfmaddsubps256 ( a, b, c)
@@ -159,7 +159,7 @@ pub unsafe fn _mm256_fmaddsub_ps(a: __m256, b: __m256, c: __m256) -> __m256 {
159
159
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmsub_pd)
160
160
#[ inline]
161
161
#[ target_feature( enable = "fma" ) ]
162
- #[ cfg_attr( test, assert_instr( vfmsub213pd ) ) ]
162
+ #[ cfg_attr( test, assert_instr( vfmsub ) ) ]
163
163
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
164
164
pub unsafe fn _mm_fmsub_pd ( a : __m128d , b : __m128d , c : __m128d ) -> __m128d {
165
165
vfmsubpd ( a, b, c)
@@ -171,7 +171,7 @@ pub unsafe fn _mm_fmsub_pd(a: __m128d, b: __m128d, c: __m128d) -> __m128d {
171
171
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fmsub_pd)
172
172
#[ inline]
173
173
#[ target_feature( enable = "fma" ) ]
174
- #[ cfg_attr( test, assert_instr( vfmsub213pd ) ) ]
174
+ #[ cfg_attr( test, assert_instr( vfmsub ) ) ]
175
175
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
176
176
pub unsafe fn _mm256_fmsub_pd ( a : __m256d , b : __m256d , c : __m256d ) -> __m256d {
177
177
vfmsubpd256 ( a, b, c)
@@ -209,7 +209,7 @@ pub unsafe fn _mm256_fmsub_ps(a: __m256, b: __m256, c: __m256) -> __m256 {
209
209
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmsub_sd)
210
210
#[ inline]
211
211
#[ target_feature( enable = "fma" ) ]
212
- #[ cfg_attr( test, assert_instr( vfmsub213sd ) ) ]
212
+ #[ cfg_attr( test, assert_instr( vfmsub ) ) ]
213
213
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
214
214
pub unsafe fn _mm_fmsub_sd ( a : __m128d , b : __m128d , c : __m128d ) -> __m128d {
215
215
vfmsubsd ( a, b, c)
@@ -223,7 +223,7 @@ pub unsafe fn _mm_fmsub_sd(a: __m128d, b: __m128d, c: __m128d) -> __m128d {
223
223
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmsub_ss)
224
224
#[ inline]
225
225
#[ target_feature( enable = "fma" ) ]
226
- #[ cfg_attr( test, assert_instr( vfmsub213ss ) ) ]
226
+ #[ cfg_attr( test, assert_instr( vfmsub ) ) ]
227
227
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
228
228
pub unsafe fn _mm_fmsub_ss ( a : __m128 , b : __m128 , c : __m128 ) -> __m128 {
229
229
vfmsubss ( a, b, c)
@@ -236,7 +236,7 @@ pub unsafe fn _mm_fmsub_ss(a: __m128, b: __m128, c: __m128) -> __m128 {
236
236
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmsubadd_pd)
237
237
#[ inline]
238
238
#[ target_feature( enable = "fma" ) ]
239
- #[ cfg_attr( test, assert_instr( vfmsubadd213pd ) ) ]
239
+ #[ cfg_attr( test, assert_instr( vfmsubadd ) ) ]
240
240
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
241
241
pub unsafe fn _mm_fmsubadd_pd ( a : __m128d , b : __m128d , c : __m128d ) -> __m128d {
242
242
vfmsubaddpd ( a, b, c)
@@ -249,7 +249,7 @@ pub unsafe fn _mm_fmsubadd_pd(a: __m128d, b: __m128d, c: __m128d) -> __m128d {
249
249
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fmsubadd_pd)
250
250
#[ inline]
251
251
#[ target_feature( enable = "fma" ) ]
252
- #[ cfg_attr( test, assert_instr( vfmsubadd213pd ) ) ]
252
+ #[ cfg_attr( test, assert_instr( vfmsubadd ) ) ]
253
253
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
254
254
pub unsafe fn _mm256_fmsubadd_pd (
255
255
a : __m256d , b : __m256d , c : __m256d ,
@@ -264,7 +264,7 @@ pub unsafe fn _mm256_fmsubadd_pd(
264
264
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fmsubadd_ps)
265
265
#[ inline]
266
266
#[ target_feature( enable = "fma" ) ]
267
- #[ cfg_attr( test, assert_instr( vfmsubadd213ps ) ) ]
267
+ #[ cfg_attr( test, assert_instr( vfmsubadd ) ) ]
268
268
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
269
269
pub unsafe fn _mm_fmsubadd_ps ( a : __m128 , b : __m128 , c : __m128 ) -> __m128 {
270
270
vfmsubaddps ( a, b, c)
@@ -277,7 +277,7 @@ pub unsafe fn _mm_fmsubadd_ps(a: __m128, b: __m128, c: __m128) -> __m128 {
277
277
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fmsubadd_ps)
278
278
#[ inline]
279
279
#[ target_feature( enable = "fma" ) ]
280
- #[ cfg_attr( test, assert_instr( vfmsubadd213ps ) ) ]
280
+ #[ cfg_attr( test, assert_instr( vfmsubadd ) ) ]
281
281
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
282
282
pub unsafe fn _mm256_fmsubadd_ps ( a : __m256 , b : __m256 , c : __m256 ) -> __m256 {
283
283
vfmsubaddps256 ( a, b, c)
@@ -289,7 +289,7 @@ pub unsafe fn _mm256_fmsubadd_ps(a: __m256, b: __m256, c: __m256) -> __m256 {
289
289
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fnmadd_pd)
290
290
#[ inline]
291
291
#[ target_feature( enable = "fma" ) ]
292
- #[ cfg_attr( test, assert_instr( vfnmadd213pd ) ) ]
292
+ #[ cfg_attr( test, assert_instr( vfnmadd ) ) ]
293
293
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
294
294
pub unsafe fn _mm_fnmadd_pd ( a : __m128d , b : __m128d , c : __m128d ) -> __m128d {
295
295
vfnmaddpd ( a, b, c)
@@ -301,7 +301,7 @@ pub unsafe fn _mm_fnmadd_pd(a: __m128d, b: __m128d, c: __m128d) -> __m128d {
301
301
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fnmadd_pd)
302
302
#[ inline]
303
303
#[ target_feature( enable = "fma" ) ]
304
- #[ cfg_attr( test, assert_instr( vfnmadd213pd ) ) ]
304
+ #[ cfg_attr( test, assert_instr( vfnmadd ) ) ]
305
305
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
306
306
pub unsafe fn _mm256_fnmadd_pd ( a : __m256d , b : __m256d , c : __m256d ) -> __m256d {
307
307
vfnmaddpd256 ( a, b, c)
@@ -313,7 +313,7 @@ pub unsafe fn _mm256_fnmadd_pd(a: __m256d, b: __m256d, c: __m256d) -> __m256d {
313
313
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fnmadd_ps)
314
314
#[ inline]
315
315
#[ target_feature( enable = "fma" ) ]
316
- #[ cfg_attr( test, assert_instr( vfnmadd213ps ) ) ]
316
+ #[ cfg_attr( test, assert_instr( vfnmadd ) ) ]
317
317
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
318
318
pub unsafe fn _mm_fnmadd_ps ( a : __m128 , b : __m128 , c : __m128 ) -> __m128 {
319
319
vfnmaddps ( a, b, c)
@@ -325,7 +325,7 @@ pub unsafe fn _mm_fnmadd_ps(a: __m128, b: __m128, c: __m128) -> __m128 {
325
325
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fnmadd_ps)
326
326
#[ inline]
327
327
#[ target_feature( enable = "fma" ) ]
328
- #[ cfg_attr( test, assert_instr( vfnmadd213ps ) ) ]
328
+ #[ cfg_attr( test, assert_instr( vfnmadd ) ) ]
329
329
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
330
330
pub unsafe fn _mm256_fnmadd_ps ( a : __m256 , b : __m256 , c : __m256 ) -> __m256 {
331
331
vfnmaddps256 ( a, b, c)
@@ -339,7 +339,7 @@ pub unsafe fn _mm256_fnmadd_ps(a: __m256, b: __m256, c: __m256) -> __m256 {
339
339
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fnmadd_sd)
340
340
#[ inline]
341
341
#[ target_feature( enable = "fma" ) ]
342
- #[ cfg_attr( test, assert_instr( vfnmadd213sd ) ) ]
342
+ #[ cfg_attr( test, assert_instr( vfnmadd ) ) ]
343
343
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
344
344
pub unsafe fn _mm_fnmadd_sd ( a : __m128d , b : __m128d , c : __m128d ) -> __m128d {
345
345
vfnmaddsd ( a, b, c)
@@ -353,7 +353,7 @@ pub unsafe fn _mm_fnmadd_sd(a: __m128d, b: __m128d, c: __m128d) -> __m128d {
353
353
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fnmadd_ss)
354
354
#[ inline]
355
355
#[ target_feature( enable = "fma" ) ]
356
- #[ cfg_attr( test, assert_instr( vfnmadd213ss ) ) ]
356
+ #[ cfg_attr( test, assert_instr( vfnmadd ) ) ]
357
357
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
358
358
pub unsafe fn _mm_fnmadd_ss ( a : __m128 , b : __m128 , c : __m128 ) -> __m128 {
359
359
vfnmaddss ( a, b, c)
@@ -366,7 +366,7 @@ pub unsafe fn _mm_fnmadd_ss(a: __m128, b: __m128, c: __m128) -> __m128 {
366
366
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fnmsub_pd)
367
367
#[ inline]
368
368
#[ target_feature( enable = "fma" ) ]
369
- #[ cfg_attr( test, assert_instr( vfnmsub213pd ) ) ]
369
+ #[ cfg_attr( test, assert_instr( vfnmsub ) ) ]
370
370
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
371
371
pub unsafe fn _mm_fnmsub_pd ( a : __m128d , b : __m128d , c : __m128d ) -> __m128d {
372
372
vfnmsubpd ( a, b, c)
@@ -379,7 +379,7 @@ pub unsafe fn _mm_fnmsub_pd(a: __m128d, b: __m128d, c: __m128d) -> __m128d {
379
379
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fnmsub_pd)
380
380
#[ inline]
381
381
#[ target_feature( enable = "fma" ) ]
382
- #[ cfg_attr( test, assert_instr( vfnmsub213pd ) ) ]
382
+ #[ cfg_attr( test, assert_instr( vfnmsub ) ) ]
383
383
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
384
384
pub unsafe fn _mm256_fnmsub_pd ( a : __m256d , b : __m256d , c : __m256d ) -> __m256d {
385
385
vfnmsubpd256 ( a, b, c)
@@ -392,7 +392,7 @@ pub unsafe fn _mm256_fnmsub_pd(a: __m256d, b: __m256d, c: __m256d) -> __m256d {
392
392
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fnmsub_ps)
393
393
#[ inline]
394
394
#[ target_feature( enable = "fma" ) ]
395
- #[ cfg_attr( test, assert_instr( vfnmsub213ps ) ) ]
395
+ #[ cfg_attr( test, assert_instr( vfnmsub ) ) ]
396
396
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
397
397
pub unsafe fn _mm_fnmsub_ps ( a : __m128 , b : __m128 , c : __m128 ) -> __m128 {
398
398
vfnmsubps ( a, b, c)
@@ -405,7 +405,7 @@ pub unsafe fn _mm_fnmsub_ps(a: __m128, b: __m128, c: __m128) -> __m128 {
405
405
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_fnmsub_ps)
406
406
#[ inline]
407
407
#[ target_feature( enable = "fma" ) ]
408
- #[ cfg_attr( test, assert_instr( vfnmsub213ps ) ) ]
408
+ #[ cfg_attr( test, assert_instr( vfnmsub ) ) ]
409
409
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
410
410
pub unsafe fn _mm256_fnmsub_ps ( a : __m256 , b : __m256 , c : __m256 ) -> __m256 {
411
411
vfnmsubps256 ( a, b, c)
@@ -420,7 +420,7 @@ pub unsafe fn _mm256_fnmsub_ps(a: __m256, b: __m256, c: __m256) -> __m256 {
420
420
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fnmsub_sd)
421
421
#[ inline]
422
422
#[ target_feature( enable = "fma" ) ]
423
- #[ cfg_attr( test, assert_instr( vfnmsub213sd ) ) ]
423
+ #[ cfg_attr( test, assert_instr( vfnmsub ) ) ]
424
424
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
425
425
pub unsafe fn _mm_fnmsub_sd ( a : __m128d , b : __m128d , c : __m128d ) -> __m128d {
426
426
vfnmsubsd ( a, b, c)
@@ -435,7 +435,7 @@ pub unsafe fn _mm_fnmsub_sd(a: __m128d, b: __m128d, c: __m128d) -> __m128d {
435
435
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_fnmsub_ss)
436
436
#[ inline]
437
437
#[ target_feature( enable = "fma" ) ]
438
- #[ cfg_attr( test, assert_instr( vfnmsub213ss ) ) ]
438
+ #[ cfg_attr( test, assert_instr( vfnmsub ) ) ]
439
439
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
440
440
pub unsafe fn _mm_fnmsub_ss ( a : __m128 , b : __m128 , c : __m128 ) -> __m128 {
441
441
vfnmsubss ( a, b, c)
0 commit comments