X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=ir.c;h=f0274e11bb5795a1deb26b879f060b448f34c5de;hb=14ef6a1c4221115d1d3970d84d1565927aeffb0a;hp=f33e48c54ee64d601cdbbb9f17eb1cc0c48eb126;hpb=353455e1adbe364c76823454f5b0cd442e199d96;p=xonotic%2Fgmqcc.git diff --git a/ir.c b/ir.c index f33e48c..f0274e1 100644 --- a/ir.c +++ b/ir.c @@ -613,7 +613,7 @@ static bool instr_is_operation(uint16_t op) (op >= INSTR_NOT_F && op <= INSTR_NOT_FNC) || (op >= INSTR_AND && op <= INSTR_BITOR) || (op >= INSTR_CALL0 && op <= INSTR_CALL8) || - (op >= VINSTR_BITAND_V && op <= VINSTR_CROSS) ); + (op >= VINSTR_BITAND_V && op <= VINSTR_NEG_V) ); } static bool ir_function_pass_peephole(ir_function *self) @@ -3999,6 +3999,8 @@ static const char *qc_opname(int op) case VINSTR_BITOR_VF: return "BITOR_VF"; case VINSTR_BITXOR_VF: return "BITXOR_VF"; case VINSTR_CROSS: return "CROSS"; + case VINSTR_NEG_F: return "NEG_F"; + case VINSTR_NEG_V: return "NEG_V"; default: return ""; } }