@@ -738,7 +738,7 @@ pub const _CMP_TRUE_US: i32 = 0x1f;
738
738
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
739
739
pub unsafe fn _mm_cmp_pd < const IMM5 : i32 > ( a : __m128d , b : __m128d ) -> __m128d {
740
740
static_assert_uimm_bits ! ( IMM5 , 5 ) ;
741
- vcmppd ( a, b, IMM5 as i8 )
741
+ vcmppd ( a, b, const { IMM5 as i8 } )
742
742
}
743
743
744
744
/// Compares packed double-precision (64-bit) floating-point
@@ -768,7 +768,7 @@ pub unsafe fn _mm256_cmp_pd<const IMM5: i32>(a: __m256d, b: __m256d) -> __m256d
768
768
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
769
769
pub unsafe fn _mm_cmp_ps < const IMM5 : i32 > ( a : __m128 , b : __m128 ) -> __m128 {
770
770
static_assert_uimm_bits ! ( IMM5 , 5 ) ;
771
- vcmpps ( a, b, IMM5 as i8 )
771
+ vcmpps ( a, b, const { IMM5 as i8 } )
772
772
}
773
773
774
774
/// Compares packed single-precision (32-bit) floating-point
@@ -783,7 +783,7 @@ pub unsafe fn _mm_cmp_ps<const IMM5: i32>(a: __m128, b: __m128) -> __m128 {
783
783
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
784
784
pub unsafe fn _mm256_cmp_ps < const IMM5 : i32 > ( a : __m256 , b : __m256 ) -> __m256 {
785
785
static_assert_uimm_bits ! ( IMM5 , 5 ) ;
786
- vcmpps256 ( a, b, IMM5 as u8 )
786
+ vcmpps256 ( a, b, const { IMM5 as u8 } )
787
787
}
788
788
789
789
/// Compares the lower double-precision (64-bit) floating-point element in
0 commit comments