Skip to content

Commit a213fb4

Browse files
sayantnAmanieu
authored andcommitted
AVX512DQ: Fixes (Adding SSE target_feature for i586)
1 parent 473c528 commit a213fb4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

crates/core_arch/src/x86/avx512dq.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -6450,7 +6450,7 @@ macro_rules! fpclass_asm {
64506450
///
64516451
/// [Intel's Documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_fpclass_pd_mask&ig_expand=3493)
64526452
#[inline]
6453-
#[target_feature(enable = "avx512f,avx512dq,avx512vl")]
6453+
#[target_feature(enable = "sse,avx512f,avx512dq,avx512vl")]
64546454
#[cfg_attr(test, assert_instr(vfpclasspd, IMM8 = 0))]
64556455
#[rustc_legacy_const_generics(1)]
64566456
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
@@ -6475,7 +6475,7 @@ pub unsafe fn _mm_fpclass_pd_mask<const IMM8: i32>(a: __m128d) -> __mmask8 {
64756475
///
64766476
/// [Intel's Documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_fpclass_pd_mask&ig_expand=3494)
64776477
#[inline]
6478-
#[target_feature(enable = "avx512f,avx512dq,avx512vl")]
6478+
#[target_feature(enable = "sse,avx512f,avx512dq,avx512vl")]
64796479
#[cfg_attr(test, assert_instr(vfpclasspd, IMM8 = 0))]
64806480
#[rustc_legacy_const_generics(2)]
64816481
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
@@ -6597,7 +6597,7 @@ pub unsafe fn _mm512_mask_fpclass_pd_mask<const IMM8: i32>(k1: __mmask8, a: __m5
65976597
///
65986598
/// [Intel's Documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_fpclass_ps_mask&ig_expand=3505)
65996599
#[inline]
6600-
#[target_feature(enable = "avx512f,avx512dq,avx512vl")]
6600+
#[target_feature(enable = "sse,avx512f,avx512dq,avx512vl")]
66016601
#[cfg_attr(test, assert_instr(vfpclassps, IMM8 = 0))]
66026602
#[rustc_legacy_const_generics(1)]
66036603
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
@@ -6622,7 +6622,7 @@ pub unsafe fn _mm_fpclass_ps_mask<const IMM8: i32>(a: __m128) -> __mmask8 {
66226622
///
66236623
/// [Intel's Documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_fpclass_ps_mask&ig_expand=3506)
66246624
#[inline]
6625-
#[target_feature(enable = "avx512f,avx512dq,avx512vl")]
6625+
#[target_feature(enable = "sse,avx512f,avx512dq,avx512vl")]
66266626
#[cfg_attr(test, assert_instr(vfpclassps, IMM8 = 0))]
66276627
#[rustc_legacy_const_generics(2)]
66286628
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
@@ -6744,7 +6744,7 @@ pub unsafe fn _mm512_mask_fpclass_ps_mask<const IMM8: i32>(k1: __mmask16, a: __m
67446744
///
67456745
/// [Intel's Documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_fpclass_sd_mask&ig_expand=3511)
67466746
#[inline]
6747-
#[target_feature(enable = "avx512f,avx512dq,avx512vl")]
6747+
#[target_feature(enable = "sse,avx512f,avx512dq,avx512vl")]
67486748
#[cfg_attr(test, assert_instr(vfpclasssd, IMM8 = 0))]
67496749
#[rustc_legacy_const_generics(1)]
67506750
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
@@ -6769,7 +6769,7 @@ pub unsafe fn _mm_fpclass_sd_mask<const IMM8: i32>(a: __m128d) -> __mmask8 {
67696769
///
67706770
/// [Intel's Documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_fpclass_sd_mask&ig_expand=3512)
67716771
#[inline]
6772-
#[target_feature(enable = "avx512f,avx512dq,avx512vl")]
6772+
#[target_feature(enable = "sse,avx512f,avx512dq,avx512vl")]
67736773
#[cfg_attr(test, assert_instr(vfpclasssd, IMM8 = 0))]
67746774
#[rustc_legacy_const_generics(2)]
67756775
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
@@ -6793,7 +6793,7 @@ pub unsafe fn _mm_mask_fpclass_sd_mask<const IMM8: i32>(k1: __mmask8, a: __m128d
67936793
///
67946794
/// [Intel's Documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_fpclass_ss_mask&ig_expand=3515)
67956795
#[inline]
6796-
#[target_feature(enable = "avx512f,avx512dq,avx512vl")]
6796+
#[target_feature(enable = "sse,avx512f,avx512dq,avx512vl")]
67976797
#[cfg_attr(test, assert_instr(vfpclassss, IMM8 = 0))]
67986798
#[rustc_legacy_const_generics(1)]
67996799
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
@@ -6818,7 +6818,7 @@ pub unsafe fn _mm_fpclass_ss_mask<const IMM8: i32>(a: __m128) -> __mmask8 {
68186818
///
68196819
/// [Intel's Documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_fpclass_ss_mask&ig_expand=3516)
68206820
#[inline]
6821-
#[target_feature(enable = "avx512f,avx512dq,avx512vl")]
6821+
#[target_feature(enable = "sse,avx512f,avx512dq,avx512vl")]
68226822
#[cfg_attr(test, assert_instr(vfpclassss, IMM8 = 0))]
68236823
#[rustc_legacy_const_generics(2)]
68246824
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]

0 commit comments

Comments
 (0)