https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122366
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2025-10-21
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Severity|normal |enhancement
Target|aarch64 |aarch64 (without cssc)
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
For CSSC GCC produce decent code.
The problem is really which side the compare was done on.
I am trying to think if we should expand this better in the first place by
handling:
smax(-a, b)
or smax(a, -b).