OpcodeDispatcher: note idea to further optimize rcl

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
Alyssa Rosenzweig committed 2024-01-30 22:22:57 -04:00
1 parent 6d82c957fa
commit d979b3a1da
1 file changed
+1
@@ -2618,6 +2618,7 @@ void OpDispatchBuilder::RCLOp1Bit(OpcodeArgs) {
auto CF = GetRFLAG(FEXCore::X86State::RFLAG_CF_RAW_LOC);
// Rotate left and insert CF in to lowest bit
// TODO: Use `adc Res, xzr, Dest, lsl 1` to save an instruction
OrderedNode *Res = _Orlshl(OpSize, CF, Dest, 1);
StoreResult(GPRClass, Op, Res, -1);