[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #9 from Jeremy R. --- Thank you for the resources and for your insight, it's much appreciated. Is there interest in updating the intentional false-dependency logic to not fire for architectures newer than cannonlake?

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #8 from Andrew Pinski --- (In reply to Jeremy R. from comment #7) > Does the false dependency still apply to modern CPUs? How modern is modern? Skylake fixed this for lzcnt and tzcnt. Cannon Lake (and Ice Lake) fixed this for

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #7 from Jeremy R. --- Does the false dependency still apply to modern CPUs?

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #6 from Jeremy R. --- Ah thank you @Andrew Pinski @Jakub Jelinek

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #4 from Jakub Jelinek --- That is not unnecessary nor redundant, but fully intentional. See e.g. PR62011.

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |target Summary|Redundant