Lines Matching refs:TMP_REG2

41 #define TMP_REG2	(SLJIT_NUMBER_OF_REGISTERS + 3)  macro
823 SLJIT_ASSERT(!(flags & SET_FLAGS) && (flags & ARG2_IMM) && arg1 == TMP_REG2); in emit_op_imm()
997 arg2 = (arg1 == TMP_REG1) ? TMP_REG2 : TMP_REG1; in emit_op_imm()
1001 arg1 = (arg2 == TMP_REG1) ? TMP_REG2 : TMP_REG1; in emit_op_imm()
1015 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG2); in emit_op_imm()
1020 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG2); in emit_op_imm()
1025 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG2); in emit_op_imm()
1030 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG2); in emit_op_imm()
1035 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG2); in emit_op_imm()
1040 SLJIT_ASSERT(arg1 == TMP_REG2); in emit_op_imm()
1043 SLJIT_ASSERT(arg1 == TMP_REG2); in emit_op_imm()
1049 SLJIT_ASSERT(arg1 == TMP_REG2); in emit_op_imm()
1055 SLJIT_ASSERT(arg1 == TMP_REG2); in emit_op_imm()
1100 reg = (dst == TMP_REG2) ? TMP_REG1 : TMP_REG2; in emit_op_imm()
1119 reg = (arg2 == TMP_REG1) ? TMP_REG1 : TMP_REG2; in emit_op_imm()
1128 reg = (arg2 == TMP_REG1) ? TMP_REG1 : TMP_REG2; in emit_op_imm()
1137 reg = (arg2 == TMP_REG1) ? TMP_REG1 : TMP_REG2; in emit_op_imm()
1146 reg = (arg2 == TMP_REG1) ? TMP_REG1 : TMP_REG2; in emit_op_imm()
1545 FAIL_IF(load_immediate(compiler, TMP_REG2, ((sljit_uw)local_size >> 12) - 1)); in sljit_emit_enter()
1548 FAIL_IF(push_inst32(compiler, SUB_WI | SET_FLAGS | RD4(TMP_REG2) | RN4(TMP_REG2) | 1)); in sljit_emit_enter()
1615 FAIL_IF(load_immediate(compiler, TMP_REG2, imm)); in emit_add_sp()
1616 return push_inst16(compiler, ADD_SP | RN3(TMP_REG2)); in emit_add_sp()
1626 SLJIT_ASSERT(reg_map[TMP_REG2] == 14 && frame_size <= 128); in emit_stack_frame_release()
1649 lr_dst = TMP_REG2; in emit_stack_frame_release()
1674 if (lr_dst == TMP_REG2 && reg_list == 0) { in emit_stack_frame_release()
1675 reg_list |= (sljit_uw)1 << reg_map[TMP_REG2]; in emit_stack_frame_release()
1676 restored_reg = TMP_REG2; in emit_stack_frame_release()
1687 SLJIT_ASSERT(restored_reg != TMP_REG2); in emit_stack_frame_release()
1700 frame_size = (restored_reg == TMP_REG2) ? SSIZE_OF(sw) : 2 * SSIZE_OF(sw); in emit_stack_frame_release()
1705 if (restored_reg != TMP_REG2) in emit_stack_frame_release()
1722 if (restored_reg != TMP_REG2) in emit_stack_frame_release()
1731 tmp = (restored_reg == TMP_REG2) ? 0x304 : 0x308; in emit_stack_frame_release()
1738 if (!(reg_list & 0xff00) && lr_dst != TMP_REG2) { in emit_stack_frame_release()
1926 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_op1()
1965 FAIL_IF(emit_op_imm(compiler, SLJIT_MOV | ARG2_IMM, dst_r, TMP_REG2, (sljit_uw)srcw)); in sljit_emit_op1()
1969 return emit_op_imm(compiler, op, dst_r, TMP_REG2, (sljit_uw)src); in sljit_emit_op1()
1993 emit_op_imm(compiler, op, dst_r, TMP_REG2, (sljit_uw)src); in sljit_emit_op1()
2013 dst_reg = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_op2()
2022 src2_tmp_reg = FAST_IS_REG(src1) ? TMP_REG1 : TMP_REG2; in sljit_emit_op2()
2108 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG2, src3, src3w, TMP_REG2)); in sljit_emit_shift_into()
2109 src3 = TMP_REG2; in sljit_emit_shift_into()
2113 FAIL_IF(push_inst32(compiler, ANDI | RD4(TMP_REG2) | RN4(src3) | 0x1f)); in sljit_emit_shift_into()
2114 src3 = TMP_REG2; in sljit_emit_shift_into()
2123 FAIL_IF(push_inst32(compiler, EORI | RD4(TMP_REG2) | RN4(src3) | 0x1f)); in sljit_emit_shift_into()
2124 …(push_inst32(compiler, (is_left ? LSR_W : LSL_W) | RD4(TMP_REG1) | RN4(TMP_REG1) | RM4(TMP_REG2))); in sljit_emit_shift_into()
2137 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_op_src()
2140 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG2, src))); in sljit_emit_op_src()
2142 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG2, src, srcw, TMP_REG2)); in sljit_emit_op_src()
2144 return push_inst16(compiler, BX | RN3(TMP_REG2)); in sljit_emit_op_src()
2168 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_op_dst()
2171 return push_inst16(compiler, MOV | SET_REGS44(dst, TMP_REG2)); in sljit_emit_op_dst()
2186 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_op_dst()
2192 return emit_op_mem(compiler, WORD_SIZE | STORE, TMP_REG2, dst, dstw, TMP_REG1); in sljit_emit_op_dst()
2523 FAIL_IF(load_immediate(compiler, TMP_REG2, u.imm[1])); in sljit_emit_fset64()
2524 return push_inst32(compiler, VMOV2 | RN4(TMP_REG2) | RT4(TMP_REG1) | VM4(freg)); in sljit_emit_fset64()
2899 PTR_FAIL_IF(push_inst32(compiler, LDR | RT4(TMP_REG2) in sljit_emit_call()
2905 PTR_FAIL_IF(push_inst16(compiler, BX | RN3(TMP_REG2))); in sljit_emit_call()
2998 FAIL_IF(push_inst32(compiler, LDR | RT4(TMP_REG2) in sljit_emit_icall()
3004 return push_inst16(compiler, BX | RN3(TMP_REG2)); in sljit_emit_icall()
3081 return emit_op_mem(compiler, WORD_SIZE | STORE, TMP_REG1, dst, dstw, TMP_REG2); in sljit_emit_op_flags()
3085 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG1, dst, dstw, TMP_REG2)); in sljit_emit_op_flags()
3098 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | STORE, TMP_REG1, dst, dstw, TMP_REG2)); in sljit_emit_op_flags()
3298 …AIL_IF(emit_op_mem(compiler, WORD_SIZE, REG_PAIR_SECOND(reg), mem, memw + SSIZE_OF(sw), TMP_REG2)); in sljit_emit_mem()
3299 return emit_op_mem(compiler, WORD_SIZE, REG_PAIR_FIRST(reg), mem, memw, TMP_REG2); in sljit_emit_mem()
3302 FAIL_IF(emit_op_mem(compiler, flags, REG_PAIR_FIRST(reg), mem, memw, TMP_REG2)); in sljit_emit_mem()
3303 return emit_op_mem(compiler, flags, REG_PAIR_SECOND(reg), mem, memw + SSIZE_OF(sw), TMP_REG2); in sljit_emit_mem()
3512 FAIL_IF(push_inst32(compiler, VMOV | (1 << 20) | VN4(freg) | RT4(TMP_REG2))); in sljit_emit_fmem()
3515 return emit_op_mem(compiler, WORD_SIZE | STORE, TMP_REG2, mem, memw, TMP_REG1); in sljit_emit_fmem()
3520 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | STORE, TMP_REG2, mem, memw, TMP_REG1)); in sljit_emit_fmem()
3521 FAIL_IF(push_inst32(compiler, VMOV | (1 << 20) | VN4(freg) | 0x80 | RT4(TMP_REG2))); in sljit_emit_fmem()
3522 return emit_op_mem(compiler, WORD_SIZE | STORE, TMP_REG2, mem, memw + 4, TMP_REG1); in sljit_emit_fmem()
3526 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG2, mem, memw, TMP_REG1)); in sljit_emit_fmem()
3527 return push_inst32(compiler, VMOV | VN4(freg) | RT4(TMP_REG2)); in sljit_emit_fmem()
3533 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG2, mem, memw, TMP_REG1)); in sljit_emit_fmem()
3535 return push_inst32(compiler, VMOV2 | VM4(freg) | RT4(TMP_REG2) | RN4(TMP_REG1)); in sljit_emit_fmem()
4135 …FAIL_IF(push_inst32(compiler, VMOV_s | (1 << 20) | (1 << 23) | (0x2 << 21) | RT4(TMP_REG2)| VN4(TM… in sljit_emit_simd_sign()
4136 FAIL_IF(push_inst32(compiler, ORR_W | RD4(dst_r) | RN4(dst_r) | RM4(TMP_REG2) | (0x2 << 12))); in sljit_emit_simd_sign()
4140 return emit_op_mem(compiler, STORE | WORD_SIZE, TMP_REG1, dst, dstw, TMP_REG2); in sljit_emit_simd_sign()
4261 PTR_FAIL_IF(emit_op_mem(compiler, WORD_SIZE | STORE, dst_r, dst, dstw, TMP_REG2)); in sljit_emit_const()
4283 PTR_FAIL_IF(emit_op_mem(compiler, WORD_SIZE | STORE, dst_r, dst, dstw, TMP_REG2)); in sljit_emit_mov_addr()