forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request easybuilders#19180 from Flamefire/20231109105147_n…
…ew_pr_GCCcore1210 fix regression in GCC 12+ on AVX512 systems
- Loading branch information
Showing
6 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
easybuild/easyconfigs/g/GCCcore/GCCcore-12.2.0_fix-avx512-misoptimization.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Fix a typo causing inverted semantics when (even AVX2) code is compiled for AVX512 systems, e.g. via -march=native | ||
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112443 where the changeset is from. | ||
|
||
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md | ||
index 2ce1aed4ad9..d7e058c2517 100644 | ||
--- a/gcc/config/i386/sse.md | ||
+++ b/gcc/config/i386/sse.md | ||
@@ -16350,7 +16350,7 @@ | ||
(match_dup 4))] | ||
UNSPEC_BLENDV))] | ||
{ | ||
- if (INTVAL (operands[5]) == 1) | ||
+ if (INTVAL (operands[5]) == 5) | ||
std::swap (operands[1], operands[2]); | ||
operands[3] = gen_lowpart (<MODE>mode, operands[3]); | ||
}) | ||
@@ -16380,7 +16380,7 @@ | ||
(match_dup 4))] | ||
UNSPEC_BLENDV))] | ||
{ | ||
- if (INTVAL (operands[5]) == 1) | ||
+ if (INTVAL (operands[5]) == 5) | ||
std::swap (operands[1], operands[2]); | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters