Lines Matching refs:TMP_REG2
41 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
47 #define RETURN_ADDR_REG TMP_REG2
857 FAIL_IF(load_immediate(compiler, TMP_REG2, local_size, TMP_REG3)); in emit_stack_frame_release()
858 FAIL_IF(push_inst(compiler, ADD | RD(SLJIT_SP) | RS1(SLJIT_SP) | RS2(TMP_REG2))); in emit_stack_frame_release()
1035 sljit_s32 tmp_r = (flags & MEM_USE_TMP2) ? TMP_REG2 : TMP_REG1; in getput_arg()
1181 if (src != TMP_REG2) in emit_clz_ctz()
1182 FAIL_IF(push_inst(compiler, ADDI | WORD | RD(TMP_REG2) | RS1(src) | IMM_I(0))); in emit_clz_ctz()
1184 …FAIL_IF(push_inst(compiler, BEQ | RS1(TMP_REG2) | RS2(TMP_ZERO) | ((sljit_ins)((is_clz ? 4 : 5) * … in emit_clz_ctz()
1188 FAIL_IF(push_inst(compiler, ANDI | RD(TMP_REG1) | RS1(TMP_REG2) | IMM_I(1))); in emit_clz_ctz()
1191 …FAIL_IF(push_inst(compiler, BLT | RS1(TMP_REG2) | RS2(TMP_ZERO) | ((sljit_ins)(2 * SSIZE_OF(ins)) … in emit_clz_ctz()
1196 FAIL_IF(push_inst(compiler, ADDI | WORD | RD(EQUAL_FLAG) | RS1(TMP_REG2) | IMM_I(0))); in emit_clz_ctz()
1199 …FAIL_IF(push_inst(compiler, (is_clz ? SRL : SLL) | WORD | RD(TMP_REG2) | RS1(EQUAL_FLAG) | RS2(TMP… in emit_clz_ctz()
1200 …FAIL_IF(push_inst(compiler, BNE | RS1(TMP_REG2) | RS2(TMP_ZERO) | ((sljit_ins)0xfe000e80 - ((2 * S… in emit_clz_ctz()
1201 FAIL_IF(push_inst(compiler, ADDI | WORD | RD(TMP_REG2) | RS1(TMP_REG1) | IMM_I(-1))); in emit_clz_ctz()
1202 …F(push_inst(compiler, (is_clz ? SRL : SLL) | WORD | RD(TMP_REG2) | RS1(EQUAL_FLAG) | RS2(TMP_REG2)… in emit_clz_ctz()
1204 …FAIL_IF(push_inst(compiler, BEQ | RS1(TMP_REG2) | RS2(TMP_ZERO) | ((sljit_ins)0xfe000e80 - ((5 * S… in emit_clz_ctz()
1378 if (dst == TMP_REG2) in emit_single_op()
1482 FAIL_IF(push_inst(compiler, ADDI | RD(TMP_REG2) | RS1(TMP_ZERO) | IMM_I(src2))); in emit_single_op()
1483 src2 = TMP_REG2; in emit_single_op()
1504 reg = (src1 == TMP_REG1) ? TMP_REG2 : TMP_REG1; in emit_single_op()
1587 FAIL_IF(push_inst(compiler, ADDI | RD(TMP_REG2) | RS1(TMP_ZERO) | IMM_I(src2))); in emit_single_op()
1588 src2 = TMP_REG2; in emit_single_op()
1731 sljit_s32 dst_r = TMP_REG2; in emit_op()
1734 …t_s32 src2_tmp_reg = (GET_OPCODE(op) >= SLJIT_OP2_BASE && FAST_IS_REG(src1)) ? TMP_REG1 : TMP_REG2; in emit_op()
1744 dst = TMP_REG2; in emit_op()
1821 SLJIT_ASSERT(src2_r == TMP_REG2); in emit_op()
1824 … FAIL_IF(getput_arg(compiler, flags | LOAD_DATA | MEM_USE_TMP2, TMP_REG2, src2, src2w, dst, dstw)); in emit_op()
1826 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, TMP_REG2, src2, src2w, src1, src1w)); in emit_op()
2055 …FAIL_IF(sljit_emit_op2(compiler, SLJIT_MUL | (op & SLJIT_32), TMP_REG2, 0, src1, src1w, src2, src2… in sljit_emit_op2r()
2056 return push_inst(compiler, ADD | WORD | RD(dst_reg) | RS1(dst_reg) | RS2(TMP_REG2)); in sljit_emit_op2r()
2115 FAIL_IF(emit_op_mem(compiler, inp_flags, TMP_REG2, src3, src3w)); in sljit_emit_shift_into()
2116 src3 = TMP_REG2; in sljit_emit_shift_into()
2118 push_inst(compiler, ADDI | WORD | RD(TMP_REG2) | RS1(src3) | IMM_I(0)); in sljit_emit_shift_into()
2119 src3 = TMP_REG2; in sljit_emit_shift_into()
2136 FAIL_IF(push_inst(compiler, XORI | RD(TMP_REG2) | RS1(src3) | IMM_I((sljit_ins)bit_length - 1))); in sljit_emit_shift_into()
2139 FAIL_IF(push_inst(compiler, SUB | WORD | RD(TMP_REG2) | RS1(TMP_ZERO) | RS2(src3))); in sljit_emit_shift_into()
2141 FAIL_IF(push_inst(compiler, ins3 | WORD | RD(TMP_REG1) | RS1(src2_reg) | RS2(TMP_REG2))); in sljit_emit_shift_into()
2186 SLJIT_ASSERT(RETURN_ADDR_REG == TMP_REG2); in sljit_emit_op_dst()
2189 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_op_dst()
2195 return emit_op_mem(compiler, WORD_DATA, TMP_REG2, dst, dstw); in sljit_emit_op_dst()
2240 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_fop1_conv_sw_from_f64()
2252 return emit_op_mem2(compiler, WORD_DATA, TMP_REG2, dst, dstw, 0, 0); in sljit_emit_fop1_conv_sw_from_f64()
2254 return emit_op_mem2(compiler, flags ? WORD_DATA : INT_DATA, TMP_REG2, dst, dstw, 0, 0); in sljit_emit_fop1_conv_sw_from_f64()
2669 sljit_s32 src2_tmp_reg = FAST_IS_REG(src1) ? TMP_REG1 : TMP_REG2; in sljit_emit_cmp()
2837 dst_r = (op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2; in sljit_emit_op_flags()
3082 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
3086 PTR_FAIL_IF(emit_op_mem(compiler, WORD_DATA, TMP_REG2, dst, dstw)); in sljit_emit_const()
3104 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_mov_addr()
3113 PTR_FAIL_IF(emit_op_mem(compiler, WORD_DATA, TMP_REG2, dst, dstw)); in sljit_emit_mov_addr()