@@ -426,7 +426,7 @@ pub unsafe fn _mm256_round_pd(a: __m256d, b: i32) -> __m256d {
426
426
#[ cfg_attr( test, assert_instr( vroundpd) ) ]
427
427
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
428
428
pub unsafe fn _mm256_ceil_pd ( a : __m256d ) -> __m256d {
429
- roundpd256 ( a , 0x02 )
429
+ simd_ceil ( a )
430
430
}
431
431
432
432
/// Rounds packed double-precision (64-bit) floating point elements in `a`
@@ -438,7 +438,7 @@ pub unsafe fn _mm256_ceil_pd(a: __m256d) -> __m256d {
438
438
#[ cfg_attr( test, assert_instr( vroundpd) ) ]
439
439
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
440
440
pub unsafe fn _mm256_floor_pd ( a : __m256d ) -> __m256d {
441
- roundpd256 ( a , 0x01 )
441
+ simd_floor ( a )
442
442
}
443
443
444
444
/// Rounds packed single-precision (32-bit) floating point elements in `a`
@@ -477,7 +477,7 @@ pub unsafe fn _mm256_round_ps(a: __m256, b: i32) -> __m256 {
477
477
#[ cfg_attr( test, assert_instr( vroundps) ) ]
478
478
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
479
479
pub unsafe fn _mm256_ceil_ps ( a : __m256 ) -> __m256 {
480
- roundps256 ( a , 0x02 )
480
+ simd_ceil ( a )
481
481
}
482
482
483
483
/// Rounds packed single-precision (32-bit) floating point elements in `a`
@@ -489,7 +489,7 @@ pub unsafe fn _mm256_ceil_ps(a: __m256) -> __m256 {
489
489
#[ cfg_attr( test, assert_instr( vroundps) ) ]
490
490
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
491
491
pub unsafe fn _mm256_floor_ps ( a : __m256 ) -> __m256 {
492
- roundps256 ( a , 0x01 )
492
+ simd_floor ( a )
493
493
}
494
494
495
495
/// Returns the square root of packed single-precision (32-bit) floating point
0 commit comments