@@ -29,6 +29,7 @@ extern "unadjusted" {
2929#[ inline]
3030#[ target_feature( enable = "f16c" ) ]
3131#[ cfg_attr( test, assert_instr( "vcvtph2ps" ) ) ]
32+ #[ stable( feature = "x86_f16c_intrinsics" , since = "1.68.0" ) ]
3233pub unsafe fn _mm_cvtph_ps ( a : __m128i ) -> __m128 {
3334 transmute ( llvm_vcvtph2ps_128 ( transmute ( a) ) )
3435}
@@ -38,6 +39,7 @@ pub unsafe fn _mm_cvtph_ps(a: __m128i) -> __m128 {
3839#[ inline]
3940#[ target_feature( enable = "f16c" ) ]
4041#[ cfg_attr( test, assert_instr( "vcvtph2ps" ) ) ]
42+ #[ stable( feature = "x86_f16c_intrinsics" , since = "1.68.0" ) ]
4143pub unsafe fn _mm256_cvtph_ps ( a : __m128i ) -> __m256 {
4244 transmute ( llvm_vcvtph2ps_256 ( transmute ( a) ) )
4345}
@@ -57,6 +59,7 @@ pub unsafe fn _mm256_cvtph_ps(a: __m128i) -> __m256 {
5759#[ target_feature( enable = "f16c" ) ]
5860#[ cfg_attr( test, assert_instr( "vcvtps2ph" , IMM_ROUNDING = 0 ) ) ]
5961#[ rustc_legacy_const_generics( 1 ) ]
62+ #[ stable( feature = "x86_f16c_intrinsics" , since = "1.68.0" ) ]
6063pub unsafe fn _mm_cvtps_ph < const IMM_ROUNDING : i32 > ( a : __m128 ) -> __m128i {
6164 static_assert_uimm_bits ! ( IMM_ROUNDING , 3 ) ;
6265 let a = a. as_f32x4 ( ) ;
@@ -78,6 +81,7 @@ pub unsafe fn _mm_cvtps_ph<const IMM_ROUNDING: i32>(a: __m128) -> __m128i {
7881#[ target_feature( enable = "f16c" ) ]
7982#[ cfg_attr( test, assert_instr( "vcvtps2ph" , IMM_ROUNDING = 0 ) ) ]
8083#[ rustc_legacy_const_generics( 1 ) ]
84+ #[ stable( feature = "x86_f16c_intrinsics" , since = "1.68.0" ) ]
8185pub unsafe fn _mm256_cvtps_ph < const IMM_ROUNDING : i32 > ( a : __m256 ) -> __m128i {
8286 static_assert_uimm_bits ! ( IMM_ROUNDING , 3 ) ;
8387 let a = a. as_f32x8 ( ) ;
0 commit comments