From 3635e7827be1743f2bf7a307225341d9c462a166 Mon Sep 17 00:00:00 2001 From: Marcus Wanners Date: Mon, 16 Mar 2009 19:35:56 +0000 Subject: [PATCH] Fix for IL build, as per jack.frost's patch in issue 620. Feel free to yell at me if it breaks anything. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2669 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/PowerPC/Jit64IL/IR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/PowerPC/Jit64IL/IR.cpp b/Source/Core/Core/Src/PowerPC/Jit64IL/IR.cpp index 47d07d9f31..20765af605 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64IL/IR.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64IL/IR.cpp @@ -326,7 +326,7 @@ InstLoc IRBuilder::FoldUOp(unsigned Opcode, InstLoc Op1, unsigned extra) { if (Opcode == DoubleToSingle) { if (getOpcode(*Op1) == DupSingleToMReg) return getOp1(Op1); - if (getOpcode(*Op1) >= FDMul || getOpcode(*Op1) <= FDSub) { + if (getOpcode(*Op1) >= FDMul && getOpcode(*Op1) <= FDSub) { InstLoc OOp1 = getOp1(Op1), OOp2 = getOp2(Op1); if (getOpcode(*OOp1) == DupSingleToMReg && getOpcode(*OOp2) == DupSingleToMReg) {