https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30082
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.org --- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Richard Biener from comment #3) > long foo(float x) > { > return __builtin_lfloorf(x); > } > > generates > > foo: > .LFB2: > cvttss2siq %xmm0, %rax > cvtsi2ssq %rax, %xmm1 > leaq -1(%rax), %rdx > comiss %xmm0, %xmm1 > cmova %rdx, %rax > ret > > the adc/sbb variants are no longer generated. Are you still working on this?