https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93902
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- foo3 is more complex because x86 does not have an unsigned long 64bit to double so it has to do some more complex. It is much simplier for aarch64 though: cmp x0, x1 beq .L8 .L6: ret .p2align 2,,3 .L8: ucvtf d0, x0 fcmp d0, d0 beq .L6 b bar()