[Bug target/94174] Missed ccmp optimizations

2021-10-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94174 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/94174] Missed ccmp optimizations

2020-03-14 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94174 --- Comment #2 from Richard Henderson --- Case 3: void test3(__int128 a, unsigned long l) { if ((__int128_t)a - l <= 1) doit(); } currently generates as subsx0, x0, x2 sbc x1, x1, xzr cmp x1, 0

[Bug target/94174] Missed ccmp optimizations

2020-03-14 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94174 Richard Henderson changed: What|Removed |Added Summary|__builtin_add_overflow vs |Missed ccmp optimizations