New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only require ivy bridge when compiling with gcc 13. #25786
Only require ivy bridge when compiling with gcc 13. #25786
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why ?
Issues with generated binaries, causing The following test program fails when requiring haswell:
|
Note, the same test program also fails with gcc 12 on CentOS Stream 8 when tuning for icelake-server:
|
A smaller test program for verifying issue.
|
GCC looks to be emitting a semantically invalid AVX2 register broadcast instruction. Prologue of
ABI conventions state that
Contents of The funkiness starts at the next call, where we want to compare against a
Since this uses an YMM output register, this would be the "Broadcast a qword element in source operand to four locations in ymm1" version of
Breakpointing in
There is an AVX-512 variant of |
Reported as GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108599 |
@baldersheim : please review