diff options
author | CoprDistGit <infra@openeuler.org> | 2024-10-09 03:36:26 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-10-09 03:36:26 +0000 |
commit | db43dfdfa8bc2b938582aef3d87e43594c13ee50 (patch) | |
tree | 47b95b2f6ac8d8b7e6fa373a5bd7d661bf7234df /i386-Disable-Intel-Xeon-Phi-tests-for-GCC-15-and-abo.patch | |
parent | b933872de72b006230559f77acc3ccfb38a1f343 (diff) |
automatic import of glibcopeneuler20.03
Diffstat (limited to 'i386-Disable-Intel-Xeon-Phi-tests-for-GCC-15-and-abo.patch')
-rw-r--r-- | i386-Disable-Intel-Xeon-Phi-tests-for-GCC-15-and-abo.patch | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/i386-Disable-Intel-Xeon-Phi-tests-for-GCC-15-and-abo.patch b/i386-Disable-Intel-Xeon-Phi-tests-for-GCC-15-and-abo.patch new file mode 100644 index 0000000..239b876 --- /dev/null +++ b/i386-Disable-Intel-Xeon-Phi-tests-for-GCC-15-and-abo.patch @@ -0,0 +1,68 @@ +From 697ab62d1176180bea49094130ad0af2b108874d Mon Sep 17 00:00:00 2001 +From: Sunil K Pandey <skpgkp2@gmail.com> +Date: Mon, 27 May 2024 10:08:18 -0700 +Subject: [PATCH 1/2] i386: Disable Intel Xeon Phi tests for GCC 15 and above + (BZ 31782) + +This patch disables Intel Xeon Phi tests for GCC 15 and above. + +GCC 15 removed Intel Xeon Phi ISA support. +commit e1a7e2c54d52d0ba374735e285b617af44841ace +Author: Haochen Jiang <haochen.jiang@intel.com> +Date: Mon May 20 10:43:44 2024 +0800 + + i386: Remove Xeon Phi ISA support + +Fixes BZ 31782. + +Reviewed-by: H.J. Lu <hjl.tools@gmail.com> +(cherry picked from commit 1b713c9a5349ef3cd1a8ccf9de017c7865713c67) +--- + sysdeps/x86/tst-cpu-features-supports.c | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/sysdeps/x86/tst-cpu-features-supports.c b/sysdeps/x86/tst-cpu-features-supports.c +index 32daf51053..f85356b589 100644 +--- a/sysdeps/x86/tst-cpu-features-supports.c ++++ b/sysdeps/x86/tst-cpu-features-supports.c +@@ -65,7 +65,7 @@ do_test (int argc, char **argv) + #endif + fails += CHECK_FEATURE_ACTIVE (avx, AVX); + fails += CHECK_FEATURE_ACTIVE (avx2, AVX2); +-#if __GNUC_PREREQ (7, 0) ++#if __GNUC_PREREQ (7, 0) && !__GNUC_PREREQ (15, 0) + fails += CHECK_FEATURE_ACTIVE (avx5124fmaps, AVX512_4FMAPS); + fails += CHECK_FEATURE_ACTIVE (avx5124vnniw, AVX512_4VNNIW); + #endif +@@ -92,14 +92,18 @@ do_test (int argc, char **argv) + #if __GNUC_PREREQ (6, 0) + fails += CHECK_FEATURE_ACTIVE (avx512bw, AVX512BW); + fails += CHECK_FEATURE_ACTIVE (avx512cd, AVX512CD); ++# if !__GNUC_PREREQ (15, 0) + fails += CHECK_FEATURE_ACTIVE (avx512er, AVX512ER); ++# endif + fails += CHECK_FEATURE_ACTIVE (avx512dq, AVX512DQ); + #endif + #if __GNUC_PREREQ (5, 0) + fails += CHECK_FEATURE_ACTIVE (avx512f, AVX512F); + #endif + #if __GNUC_PREREQ (6, 0) ++# if !__GNUC_PREREQ (15, 0) + fails += CHECK_FEATURE_ACTIVE (avx512pf, AVX512PF); ++# endif + fails += CHECK_FEATURE_ACTIVE (avx512vl, AVX512VL); + #endif + #if __GNUC_PREREQ (5, 0) +@@ -148,7 +152,9 @@ do_test (int argc, char **argv) + #endif + fails += CHECK_FEATURE_ACTIVE (popcnt, POPCNT); + #if __GNUC_PREREQ (11, 0) ++# if !__GNUC_PREREQ (15, 0) + fails += CHECK_FEATURE_ACTIVE (prefetchwt1, PREFETCHWT1); ++# endif + fails += CHECK_FEATURE_ACTIVE (ptwrite, PTWRITE); + fails += CHECK_FEATURE_ACTIVE (rdpid, RDPID); + fails += CHECK_FEATURE_ACTIVE (rdrnd, RDRAND); +-- +2.33.0 + |