It's not actually wrong, but it's misleading because we don't actually
care that the flags are preserved at this point, because the next
instruction clobbers them anyway. I think this was cut-and-paste
lossage from the earlier code which relies on `mov' preserving the carry
flag.
// Deal with the tail end.
7: add [rdi], C
// Deal with the tail end.
7: add [rdi], C
- mov C, 0 // preserves flags
add rdi, 4
adc C, 0
cmp rdi, DVL
add rdi, 4
adc C, 0
cmp rdi, DVL
// Deal with the tail end.
7: add [edi], eax
// Deal with the tail end.
7: add [edi], eax
- mov eax, 0 // preserves flags
add edi, 4
adc eax, 0
cmp edi, edx
add edi, 4
adc eax, 0
cmp edi, edx