mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-12-14 17:38:47 +00:00
OpcodeDispatcher: optimize clc/stc
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
parent
79c745929a
commit
34ee3bb8aa
@ -1255,10 +1255,10 @@ void OpDispatchBuilder::FLAGControlOp(OpcodeArgs) {
|
||||
CarryInvert();
|
||||
break;
|
||||
case 0xF8: // CLC
|
||||
SetCFDirect(_Constant(0));
|
||||
SetCFInverted(_Constant(1));
|
||||
break;
|
||||
case 0xF9: // STC
|
||||
SetCFDirect(_Constant(1));
|
||||
SetCFInverted(_Constant(0));
|
||||
break;
|
||||
case 0xFC: // CLD
|
||||
SetRFLAG(_Constant(0), FEXCore::X86State::RFLAG_DF_RAW_LOC);
|
||||
|
Loading…
Reference in New Issue
Block a user