Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISC-V] Replace rsGetRsvdReg with ordinary temp registers (dotnet#95317
) * [RISC-V] Replace rsGetRsvdReg calls in emitInsTernary with ordinary temps * [RISC-V] Give emitInsTernary a haircut * [RISC-V] Add missing newline when printf is exceeds MAX_LEN * [RISC-V] Replace rsGetRsvdReg with a normal constant in genLcLHeap. Plus a small optimization, fuse addi+and into andi to avoid using a temp reg. * [RISC-V] Replace rsGetRsvdReg with ordinary temp regs in GT_(MOD|DIV|MULHI) * [RISC-V] Replace rsGetRsvdReg with ordinary temp reg in switch tables * [RISC-V] Replace rsGetRsvdReg with ordinary temps in genCodeForCompare * [RISC-V] Replace rsGetRsvdReg with ordinary temps in genCodeForShift * [RISC-V] Replace rsGetRsvdReg with ordinary temp reg in genCodeForIndexAddr and genLeaInstruction * [RISC-V] Replace rsGetRsvdReg with ordinary temp reg in genIntCastOverflowCheck * [RISC-V] Code review: remove an always true if and don't enter divisor checking when we know we need a temp * [RISC-V] Small refactorings after review
- Loading branch information