http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50339
Steven Fuerst <svfuerst at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |svfuerst at gmail dot com --- Comment #1 from Steven Fuerst <svfuerst at gmail dot com> 2012-01-22 23:44:55 UTC --- It is possible to remove yet another mov instruction: mov %rdi,%rax mov %rsi,%rdx sar $0x3f,%rsi xor %rsi,%rax xor %rsi,%rdx sub %rsi,%rax sbb %rsi,%rdx retq