From: Rudolf Polzer Date: Mon, 26 Aug 2013 09:13:25 +0000 (+0200) Subject: oops, these are operations too X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0a8d12eb76003b3ffbbe4c13719ee6569e03ba0e;p=xonotic%2Fgmqcc.git oops, these are operations too --- diff --git a/ir.c b/ir.c index 2fb4e0c..94f49c2 100644 --- a/ir.c +++ b/ir.c @@ -612,7 +612,11 @@ static bool instr_is_operation(uint16_t op) (op == INSTR_ADDRESS) || (op >= INSTR_NOT_F && op <= INSTR_NOT_FNC) || (op >= INSTR_AND && op <= INSTR_BITOR) || - (op >= INSTR_CALL0 && op <= INSTR_CALL8) ); + (op >= INSTR_CALL0 && op <= INSTR_CALL8) || + (op == VINSTR_BITAND_VV) || + (op == VINSTR_BITAND_VF) || + (op == VINSTR_BITOR_VV) || + (op == VINSTR_BITOR_VF)); } static bool ir_function_pass_peephole(ir_function *self)