Lines Matching refs:TMP_REG1
94 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
101 #define TMP_CALL_REG TMP_REG1
280 #define LWBRX_FIRST_REG S(TMP_REG1)
286 #define LWBRX_SECOND_REG S(TMP_REG1)
883 base = TMP_REG1; in sljit_emit_enter()
884 FAIL_IF(push_inst(compiler, OR | S(SLJIT_SP) | A(TMP_REG1) | B(SLJIT_SP))); in sljit_emit_enter()
1305 …gs & ALT_SIGN_EXT) && GET_OPCODE(op) >= SLJIT_OP2_BASE && FAST_IS_REG(src1)) ? TMP_REG1 : TMP_REG2; in emit_op()
1333 FAIL_IF(emit_op_mem(compiler, input_flags | LOAD_DATA, src2_tmp_reg, src2, src2w, TMP_REG1)); in emit_op()
1344 FAIL_IF(load_immediate(compiler, TMP_REG1, src1w)); in emit_op()
1345 src1_r = TMP_REG1; in emit_op()
1348 FAIL_IF(emit_op_mem(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w, TMP_REG1)); in emit_op()
1349 src1_r = TMP_REG1; in emit_op()
1357 return emit_op_mem(compiler, input_flags, dst_r, dst, dstw, TMP_REG1); in emit_op()
1376 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R0))); in sljit_emit_op0()
1378 FAIL_IF(push_inst(compiler, MULLD | D(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R1))); in sljit_emit_op0()
1379 …return push_inst(compiler, (op == SLJIT_LMUL_UW ? MULHDU : MULHD) | D(SLJIT_R1) | A(TMP_REG1) | B(… in sljit_emit_op0()
1381 FAIL_IF(push_inst(compiler, MULLW | D(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R1))); in sljit_emit_op0()
1382 …return push_inst(compiler, (op == SLJIT_LMUL_UW ? MULHWU : MULHW) | D(SLJIT_R1) | A(TMP_REG1) | B(… in sljit_emit_op0()
1386 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R0))); in sljit_emit_op0()
1394 return push_inst(compiler, SUBF | D(SLJIT_R1) | A(SLJIT_R1) | B(TMP_REG1)); in sljit_emit_op0()
1444 FAIL_IF(push_inst(compiler, RLDICL | S(src) | A(TMP_REG1) | RLDI_SH(32) | RLDI_MB(32))); in emit_rev()
1447 FAIL_IF(push_inst(compiler, STWBRX | S(TMP_REG1) | A(SLJIT_SP) | B(TMP_REG2))); in emit_rev()
1482 FAIL_IF(emit_op_mem(compiler, inp_flags, TMP_REG1, src, srcw, TMP_REG2)); in emit_rev()
1483 src = TMP_REG1; in emit_rev()
1529 FAIL_IF(push_inst(compiler, RLDICL | S(src) | A(TMP_REG1) | RLDI_SH(32) | RLDI_MB(32))); in emit_rev()
1530 FAIL_IF(push_inst(compiler, STWBRX | S(TMP_REG1) | A(mem) | B(offs_reg))); in emit_rev()
1535 FAIL_IF(push_inst(compiler, RLDICL | S(src) | A(TMP_REG1) | RLDI_SH(32) | RLDI_MB(32))); in emit_rev()
1537 return push_inst(compiler, STWBRX | S(TMP_REG1) | A(mem) | B(TMP_REG2)); in emit_rev()
1547 return push_inst(compiler, RLDIMI | S(TMP_REG1) | A(dst) | RLDI_SH(32) | RLDI_MB(0)); in emit_rev()
1564 …emit_op(compiler, (src == SLJIT_IMM) ? SLJIT_MOV : type, flags | (type_flags), dst, dstw, TMP_REG1…
1617 return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1646 return emit_op(compiler, op, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1805 if (dst == TMP_REG1) { in sljit_emit_op2()
1820 if (dst == TMP_REG1 && GET_FLAG_TYPE(op) <= SLJIT_SIG_LESS_EQUAL) { in sljit_emit_op2()
1889 return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM4, dst, dstw, TMP_REG1, 0, src1, src1w); in sljit_emit_op2()
1892 return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM4, dst, dstw, TMP_REG1, 0, src2, src2w); in sljit_emit_op2()
1959 return sljit_emit_op2(compiler, op, TMP_REG1, 0, src1, src1w, src2, src2w); in sljit_emit_op2u()
2026 …FAIL_IF(push_inst(compiler, RLDICL | S(src2_reg) | A(TMP_REG1) | RLDI_SH(src3w) | RLDI_MB(64 - src… in sljit_emit_shift_into()
2027 return push_inst(compiler, OR | S(dst_reg) | A(dst_reg) | B(TMP_REG1)); in sljit_emit_shift_into()
2053 FAIL_IF(push_inst(compiler, (is_right ? SLDI(1) : SRDI(1)) | S(src2_reg) | A(TMP_REG1))); in sljit_emit_shift_into()
2055 FAIL_IF(push_inst(compiler, (is_right ? SLD : SRD) | S(TMP_REG1) | A(TMP_REG1) | B(TMP_REG2))); in sljit_emit_shift_into()
2056 return push_inst(compiler, OR | S(dst_reg) | A(dst_reg) | B(TMP_REG1)); in sljit_emit_shift_into()
2066 FAIL_IF(push_inst(compiler, (is_right ? SLWI(1) : SRWI(1)) | S(src2_reg) | A(TMP_REG1))); in sljit_emit_shift_into()
2068 FAIL_IF(push_inst(compiler, (is_right ? SLW : SRW) | S(TMP_REG1) | A(TMP_REG1) | B(TMP_REG2))); in sljit_emit_shift_into()
2069 return push_inst(compiler, OR | S(dst_reg) | A(dst_reg) | B(TMP_REG1)); in sljit_emit_shift_into()
2079 FAIL_IF(load_immediate(compiler, TMP_REG1, srcw)); in emit_prefetch()
2081 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(TMP_REG1)); in emit_prefetch()
2089 FAIL_IF(push_inst(compiler, SLWI_W(srcw) | S(OFFS_REG(src)) | A(TMP_REG1))); in emit_prefetch()
2090 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(TMP_REG1)); in emit_prefetch()
2136 FAIL_IF(push_inst(compiler, MFLR | D(TMP_REG1))); in sljit_emit_op_dst()
2139 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_dst()
2145 return emit_op_mem(compiler, WORD_DATA, TMP_REG1, dst, dstw, TMP_REG2); in sljit_emit_op_dst()
2186 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG1, src, srcw, TMP_REG1)); in sljit_emit_fop1_conv_sw_from_f64()
2199 return emit_op_mem(compiler, DOUBLE_DATA, TMP_FREG1, dst, dstw, TMP_REG1); in sljit_emit_fop1_conv_sw_from_f64()
2206 FAIL_IF(load_immediate(compiler, TMP_REG1, TMP_MEM_OFFSET)); in sljit_emit_fop1_conv_sw_from_f64()
2207 FAIL_IF(push_inst(compiler, STFIWX | FS(TMP_FREG1) | A(SLJIT_SP) | B(TMP_REG1))); in sljit_emit_fop1_conv_sw_from_f64()
2216 FAIL_IF(push_inst(compiler, SLWI_W(dstw) | S(OFFS_REG(dst)) | A(TMP_REG1))); in sljit_emit_fop1_conv_sw_from_f64()
2217 dstw = TMP_REG1; in sljit_emit_fop1_conv_sw_from_f64()
2227 FAIL_IF(load_immediate(compiler, TMP_REG1, dstw)); in sljit_emit_fop1_conv_sw_from_f64()
2228 dstw = TMP_REG1; in sljit_emit_fop1_conv_sw_from_f64()
2240 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG1, src1, src1w, TMP_REG1)); in sljit_emit_fop1_cmp()
2280 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, dst_r, src, srcw, TMP_REG1)); in sljit_emit_fop1()
2309 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op), dst_r, dst, dstw, TMP_REG1)); in sljit_emit_fop1()
2329 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG1, src1, src1w, TMP_REG1)); in sljit_emit_fop2()
2334 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, TMP_REG1)); in sljit_emit_fop2()
2354 …FAIL_IF(push_inst(compiler, LWZ | S(TMP_REG1) | A(SLJIT_SP) | ((op & SLJIT_32) ? TMP_MEM_OFFSET : … in sljit_emit_fop2()
2356 …FAIL_IF(push_inst(compiler, ((op & SLJIT_32) ? LWZ : LD) | S(TMP_REG1) | A(SLJIT_SP) | TMP_MEM_OFF… in sljit_emit_fop2()
2360 FAIL_IF(push_inst(compiler, CMPI | CRD(0) | A(TMP_REG1) | 0)); in sljit_emit_fop2()
2362 FAIL_IF(push_inst(compiler, CMPI | CRD(0 | ((op & SLJIT_32) ? 0 : 1)) | A(TMP_REG1) | 0)); in sljit_emit_fop2()
2369 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op), TMP_FREG2, dst, dstw, TMP_REG1)); in sljit_emit_fop2()
2390 FAIL_IF(load_immediate(compiler, TMP_REG1, u.imm)); in sljit_emit_fset32()
2392 …FAIL_IF(push_inst(compiler, STW | S(u.imm != 0 ? TMP_REG1 : TMP_ZERO) | A(SLJIT_SP) | TMP_MEM_OFFS… in sljit_emit_fset32()
2661 FAIL_IF(emit_op_mem(compiler, input_flags | LOAD_DATA, TMP_REG1, dst, dstw, TMP_REG1)); in sljit_emit_op_flags()
2783 return emit_op_mem(compiler, input_flags, reg, dst, dstw, TMP_REG1); in sljit_emit_op_flags()
2789 return sljit_emit_op2(compiler, saved_op, dst, saved_dstw, TMP_REG1, 0, TMP_REG2, 0); in sljit_emit_op_flags()
2818 FAIL_IF(push_inst(compiler, OR | S(dst_reg) | A(TMP_REG1) | B(dst_reg))); in sljit_emit_select()
2821 src1 = (src1 & ~REG_MASK) | TMP_REG1; in sljit_emit_select()
2824 src1 = (src1 & ~OFFS_REG_MASK) | TO_OFFS_REG(TMP_REG1); in sljit_emit_select()
2832 FAIL_IF(push_inst(compiler, ADDE | RC(ALT_SET_FLAGS) | D(TMP_REG1) | A(TMP_ZERO) | B(TMP_ZERO))); in sljit_emit_select()
2841 FAIL_IF(emit_op_mem(compiler, inp_flags, dst_reg, src1, src1w, TMP_REG1)); in sljit_emit_select()
2878 FAIL_IF(push_inst(compiler, ADDE | RC(ALT_SET_FLAGS) | D(TMP_REG1) | A(TMP_ZERO) | B(TMP_ZERO))); in sljit_emit_fselect()
2887 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(type) | LOAD_DATA, dst_freg, src1, src1w, TMP_REG1)); in sljit_emit_fselect()
2929 FAIL_IF(push_inst(compiler, SLWI_W(memw) | S(OFFS_REG(mem)) | A(TMP_REG1))); in sljit_emit_mem()
2930 FAIL_IF(push_inst(compiler, ADD | D(TMP_REG1) | A(TMP_REG1) | B(mem & REG_MASK))); in sljit_emit_mem()
2932 FAIL_IF(push_inst(compiler, ADD | D(TMP_REG1) | A(mem & REG_MASK) | B(OFFS_REG(mem)))); in sljit_emit_mem()
2934 mem = TMP_REG1; in sljit_emit_mem()
2940 FAIL_IF(sljit_emit_op2(compiler, SLJIT_ADD, TMP_REG1, 0, mem & REG_MASK, 0, SLJIT_IMM, memw)); in sljit_emit_mem()
2942 FAIL_IF(load_immediate(compiler, TMP_REG1, memw)); in sljit_emit_mem()
2945 mem = TMP_REG1; in sljit_emit_mem()
2947 …FAIL_IF(push_inst(compiler, ADDIS | D(TMP_REG1) | A(mem & REG_MASK) | IMM((memw + 0x8000) >> 16))); in sljit_emit_mem()
2950 mem = TMP_REG1; in sljit_emit_mem()
3126 PTR_FAIL_IF(emit_op_mem(compiler, WORD_DATA, dst_r, dst, dstw, TMP_REG1)); in sljit_emit_const()
3153 PTR_FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, dst, dstw, TMP_REG1, 0, TMP_REG2, 0)); in sljit_emit_mov_addr()