]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
STOREP also has the destination in OPB rather than OPC
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 11 Aug 2012 16:06:10 +0000 (18:06 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 11 Aug 2012 16:06:10 +0000 (18:06 +0200)
ir.c

diff --git a/ir.c b/ir.c
index 1f3823621c4dca4b1b180bacd909bb80aded0567..7e1f1102f973ad2494d37bea1ff2b377e7bf62da 100644 (file)
--- 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;