mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-11 15:00:41 +02:00
OpcodeDispatcher: optimize clc/stc
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
1 parent
79c745929a
commit
34ee3bb8aa
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user