https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection --- Comment #26 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #25) > Hmm, I thought Jakub's recent work on PR 79173 would have fixed this but no > it didn't. But it does now, we get at -O2/-O3: ``` _Z3addR4pairS0_: .LFB0: .cfi_startproc movq (%rsi), %rax addq (%rdi), %rax movq %rax, %rdx movq 8(%rsi), %rax adcq 8(%rdi), %rax xchgq %rdx, %rax ret ``` Which is definitely better.