mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
[Jit] Mov2ir optimisation
This commit is contained in:
parent
38a59cca95
commit
cd283089aa
@ -488,10 +488,10 @@ namespace PpcGen {
|
||||
// Quick Call
|
||||
// dest = LIS(imm) + ORI(+imm)
|
||||
void PPCXEmitter::MOVI2R(PPCReg dest, unsigned int imm) {
|
||||
/*if (imm == (unsigned short)imm) {
|
||||
if ((s32) (s16) (imm) == (s32) (imm)) {
|
||||
// 16bit
|
||||
LI(dest, imm & 0xFFFF);
|
||||
} else */{
|
||||
} else {
|
||||
// HI 16bit
|
||||
LIS(dest, imm>>16);
|
||||
if ((imm & 0xFFFF) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user