Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: