public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/91026] [9/10 Regression] switch expansion produces a jump table with trivial entries [not found] <bug-91026-4@http.gcc.gnu.org/bugzilla/> @ 2021-07-25 4:12 ` pinskia at gcc dot gnu.org 2022-06-28 10:37 ` [Bug tree-optimization/91026] [10 " jakub at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-07-25 4:12 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91026 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|switch expansion produces a |[9/10 Regression] switch |jump table with trivial |expansion produces a jump |entries |table with trivial entries Target Milestone|--- |10.4 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- In GCC 11, we do the right thing again. On the trunk we even do even better by using btq: cmpb $18, %dil ja .L3 movl $348018, %eax btq %rdi, %rax setc %al ret .L3: xorl %eax, %eax ret Note clang does not so good job: addb $-1, %dil cmpb $18, %dil setb %cl movzbl %dil, %eax movl $174009, %edx # imm = 0x2A7B9 btl %eax, %edx setb %al andb %cl, %al retq ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/91026] [10 Regression] switch expansion produces a jump table with trivial entries [not found] <bug-91026-4@http.gcc.gnu.org/bugzilla/> 2021-07-25 4:12 ` [Bug tree-optimization/91026] [9/10 Regression] switch expansion produces a jump table with trivial entries pinskia at gcc dot gnu.org @ 2022-06-28 10:37 ` jakub at gcc dot gnu.org 2023-07-07 8:30 ` rguenth at gcc dot gnu.org 2023-07-07 8:30 ` rguenth at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: jakub at gcc dot gnu.org @ 2022-06-28 10:37 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91026 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.4 |10.5 --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- GCC 10.4 is being released, retargeting bugs to GCC 10.5. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/91026] [10 Regression] switch expansion produces a jump table with trivial entries [not found] <bug-91026-4@http.gcc.gnu.org/bugzilla/> 2021-07-25 4:12 ` [Bug tree-optimization/91026] [9/10 Regression] switch expansion produces a jump table with trivial entries pinskia at gcc dot gnu.org 2022-06-28 10:37 ` [Bug tree-optimization/91026] [10 " jakub at gcc dot gnu.org @ 2023-07-07 8:30 ` rguenth at gcc dot gnu.org 2023-07-07 8:30 ` rguenth at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu.org @ 2023-07-07 8:30 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91026 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |10.5.0 Known to work| |11.1.0 Target Milestone|10.5 |11.0 --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Fixed in GCC 11. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/91026] [10 Regression] switch expansion produces a jump table with trivial entries [not found] <bug-91026-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2023-07-07 8:30 ` rguenth at gcc dot gnu.org @ 2023-07-07 8:30 ` rguenth at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu.org @ 2023-07-07 8:30 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91026 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- . ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-07 8:30 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-91026-4@http.gcc.gnu.org/bugzilla/> 2021-07-25 4:12 ` [Bug tree-optimization/91026] [9/10 Regression] switch expansion produces a jump table with trivial entries pinskia at gcc dot gnu.org 2022-06-28 10:37 ` [Bug tree-optimization/91026] [10 " jakub at gcc dot gnu.org 2023-07-07 8:30 ` rguenth at gcc dot gnu.org 2023-07-07 8:30 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).