http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38126
Steven Fuerst <svfuerst at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |svfuerst at gmail dot com --- Comment #3 from Steven Fuerst <svfuerst at gmail dot com> 2012-02-02 05:25:34 UTC --- For the first pair of functions, this is even faster: neg %rdi sbb %eax, %eax neg %rsi adc $1, %eax and $1, %eax retq