@@ -163,7 +163,6 @@ pub fn _mm_cvttss_u64(a: __m128) -> u64 {
163163#[ target_feature( enable = "avx512f" ) ]
164164#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
165165#[ cfg_attr( test, assert_instr( vcvtsi2sd, ROUNDING = 8 ) ) ]
166- #[ rustc_legacy_const_generics( 2 ) ]
167166pub fn _mm_cvt_roundi64_sd < const ROUNDING : i32 > ( a : __m128d , b : i64 ) -> __m128d {
168167 unsafe {
169168 static_assert_rounding ! ( ROUNDING ) ;
@@ -186,7 +185,6 @@ pub fn _mm_cvt_roundi64_sd<const ROUNDING: i32>(a: __m128d, b: i64) -> __m128d {
186185#[ target_feature( enable = "avx512f" ) ]
187186#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
188187#[ cfg_attr( test, assert_instr( vcvtsi2sd, ROUNDING = 8 ) ) ]
189- #[ rustc_legacy_const_generics( 2 ) ]
190188pub fn _mm_cvt_roundsi64_sd < const ROUNDING : i32 > ( a : __m128d , b : i64 ) -> __m128d {
191189 unsafe {
192190 static_assert_rounding ! ( ROUNDING ) ;
@@ -209,7 +207,6 @@ pub fn _mm_cvt_roundsi64_sd<const ROUNDING: i32>(a: __m128d, b: i64) -> __m128d
209207#[ target_feature( enable = "avx512f" ) ]
210208#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
211209#[ cfg_attr( test, assert_instr( vcvtsi2ss, ROUNDING = 8 ) ) ]
212- #[ rustc_legacy_const_generics( 2 ) ]
213210pub fn _mm_cvt_roundi64_ss < const ROUNDING : i32 > ( a : __m128 , b : i64 ) -> __m128 {
214211 unsafe {
215212 static_assert_rounding ! ( ROUNDING ) ;
@@ -232,7 +229,6 @@ pub fn _mm_cvt_roundi64_ss<const ROUNDING: i32>(a: __m128, b: i64) -> __m128 {
232229#[ target_feature( enable = "avx512f" ) ]
233230#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
234231#[ cfg_attr( test, assert_instr( vcvtusi2sd, ROUNDING = 8 ) ) ]
235- #[ rustc_legacy_const_generics( 2 ) ]
236232pub fn _mm_cvt_roundu64_sd < const ROUNDING : i32 > ( a : __m128d , b : u64 ) -> __m128d {
237233 unsafe {
238234 static_assert_rounding ! ( ROUNDING ) ;
@@ -255,7 +251,6 @@ pub fn _mm_cvt_roundu64_sd<const ROUNDING: i32>(a: __m128d, b: u64) -> __m128d {
255251#[ target_feature( enable = "avx512f" ) ]
256252#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
257253#[ cfg_attr( test, assert_instr( vcvtsi2ss, ROUNDING = 8 ) ) ]
258- #[ rustc_legacy_const_generics( 2 ) ]
259254pub fn _mm_cvt_roundsi64_ss < const ROUNDING : i32 > ( a : __m128 , b : i64 ) -> __m128 {
260255 unsafe {
261256 static_assert_rounding ! ( ROUNDING ) ;
@@ -278,7 +273,6 @@ pub fn _mm_cvt_roundsi64_ss<const ROUNDING: i32>(a: __m128, b: i64) -> __m128 {
278273#[ target_feature( enable = "avx512f" ) ]
279274#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
280275#[ cfg_attr( test, assert_instr( vcvtusi2ss, ROUNDING = 8 ) ) ]
281- #[ rustc_legacy_const_generics( 2 ) ]
282276pub fn _mm_cvt_roundu64_ss < const ROUNDING : i32 > ( a : __m128 , b : u64 ) -> __m128 {
283277 unsafe {
284278 static_assert_rounding ! ( ROUNDING ) ;
@@ -301,7 +295,6 @@ pub fn _mm_cvt_roundu64_ss<const ROUNDING: i32>(a: __m128, b: u64) -> __m128 {
301295#[ target_feature( enable = "avx512f" ) ]
302296#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
303297#[ cfg_attr( test, assert_instr( vcvtsd2si, ROUNDING = 8 ) ) ]
304- #[ rustc_legacy_const_generics( 1 ) ]
305298pub fn _mm_cvt_roundsd_si64 < const ROUNDING : i32 > ( a : __m128d ) -> i64 {
306299 unsafe {
307300 static_assert_rounding ! ( ROUNDING ) ;
@@ -323,7 +316,6 @@ pub fn _mm_cvt_roundsd_si64<const ROUNDING: i32>(a: __m128d) -> i64 {
323316#[ target_feature( enable = "avx512f" ) ]
324317#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
325318#[ cfg_attr( test, assert_instr( vcvtsd2si, ROUNDING = 8 ) ) ]
326- #[ rustc_legacy_const_generics( 1 ) ]
327319pub fn _mm_cvt_roundsd_i64 < const ROUNDING : i32 > ( a : __m128d ) -> i64 {
328320 unsafe {
329321 static_assert_rounding ! ( ROUNDING ) ;
@@ -345,7 +337,6 @@ pub fn _mm_cvt_roundsd_i64<const ROUNDING: i32>(a: __m128d) -> i64 {
345337#[ target_feature( enable = "avx512f" ) ]
346338#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
347339#[ cfg_attr( test, assert_instr( vcvtsd2usi, ROUNDING = 8 ) ) ]
348- #[ rustc_legacy_const_generics( 1 ) ]
349340pub fn _mm_cvt_roundsd_u64 < const ROUNDING : i32 > ( a : __m128d ) -> u64 {
350341 unsafe {
351342 static_assert_rounding ! ( ROUNDING ) ;
@@ -367,7 +358,6 @@ pub fn _mm_cvt_roundsd_u64<const ROUNDING: i32>(a: __m128d) -> u64 {
367358#[ target_feature( enable = "avx512f" ) ]
368359#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
369360#[ cfg_attr( test, assert_instr( vcvtss2si, ROUNDING = 8 ) ) ]
370- #[ rustc_legacy_const_generics( 1 ) ]
371361pub fn _mm_cvt_roundss_si64 < const ROUNDING : i32 > ( a : __m128 ) -> i64 {
372362 unsafe {
373363 static_assert_rounding ! ( ROUNDING ) ;
@@ -389,7 +379,6 @@ pub fn _mm_cvt_roundss_si64<const ROUNDING: i32>(a: __m128) -> i64 {
389379#[ target_feature( enable = "avx512f" ) ]
390380#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
391381#[ cfg_attr( test, assert_instr( vcvtss2si, ROUNDING = 8 ) ) ]
392- #[ rustc_legacy_const_generics( 1 ) ]
393382pub fn _mm_cvt_roundss_i64 < const ROUNDING : i32 > ( a : __m128 ) -> i64 {
394383 unsafe {
395384 static_assert_rounding ! ( ROUNDING ) ;
@@ -411,7 +400,6 @@ pub fn _mm_cvt_roundss_i64<const ROUNDING: i32>(a: __m128) -> i64 {
411400#[ target_feature( enable = "avx512f" ) ]
412401#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
413402#[ cfg_attr( test, assert_instr( vcvtss2usi, ROUNDING = 8 ) ) ]
414- #[ rustc_legacy_const_generics( 1 ) ]
415403pub fn _mm_cvt_roundss_u64 < const ROUNDING : i32 > ( a : __m128 ) -> u64 {
416404 unsafe {
417405 static_assert_rounding ! ( ROUNDING ) ;
@@ -428,7 +416,6 @@ pub fn _mm_cvt_roundss_u64<const ROUNDING: i32>(a: __m128) -> u64 {
428416#[ target_feature( enable = "avx512f" ) ]
429417#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
430418#[ cfg_attr( test, assert_instr( vcvttsd2si, SAE = 8 ) ) ]
431- #[ rustc_legacy_const_generics( 1 ) ]
432419pub fn _mm_cvtt_roundsd_si64 < const SAE : i32 > ( a : __m128d ) -> i64 {
433420 unsafe {
434421 static_assert_sae ! ( SAE ) ;
@@ -445,7 +432,6 @@ pub fn _mm_cvtt_roundsd_si64<const SAE: i32>(a: __m128d) -> i64 {
445432#[ target_feature( enable = "avx512f" ) ]
446433#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
447434#[ cfg_attr( test, assert_instr( vcvttsd2si, SAE = 8 ) ) ]
448- #[ rustc_legacy_const_generics( 1 ) ]
449435pub fn _mm_cvtt_roundsd_i64 < const SAE : i32 > ( a : __m128d ) -> i64 {
450436 unsafe {
451437 static_assert_sae ! ( SAE ) ;
@@ -462,7 +448,6 @@ pub fn _mm_cvtt_roundsd_i64<const SAE: i32>(a: __m128d) -> i64 {
462448#[ target_feature( enable = "avx512f" ) ]
463449#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
464450#[ cfg_attr( test, assert_instr( vcvttsd2usi, SAE = 8 ) ) ]
465- #[ rustc_legacy_const_generics( 1 ) ]
466451pub fn _mm_cvtt_roundsd_u64 < const SAE : i32 > ( a : __m128d ) -> u64 {
467452 unsafe {
468453 static_assert_sae ! ( SAE ) ;
@@ -479,7 +464,6 @@ pub fn _mm_cvtt_roundsd_u64<const SAE: i32>(a: __m128d) -> u64 {
479464#[ target_feature( enable = "avx512f" ) ]
480465#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
481466#[ cfg_attr( test, assert_instr( vcvttss2si, SAE = 8 ) ) ]
482- #[ rustc_legacy_const_generics( 1 ) ]
483467pub fn _mm_cvtt_roundss_i64 < const SAE : i32 > ( a : __m128 ) -> i64 {
484468 unsafe {
485469 static_assert_sae ! ( SAE ) ;
@@ -496,7 +480,6 @@ pub fn _mm_cvtt_roundss_i64<const SAE: i32>(a: __m128) -> i64 {
496480#[ target_feature( enable = "avx512f" ) ]
497481#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
498482#[ cfg_attr( test, assert_instr( vcvttss2si, SAE = 8 ) ) ]
499- #[ rustc_legacy_const_generics( 1 ) ]
500483pub fn _mm_cvtt_roundss_si64 < const SAE : i32 > ( a : __m128 ) -> i64 {
501484 unsafe {
502485 static_assert_sae ! ( SAE ) ;
@@ -513,7 +496,6 @@ pub fn _mm_cvtt_roundss_si64<const SAE: i32>(a: __m128) -> i64 {
513496#[ target_feature( enable = "avx512f" ) ]
514497#[ stable( feature = "stdarch_x86_avx512" , since = "1.89" ) ]
515498#[ cfg_attr( test, assert_instr( vcvttss2usi, SAE = 8 ) ) ]
516- #[ rustc_legacy_const_generics( 1 ) ]
517499pub fn _mm_cvtt_roundss_u64 < const SAE : i32 > ( a : __m128 ) -> u64 {
518500 unsafe {
519501 static_assert_sae ! ( SAE ) ;
0 commit comments