From: Wolfgang (Blub) Bumiller Date: Sat, 11 Aug 2012 16:06:10 +0000 (+0200) Subject: STOREP also has the destination in OPB rather than OPC X-Git-Tag: 0.1-rc1~349^2~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fda4687ece1c20d537833ec85469d4274c9350f4;p=xonotic%2Fgmqcc.git STOREP also has the destination in OPB rather than OPC --- diff --git a/ir.c b/ir.c index 1f38236..7e1f110 100644 --- a/ir.c +++ b/ir.c @@ -2364,8 +2364,10 @@ tailcall: stmt.o1.u1 = stmt.o3.u1; stmt.o3.u1 = 0; } - else if (stmt.opcode >= INSTR_STORE_F && - stmt.opcode <= INSTR_STORE_FNC) + else if ((stmt.opcode >= INSTR_STORE_F && + stmt.opcode <= INSTR_STORE_FNC) || + (stmt.opcode >= INSTR_STOREP_F && + stmt.opcode <= INSTR_STOREP_FNC)) { /* 2-operand instructions with A -> B */ stmt.o2.u1 = stmt.o3.u1;