[Bug target/96846] [x86] Prefer xor/test/setcc over test/setcc/movzx sequence

2024-07-25 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96846 Hongtao Liu changed: What|Removed |Added CC||liuhongt at gcc dot gnu.org --- Comment #5

[Bug target/96846] [x86] Prefer xor/test/setcc over test/setcc/movzx sequence

2024-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96846 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/96846] [x86] Prefer xor/test/setcc over test/setcc/movzx sequence

2020-08-29 Thread andysem at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96846 --- Comment #4 from andysem at mail dot ru --- (In reply to Jakub Jelinek from comment #3) > mov edx, DWORD PTR [rdi] > cmp edx, esi > seteal > cmp edx, r9d > setedl > or eax

[Bug target/96846] [x86] Prefer xor/test/setcc over test/setcc/movzx sequence

2020-08-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96846 Jakub Jelinek changed: What|Removed |Added CC||uros at gcc dot gnu.org --- Comment #3 f

[Bug target/96846] [x86] Prefer xor/test/setcc over test/setcc/movzx sequence

2020-08-29 Thread andysem at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96846 --- Comment #2 from andysem at mail dot ru --- (In reply to Jakub Jelinek from comment #1) In the godbolt link there is also a third case, which is similar to the second one, but does not reuse the source register for comparison results. unsigne

[Bug target/96846] [x86] Prefer xor/test/setcc over test/setcc/movzx sequence

2020-08-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96846 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1