2 ms·
is really a CMOV in disguise :) I don't see how using CMOV would be appropriate there --- I'd compile it as something more like this: ; eax = *c, ebx = mi
by userbinator 9y ago
is really a CMOV in disguise :)
I don't see how using CMOV would be appropriate there --- I'd compile it as something more like this:
; eax = *c, ebx = mins[len]
cmp eax, ebx
sbb eax, eax
and eax, 64
; eax = (*c < mins[len]) << 6