From: Wolfgang (Blub) Bumiller Date: Sun, 19 Aug 2012 15:46:10 +0000 (+0200) Subject: STOREP instructions' first operand has to be considered a read-operand, not a write... X-Git-Tag: 0.1-rc1~161 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=387335bb4dc49892ffbabd4407342b3181b5b936;p=xonotic%2Fgmqcc.git STOREP instructions' first operand has to be considered a read-operand, not a write operand, otherwise the life ranges will be wrong, and the value itself IS only read, not written to --- diff --git a/ir.c b/ir.c index cc0aa10..2adaa72 100644 --- a/ir.c +++ b/ir.c @@ -1947,6 +1947,15 @@ static void ir_op_read_write(int op, size_t *read, size_t *write) *write = 0; *read = 1; break; + case INSTR_STOREP_F: + case INSTR_STOREP_V: + case INSTR_STOREP_S: + case INSTR_STOREP_ENT: + case INSTR_STOREP_FLD: + case INSTR_STOREP_FNC: + *write = 0; + *read = 7; + break; default: *write = 1; *read = 6;