@@ -2321,7 +2321,7 @@ pub const fn _mm256_or_si256(a: __m256i, b: __m256i) -> __m256i {
23212321/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_packs_epi16)
23222322#[ inline]
23232323#[ target_feature( enable = "avx2" ) ]
2324- #[ cfg_attr( test, assert_instr( vpacksswb, limit( 5 ) ) ) ]
2324+ #[ cfg_attr( test, assert_instr( vpacksswb, limit( 5 ) , not ( vpminsw ) , not ( vpmaxsw ) ) ) ]
23252325#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
23262326pub fn _mm256_packs_epi16 ( a : __m256i , b : __m256i ) -> __m256i {
23272327 unsafe { transmute ( packsswb ( a. as_i16x16 ( ) , b. as_i16x16 ( ) ) ) }
@@ -2333,7 +2333,7 @@ pub fn _mm256_packs_epi16(a: __m256i, b: __m256i) -> __m256i {
23332333/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_packs_epi32)
23342334#[ inline]
23352335#[ target_feature( enable = "avx2" ) ]
2336- #[ cfg_attr( test, assert_instr( vpackssdw, limit( 5 ) ) ) ]
2336+ #[ cfg_attr( test, assert_instr( vpackssdw, limit( 5 ) , not ( vpminsd ) , not ( vpmaxsd ) ) ) ]
23372337#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
23382338pub fn _mm256_packs_epi32 ( a : __m256i , b : __m256i ) -> __m256i {
23392339 unsafe { transmute ( packssdw ( a. as_i32x8 ( ) , b. as_i32x8 ( ) ) ) }
@@ -2345,7 +2345,7 @@ pub fn _mm256_packs_epi32(a: __m256i, b: __m256i) -> __m256i {
23452345/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_packus_epi16)
23462346#[ inline]
23472347#[ target_feature( enable = "avx2" ) ]
2348- #[ cfg_attr( test, assert_instr( vpackuswb, limit( 5 ) ) ) ]
2348+ #[ cfg_attr( test, assert_instr( vpackuswb, limit( 5 ) , not ( vpminsw ) , not ( vpmaxsw ) ) ) ]
23492349#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
23502350pub fn _mm256_packus_epi16 ( a : __m256i , b : __m256i ) -> __m256i {
23512351 unsafe { transmute ( packuswb ( a. as_i16x16 ( ) , b. as_i16x16 ( ) ) ) }
@@ -2357,7 +2357,7 @@ pub fn _mm256_packus_epi16(a: __m256i, b: __m256i) -> __m256i {
23572357/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_packus_epi32)
23582358#[ inline]
23592359#[ target_feature( enable = "avx2" ) ]
2360- #[ cfg_attr( test, assert_instr( vpackusdw, limit( 5 ) ) ) ]
2360+ #[ cfg_attr( test, assert_instr( vpackusdw, limit( 5 ) , not ( vpminsd ) , not ( vpmaxsd ) ) ) ]
23612361#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
23622362pub fn _mm256_packus_epi32 ( a : __m256i , b : __m256i ) -> __m256i {
23632363 unsafe { transmute ( packusdw ( a. as_i32x8 ( ) , b. as_i32x8 ( ) ) ) }
0 commit comments