[Bug tree-optimization/102793] AArch64: sequential comparisons with equal conditional blocks don't use ccmp

2024-04-05 Thread manolis.tsamis at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793 --- Comment #7 from Manolis Tsamis --- Also submitted in the lists: https://gcc.gnu.org/pipermail/gcc-patches/2024-April/648856.html I should note that I needed to modify the test uninit-pred-6_c.c and remove this check: if (l) if (n >

[Bug tree-optimization/102793] AArch64: sequential comparisons with equal conditional blocks don't use ccmp

2024-04-05 Thread manolis.tsamis at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793 Manolis Tsamis changed: What|Removed |Added CC||manolis.tsamis at vrull dot eu ---

[Bug tree-optimization/102793] AArch64: sequential comparisons with equal conditional blocks don't use ccmp

2023-08-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > basically ccmp expension is just ifcombine really. > That is: > cc = bar cmp 0 > cc = cc.eq ? ne : d1 cmp d2 > cset cc.ne > So this is why doing a late pass

[Bug tree-optimization/102793] AArch64: sequential comparisons with equal conditional blocks don't use ccmp

2021-10-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793 --- Comment #4 from Andrew Pinski --- (In reply to Richard Biener from comment #3) > I wonder why tail-merging doesn't do it's job here. It does (on > x86_64-linux): Oh I missed that. > but what's missing is possibly some if-combine? Yes

[Bug tree-optimization/102793] AArch64: sequential comparisons with equal conditional blocks don't use ccmp

2021-10-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793 Richard Biener changed: What|Removed |Added Target||aarch64 --- Comment #3 from Richard

[Bug tree-optimization/102793] AArch64: sequential comparisons with equal conditional blocks don't use ccmp

2021-10-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > This is a gimple level missed optimization where the indirect function call > is not "commonized". There are a few other bugs which are similar to this > too.

[Bug tree-optimization/102793] AArch64: sequential comparisons with equal conditional blocks don't use ccmp

2021-10-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-10-15 Severity|normal