Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Jit64: Fix and re-enable psq_l for W=1
  • Loading branch information
Tilka committed Nov 13, 2013
1 parent 6054129 commit 22b47d5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStorePaired.cpp
Expand Up @@ -122,12 +122,6 @@ void Jit64::psq_l(UGeckoInstruction inst)

const UGQR gqr(rSPR(SPR_GQR0 + inst.I));

if (inst.W) {
// PanicAlert("Single ps load: %i %i", gqr.ST_TYPE, gqr.ST_SCALE);
Default(inst);
return;
}

bool update = inst.OPCD == 57;
int offset = inst.SIMM_12;

Expand All @@ -143,6 +137,8 @@ void Jit64::psq_l(UGeckoInstruction inst)
MOV(32, gpr.R(inst.RA), R(ECX));
MOVZX(32, 16, EAX, M(((char *)&GQR(inst.I)) + 2));
MOVZX(32, 8, EDX, R(AL));
if (inst.W)
OR(32, R(EDX), Imm8(8));
#ifdef _M_IX86
int addr_scale = SCALE_4;
#else
Expand Down

0 comments on commit 22b47d5

Please sign in to comment.