• Home
  • Raw
  • Download

Lines Matching refs:TMP_REG1

37 #define TMP_REG1	(SLJIT_NUMBER_OF_REGISTERS + 2)  macro
533 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
534 arg1 = TMP_REG1; in emit_op_imm()
552 SLJIT_ASSERT(!(flags & SET_FLAGS) && (flags & ARG2_IMM) && arg1 == TMP_REG1); in emit_op_imm()
655 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
656 arg1 = TMP_REG1; in emit_op_imm()
667 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
673 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
677 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
683 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
687 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
693 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
699 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
704 SLJIT_ASSERT(arg1 == TMP_REG1); in emit_op_imm()
708 SLJIT_ASSERT(arg1 == TMP_REG1); in emit_op_imm()
713 SLJIT_ASSERT(arg1 == TMP_REG1); in emit_op_imm()
1231 FAIL_IF(push_inst(compiler, ORR | RD(TMP_REG1) | RN(TMP_ZERO) | RM(SLJIT_R0))); in sljit_emit_op0()
1233 …return push_inst(compiler, (op == SLJIT_SMUL ? SMULH : UMULH) | RD(SLJIT_R1) | RN(TMP_REG1) | RM(S… in sljit_emit_op0()
1236 FAIL_IF(push_inst(compiler, (ORR ^ inv_bits) | RD(TMP_REG1) | RN(TMP_ZERO) | RM(SLJIT_R0))); in sljit_emit_op0()
1239 return push_inst(compiler, (SUB ^ inv_bits) | RD(SLJIT_R1) | RN(TMP_REG1) | RM(SLJIT_R1)); in sljit_emit_op0()
1260 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op1()
1340 FAIL_IF(emit_op_imm(compiler, SLJIT_MOV | ARG2_IMM, dst_r, TMP_REG1, srcw)); in sljit_emit_op1()
1347 if (dst_r != TMP_REG1) in sljit_emit_op1()
1348 … return emit_op_imm(compiler, op | ((op_flags & SLJIT_INT_OP) ? INT_OP : 0), dst_r, TMP_REG1, src); in sljit_emit_op1()
1386 emit_op_imm(compiler, flags | op, dst_r, TMP_REG1, srcw); in sljit_emit_op1()
1413 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op2()
1424 …if ((dst & SLJIT_MEM) && !getput_arg_fast(compiler, mem_flags | STORE | ARG_TEST, TMP_REG1, dst, d… in sljit_emit_op2()
1428 if (getput_arg_fast(compiler, mem_flags, TMP_REG1, src1, src1w)) in sljit_emit_op2()
1443 FAIL_IF(getput_arg(compiler, mem_flags, TMP_REG1, src1, src1w, dst, dstw)); in sljit_emit_op2()
1446 FAIL_IF(getput_arg(compiler, mem_flags, TMP_REG1, src1, src1w, src2, src2w)); in sljit_emit_op2()
1451 FAIL_IF(getput_arg(compiler, mem_flags, TMP_REG1, src1, src1w, dst, dstw)); in sljit_emit_op2()
1456 src1 = TMP_REG1; in sljit_emit_op2()
1476 return getput_arg(compiler, mem_flags | STORE, TMP_REG1, dst, dstw, 0, 0); in sljit_emit_op2()
1537 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RN(arg) | RM(other_r) | (argw << 10))); in emit_fop_mem()
1538 arg = TMP_REG1; in emit_fop_mem()
1575 sljit_si dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_fop1_convw_fromd()
1588 if (dst_r == TMP_REG1 && dst != SLJIT_UNUSED) in sljit_emit_fop1_convw_fromd()
1589 …iler, ((GET_OPCODE(op) == SLJIT_CONVI_FROMD) ? INT_SIZE : WORD_SIZE) | STORE, TMP_REG1, dst, dstw); in sljit_emit_fop1_convw_fromd()
1604 …emit_op_mem(compiler, ((GET_OPCODE(op) == SLJIT_CONVD_FROMI) ? INT_SIZE : WORD_SIZE), TMP_REG1, sr… in sljit_emit_fop1_convd_fromw()
1605 src = TMP_REG1; in sljit_emit_fop1_convd_fromw()
1611 FAIL_IF(load_immediate(compiler, TMP_REG1, srcw)); in sljit_emit_fop1_convd_fromw()
1612 src = TMP_REG1; in sljit_emit_fop1_convd_fromw()
1867 PTR_FAIL_IF(emit_imm64_const(compiler, TMP_REG1, 0)); in sljit_emit_jump()
1869 PTR_FAIL_IF(push_inst(compiler, ((type >= SLJIT_FAST_CALL) ? BLR : BR) | RN(TMP_REG1))); in sljit_emit_jump()
1889 PTR_FAIL_IF(emit_op_mem(compiler, inv_bits ? INT_SIZE : WORD_SIZE, TMP_REG1, src, srcw)); in emit_cmp_to0()
1890 src = TMP_REG1; in emit_cmp_to0()
1893 PTR_FAIL_IF(load_immediate(compiler, TMP_REG1, srcw)); in emit_cmp_to0()
1894 src = TMP_REG1; in emit_cmp_to0()
1902 PTR_FAIL_IF(emit_imm64_const(compiler, TMP_REG1, 0)); in emit_cmp_to0()
1904 PTR_FAIL_IF(push_inst(compiler, BR | RN(TMP_REG1))); in emit_cmp_to0()
1919 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG1, src, srcw)); in sljit_emit_ijump()
1920 src = TMP_REG1; in sljit_emit_ijump()
1930 FAIL_IF(emit_imm64_const(compiler, TMP_REG1, 0)); in sljit_emit_ijump()
1932 return push_inst(compiler, ((type >= SLJIT_FAST_CALL) ? BLR : BR) | RN(TMP_REG1)); in sljit_emit_ijump()
1952 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_op_flags()
1956 if (dst_r != TMP_REG1) in sljit_emit_op_flags()
1958 …p_mem(compiler, (GET_OPCODE(op) == SLJIT_MOV ? WORD_SIZE : INT_SIZE) | STORE, TMP_REG1, dst, dstw); in sljit_emit_op_flags()
1971 FAIL_IF(emit_op_mem2(compiler, mem_flags, TMP_REG1, src, srcw, dst, dstw)); in sljit_emit_op_flags()
1972 src = TMP_REG1; in sljit_emit_op_flags()
1980 if (dst_r != TMP_REG1) in sljit_emit_op_flags()
1982 return emit_op_mem2(compiler, mem_flags | STORE, TMP_REG1, dst, dstw, 0, 0); in sljit_emit_op_flags()
1998 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_const()