Is there branchless way to clear 32-bit register depending on status register state? It can be achieved using additional clear register and CMOVcc, but it is too expensive on x86 in 32bit mode for me. Sadly CMOVcc have no version with immideate operand. Reading from memory is also bad variant.
There is SETcc (though, operand is 1 byte) but not "CLEARcc" instruction on x86.