X64Backend: sign flag after BT is undefined
fleroviux opened this issue · comments
Mireille commented
In AND, EOR and ORR we use bt
to restore the shifter carry flag, but this leaves the sign flag undefined.
https://www.felixcloutier.com/x86/bt
The CF flag contains the value of the selected bit. The ZF flag is unaffected. The OF, SF, AF, and PF flags are undefined.