@@ -601,7 +601,7 @@ pub unsafe fn _mm_dp_ps(a: __m128, b: __m128, imm8: i32) -> __m128 {
601
601
#[ cfg_attr( test, assert_instr( roundpd) ) ]
602
602
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
603
603
pub unsafe fn _mm_floor_pd ( a : __m128d ) -> __m128d {
604
- roundpd ( a , _MM_FROUND_FLOOR )
604
+ simd_floor ( a )
605
605
}
606
606
607
607
/// Round the packed single-precision (32-bit) floating-point elements in `a`
@@ -614,7 +614,7 @@ pub unsafe fn _mm_floor_pd(a: __m128d) -> __m128d {
614
614
#[ cfg_attr( test, assert_instr( roundps) ) ]
615
615
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
616
616
pub unsafe fn _mm_floor_ps ( a : __m128 ) -> __m128 {
617
- roundps ( a , _MM_FROUND_FLOOR )
617
+ simd_floor ( a )
618
618
}
619
619
620
620
/// Round the lower double-precision (64-bit) floating-point element in `b`
@@ -657,7 +657,7 @@ pub unsafe fn _mm_floor_ss(a: __m128, b: __m128) -> __m128 {
657
657
#[ cfg_attr( test, assert_instr( roundpd) ) ]
658
658
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
659
659
pub unsafe fn _mm_ceil_pd ( a : __m128d ) -> __m128d {
660
- roundpd ( a , _MM_FROUND_CEIL )
660
+ simd_ceil ( a )
661
661
}
662
662
663
663
/// Round the packed single-precision (32-bit) floating-point elements in `a`
@@ -670,7 +670,7 @@ pub unsafe fn _mm_ceil_pd(a: __m128d) -> __m128d {
670
670
#[ cfg_attr( test, assert_instr( roundps) ) ]
671
671
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
672
672
pub unsafe fn _mm_ceil_ps ( a : __m128 ) -> __m128 {
673
- roundps ( a , _MM_FROUND_CEIL )
673
+ simd_ceil ( a )
674
674
}
675
675
676
676
/// Round the lower double-precision (64-bit) floating-point element in `b`
0 commit comments