forked from Mirror/Ryujinx
40797a1283
* Optimization | Modify Add Instruction to use LEA instead. Currently, the add instruction requires 4 registers to take place. By using LEA, we can effectively perform the same working using 3 registers, reducing memory spills and improving translation efficiency. * Fix IsSameOperandDestSrc1 Check for Add * Use LEA if Dest != SRC1 * Update IsSameOperandDestSrc1 to account for Cases where Dest and Src1 can be same for add * Fix error in logic * Typo * Add paranthesis for clarity * Compare registers as requested. * Cleanup if statement, use same comparison method as generateCopy * Make change as recommended by gdk * Perform check only when Add calls are made * use ensure sametype for lea, fix else * Update comment * Update version # |
||
---|---|---|
.. | ||
Cache | ||
PTC | ||
ArmEmitterContext.cs | ||
Compiler.cs | ||
CompilerContext.cs | ||
CompilerOptions.cs | ||
ControlFlowGraph.cs | ||
DelegateHelper.cs | ||
DelegateInfo.cs | ||
Delegates.cs | ||
DirectCallStubs.cs | ||
Dominance.cs | ||
EmitterContext.cs | ||
GuestFunction.cs | ||
JumpTableEntryAllocator.cs | ||
RegisterToLocal.cs | ||
RegisterUsage.cs | ||
RejitRequest.cs | ||
SsaConstruction.cs | ||
SsaDeconstruction.cs | ||
TranslatedFunction.cs | ||
Translator.cs |