mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-08 21:00:19 +02:00
OpcodeDispatcher: note idea to further optimize rcl
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user