Lines Matching refs:TMP_REG2
82 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
1199 FAIL_IF(load_immediate(compiler, DR(TMP_REG2), local_size - tmp)); in emit_stack_frame_release()
1200 FAIL_IF(push_inst(compiler, ADDU_W | S(SLJIT_SP) | T(TMP_REG2) | D(SLJIT_SP), DR(SLJIT_SP))); in emit_stack_frame_release()
1558 if (src != TMP_REG2) in emit_clz_ctz()
1559 FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(src) | TA(0) | D(TMP_REG2), DR(TMP_REG2))); in emit_clz_ctz()
1561 FAIL_IF(push_inst(compiler, BEQ | S(TMP_REG2) | TA(0) | IMM(is_clz ? 13 : 14), UNMOVABLE_INS)); in emit_clz_ctz()
1566 FAIL_IF(push_inst(compiler, ANDI | S(TMP_REG2) | T(TMP_REG1) | IMM(1), DR(TMP_REG1))); in emit_clz_ctz()
1569 FAIL_IF(push_inst(compiler, BLTZ | S(TMP_REG2) | TA(0) | IMM(11), UNMOVABLE_INS)); in emit_clz_ctz()
1577 …FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(TMP_REG2) | TA(0) | DA(EQUAL_FLAG), EQUAL_F… in emit_clz_ctz()
1580 …SRLV, SRLV) : SELECT_OP(DSLLV, SLLV)) | S(TMP_REG1) | TA(EQUAL_FLAG) | D(TMP_REG2), DR(TMP_REG2))); in emit_clz_ctz()
1581 FAIL_IF(push_inst(compiler, BNE | S(TMP_REG2) | TA(0) | IMM(-4), UNMOVABLE_INS)); in emit_clz_ctz()
1585 …push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | S(TMP_REG1) | T(TMP_REG2) | IMM(-1), DR(TMP_REG2))); in emit_clz_ctz()
1586 …ECT_OP(DSRLV, SRLV) : SELECT_OP(DSLLV, SLLV)) | S(TMP_REG2) | TA(EQUAL_FLAG) | D(TMP_REG2), DR(TMP… in emit_clz_ctz()
1588 FAIL_IF(push_inst(compiler, BEQ | S(TMP_REG2) | TA(0) | IMM(-7), UNMOVABLE_INS)); in emit_clz_ctz()
1610 if (op != SLJIT_REV && src != TMP_REG2) { in emit_rev()
1618 if (op == SLJIT_REV_U32 && dst != TMP_REG2 && dst != TMP_REG3) in emit_rev()
1646 if (op != SLJIT_REV && src != TMP_REG2) { in emit_rev()
1647 FAIL_IF(push_inst(compiler, SLL | T(src) | D(TMP_REG2) | SH_IMM(0), DR(TMP_REG2))); in emit_rev()
1648 src = TMP_REG2; in emit_rev()
1665 if (op == SLJIT_REV_U32 && dst != TMP_REG2 && dst != TMP_REG3) { in emit_rev()
1928 FAIL_IF(push_inst(compiler, ADDIU | SA(0) | T(TMP_REG2) | IMM(src2), DR(TMP_REG2))); in emit_single_op()
1929 src2 = TMP_REG2; in emit_single_op()
1950 reg = (src1 == TMP_REG1) ? TMP_REG2 : TMP_REG1; in emit_single_op()
2033 FAIL_IF(push_inst(compiler, ADDIU | SA(0) | T(TMP_REG2) | IMM(src2), DR(TMP_REG2))); in emit_single_op()
2034 src2 = TMP_REG2; in emit_single_op()
2139 …FAIL_IF(push_inst(compiler, SELECT_OP(DSUBU, SUBU) | SA(0) | T(src2) | D(TMP_REG2), DR(TMP_REG2))); in emit_single_op()
2140 src2 = TMP_REG2; in emit_single_op()
2268 sljit_s32 dst_r = TMP_REG2; in emit_op()
2271 …t_s32 src2_tmp_reg = (GET_OPCODE(op) >= SLJIT_OP2_BASE && FAST_IS_REG(src1)) ? TMP_REG1 : TMP_REG2; in emit_op()
2281 dst = TMP_REG2; in emit_op()
2362 SLJIT_ASSERT(src2_r == TMP_REG2); in emit_op()
2364 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, DR(TMP_REG2), src2, src2w, src1, src1w)); in emit_op()
2369 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, DR(TMP_REG2), src2, src2w, dst, dstw)); in emit_op()
2662 …FAIL_IF(sljit_emit_op2(compiler, SLJIT_MUL | (op & SLJIT_32), TMP_REG2, 0, src1, src1w, src2, src2… in sljit_emit_op2r()
2663 …return push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(dst_reg) | T(TMP_REG2) | D(dst_reg), DR(dst_… in sljit_emit_op2r()
2719 FAIL_IF(emit_op_mem(compiler, inp_flags, DR(TMP_REG2), src3, src3w)); in sljit_emit_shift_into()
2720 src3 = TMP_REG2; in sljit_emit_shift_into()
2722 …FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(src3) | TA(0) | D(TMP_REG2), DR(TMP_REG2))); in sljit_emit_shift_into()
2723 src3 = TMP_REG2; in sljit_emit_shift_into()
2740 …FAIL_IF(push_inst(compiler, XORI | S(src3) | T(TMP_REG2) | ((sljit_ins)bit_length - 1), DR(TMP_REG… in sljit_emit_shift_into()
2743 …FAIL_IF(push_inst(compiler, SELECT_OP(DSUBU, SUBU) | SA(0) | T(src3) | D(TMP_REG2), DR(TMP_REG2))); in sljit_emit_shift_into()
2745 FAIL_IF(push_inst(compiler, ins3 | S(TMP_REG2) | T(src2_reg) | D(TMP_REG1), DR(TMP_REG1))); in sljit_emit_shift_into()
2798 dst_ar = DR(FAST_IS_REG(dst) ? dst : TMP_REG2); in sljit_emit_op_dst()
2951 FAIL_IF(push_inst(compiler, SLL | T(src) | D(TMP_REG2) | SH_IMM(1), DR(TMP_REG2))); in sljit_emit_fop1_conv_f64_from_uw()
2952 FAIL_IF(push_inst(compiler, SRL | T(TMP_REG2) | D(TMP_REG2) | SH_IMM(1), DR(TMP_REG2))); in sljit_emit_fop1_conv_f64_from_uw()
2954 FAIL_IF(push_inst(compiler, MTC1 | flags | T(TMP_REG2) | FS(TMP_FREG1), MOVABLE_INS)); in sljit_emit_fop1_conv_f64_from_uw()
2967 FAIL_IF(push_inst(compiler, LUI | T(TMP_REG2) | IMM(0x41e0), UNMOVABLE_INS)); in sljit_emit_fop1_conv_f64_from_uw()
2972 FAIL_IF(push_inst(compiler, MTHC1 | T(TMP_REG2) | FS(TMP_FREG2), UNMOVABLE_INS)); in sljit_emit_fop1_conv_f64_from_uw()
2976 FAIL_IF(push_inst(compiler, MTC1 | T(TMP_REG2) | FS(TMP_FREG2) | (1 << 11), UNMOVABLE_INS)); in sljit_emit_fop1_conv_f64_from_uw()
2995 FAIL_IF(push_inst(compiler, ANDI | S(src) | T(TMP_REG2) | IMM(1), DR(TMP_REG2))); in sljit_emit_fop1_conv_f64_from_uw()
3016 FAIL_IF(push_inst(compiler, OR | S(TMP_REG1) | T(TMP_REG2) | D(TMP_REG1), DR(TMP_REG1))); in sljit_emit_fop1_conv_f64_from_uw()
3408 sljit_s32 src2_tmp_reg = FAST_IS_REG(src1) ? TMP_REG1 : TMP_REG2; in sljit_emit_cmp()
3599 dst_ar = DR((op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2); in sljit_emit_op_flags()
3671 if (DR(TMP_REG2) != src_ar) in sljit_emit_op_flags()
3672 FAIL_IF(push_inst(compiler, ADDU_W | SA(src_ar) | TA(0) | D(TMP_REG2), DR(TMP_REG2))); in sljit_emit_op_flags()
3677 return emit_op(compiler, saved_op, mem_type, dst, dstw, TMP_REG1, 0, TMP_REG2, 0); in sljit_emit_op_flags()
3678 return emit_op(compiler, saved_op, mem_type, dst, dstw, dst, dstw, TMP_REG2, 0); in sljit_emit_op_flags()
4023 SLJIT_ASSERT(FAST_IS_REG(mem) && mem != TMP_REG2); in sljit_emit_mem()
4026 FAIL_IF(push_inst(compiler, SRA_W | T(reg) | D(TMP_REG2) | SH_IMM(8), DR(TMP_REG2))); in sljit_emit_mem()
4027 …FAIL_IF(push_inst(compiler, data_transfer_insts[BYTE_DATA] | S(mem) | T(TMP_REG2) | IMM_16_FIRST(m… in sljit_emit_mem()
4036 …inst(compiler, data_transfer_insts[flags] | S(mem) | T(TMP_REG2) | IMM_16_FIRST(memw), DR(TMP_REG2… in sljit_emit_mem()
4038 FAIL_IF(push_inst(compiler, SLL_W | T(TMP_REG2) | D(TMP_REG2) | SH_IMM(8), DR(TMP_REG2))); in sljit_emit_mem()
4039 return push_inst(compiler, OR | S(reg) | T(TMP_REG2) | D(reg), DR(reg)); in sljit_emit_mem()
4053 SLJIT_ASSERT(FAST_IS_REG(mem) && mem != TMP_REG2); in sljit_emit_mem()
4071 SLJIT_ASSERT(FAST_IS_REG(mem) && mem != TMP_REG2); in sljit_emit_mem()
4112 SLJIT_ASSERT(FAST_IS_REG(mem) && mem != TMP_REG2); in sljit_emit_fmem()
4116 FAIL_IF(push_inst(compiler, MFC1 | T(TMP_REG2) | FS(freg), DR(TMP_REG2))); in sljit_emit_fmem()
4120 FAIL_IF(push_inst(compiler, SWL | S(mem) | T(TMP_REG2) | IMM_32_LEFT(memw), MOVABLE_INS)); in sljit_emit_fmem()
4121 return push_inst(compiler, SWR | S(mem) | T(TMP_REG2) | IMM_32_RIGHT(memw), MOVABLE_INS); in sljit_emit_fmem()
4125 FAIL_IF(push_inst(compiler, MFC1 | T(TMP_REG2) | FS(freg), DR(TMP_REG2))); in sljit_emit_fmem()
4129 FAIL_IF(push_inst(compiler, SWL | S(mem) | T(TMP_REG2) | IMM_F64_FIRST_LEFT(memw), MOVABLE_INS)); in sljit_emit_fmem()
4130 FAIL_IF(push_inst(compiler, SWR | S(mem) | T(TMP_REG2) | IMM_F64_FIRST_RIGHT(memw), MOVABLE_INS)); in sljit_emit_fmem()
4134 FAIL_IF(push_inst(compiler, MFHC1 | T(TMP_REG2) | FS(freg), DR(TMP_REG2))); in sljit_emit_fmem()
4138 FAIL_IF(push_inst(compiler, MFC1 | T(TMP_REG2) | FS(freg) | (1 << 11), DR(TMP_REG2))); in sljit_emit_fmem()
4145 FAIL_IF(push_inst(compiler, SWL | S(mem) | T(TMP_REG2) | IMM_F64_SECOND_LEFT(memw), MOVABLE_INS)); in sljit_emit_fmem()
4146 return push_inst(compiler, SWR | S(mem) | T(TMP_REG2) | IMM_F64_SECOND_RIGHT(memw), MOVABLE_INS); in sljit_emit_fmem()
4148 FAIL_IF(push_inst(compiler, DMFC1 | T(TMP_REG2) | FS(freg), DR(TMP_REG2))); in sljit_emit_fmem()
4152 FAIL_IF(push_inst(compiler, SDL | S(mem) | T(TMP_REG2) | IMM_LEFT(memw), MOVABLE_INS)); in sljit_emit_fmem()
4153 return push_inst(compiler, SDR | S(mem) | T(TMP_REG2) | IMM_RIGHT(memw), MOVABLE_INS); in sljit_emit_fmem()
4158 FAIL_IF(push_inst(compiler, LWL | S(mem) | T(TMP_REG2) | IMM_32_LEFT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4159 FAIL_IF(push_inst(compiler, LWR | S(mem) | T(TMP_REG2) | IMM_32_RIGHT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4161 FAIL_IF(push_inst(compiler, MTC1 | T(TMP_REG2) | FS(freg), MOVABLE_INS)); in sljit_emit_fmem()
4169 FAIL_IF(push_inst(compiler, LWL | S(mem) | T(TMP_REG2) | IMM_F64_FIRST_LEFT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4170 FAIL_IF(push_inst(compiler, LWR | S(mem) | T(TMP_REG2) | IMM_F64_FIRST_RIGHT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4171 FAIL_IF(push_inst(compiler, MTC1 | T(TMP_REG2) | FS(freg), MOVABLE_INS)); in sljit_emit_fmem()
4173 FAIL_IF(push_inst(compiler, LWL | S(mem) | T(TMP_REG2) | IMM_F64_SECOND_LEFT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4174 …FAIL_IF(push_inst(compiler, LWR | S(mem) | T(TMP_REG2) | IMM_F64_SECOND_RIGHT(memw), DR(TMP_REG2))… in sljit_emit_fmem()
4178 return push_inst(compiler, MTHC1 | T(TMP_REG2) | FS(freg), MOVABLE_INS); in sljit_emit_fmem()
4181 FAIL_IF(push_inst(compiler, MTC1 | T(TMP_REG2) | FS(freg) | (1 << 11), MOVABLE_INS)); in sljit_emit_fmem()
4185 FAIL_IF(push_inst(compiler, LDL | S(mem) | T(TMP_REG2) | IMM_LEFT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4186 FAIL_IF(push_inst(compiler, LDR | S(mem) | T(TMP_REG2) | IMM_RIGHT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4188 FAIL_IF(push_inst(compiler, DMTC1 | T(TMP_REG2) | FS(freg), MOVABLE_INS)); in sljit_emit_fmem()
4225 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
4229 PTR_FAIL_IF(emit_op_mem(compiler, WORD_DATA, DR(TMP_REG2), dst, dstw)); in sljit_emit_const()
4247 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_mov_addr()
4256 PTR_FAIL_IF(emit_op_mem(compiler, WORD_DATA, DR(TMP_REG2), dst, dstw)); in sljit_emit_mov_addr()