Lines Matching refs:TMP_REG2
49 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
1255 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_enter()
1263 FAIL_IF(push_inst(compiler, 0xe52d0004 | RD(TMP_REG2))); in sljit_emit_enter()
1430 SLJIT_ASSERT(reg_map[TMP_REG2] == 14 && frame_size <= 128); in emit_stack_frame_release()
1453 lr_dst = TMP_REG2; in emit_stack_frame_release()
1481 if (lr_dst == TMP_REG2 && reg_list == 0) { in emit_stack_frame_release()
1482 restored_reg = TMP_REG2; in emit_stack_frame_release()
1493 SLJIT_ASSERT(restored_reg != TMP_REG2); in emit_stack_frame_release()
1503 frame_size = (restored_reg == TMP_REG2) ? SSIZE_OF(sw) : 2 * SSIZE_OF(sw); in emit_stack_frame_release()
1508 if (restored_reg != TMP_REG2) in emit_stack_frame_release()
1525 if (restored_reg != TMP_REG2) in emit_stack_frame_release()
1531 tmp = (restored_reg == TMP_REG2) ? 0x800004 : 0x800008; in emit_stack_frame_release()
1641 SLJIT_ASSERT(src1 == TMP_REG1 && src2 != TMP_REG2 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1643 FAIL_IF(push_inst(compiler, RSB | SRC2_IMM | RD(TMP_REG2) | RN(src2) | 0)); in emit_single_op()
1644 FAIL_IF(push_inst(compiler, AND | RD(TMP_REG1) | RN(src2) | RM(TMP_REG2))); in emit_single_op()
1699 reg = dst == TMP_REG1 ? TMP_REG2 : TMP_REG1; in emit_single_op()
1742 FAIL_IF(push_inst(compiler, RSB | SRC2_IMM | RD(TMP_REG2) | RN(src2) | 0)); in emit_single_op()
1743 src2 = TMP_REG2; in emit_single_op()
1772 SLJIT_ASSERT(src1 != TMP_REG2); in emit_single_op()
1775 FAIL_IF(push_inst(compiler, AND | RD(TMP_REG2) | RN(src2) | SRC2_IMM | 0x1f)); in emit_single_op()
1776 src2 = TMP_REG2; in emit_single_op()
2172 dst_reg = FAST_IS_REG(dst) ? dst : TMP_REG2; in emit_op()
2183 if (FAST_IS_REG(src2) && dst_reg != TMP_REG2) in emit_op()
2193 src2_tmp_reg = FAST_IS_REG(src1) ? TMP_REG1 : TMP_REG2; in emit_op()
2538 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG2, src3, src3w, TMP_REG2)); in sljit_emit_shift_into()
2539 src3 = TMP_REG2; in sljit_emit_shift_into()
2543 FAIL_IF(push_inst(compiler, AND | SRC2_IMM | RD(TMP_REG2) | RN(src3) | 0x1f)); in sljit_emit_shift_into()
2544 src3 = TMP_REG2; in sljit_emit_shift_into()
2549 FAIL_IF(push_inst(compiler, EOR | SRC2_IMM | RD(TMP_REG2) | RN(src3) | 0x1f)); in sljit_emit_shift_into()
2550 …return push_inst(compiler, ORR | RD(dst_reg) | RN(dst_reg) | RM8(TMP_REG2) | ((sljit_ins)(is_left … in sljit_emit_shift_into()
2562 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_op_src()
2565 FAIL_IF(push_inst(compiler, MOV | RD(TMP_REG2) | RM(src))); in sljit_emit_op_src()
2567 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG2, src, srcw, TMP_REG1)); in sljit_emit_op_src()
2569 return push_inst(compiler, BX | RM(TMP_REG2)); in sljit_emit_op_src()
2594 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_op_dst()
2597 return push_inst(compiler, MOV | RD(dst) | RM(TMP_REG2)); in sljit_emit_op_dst()
2612 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_op_dst()
2618 return emit_op_mem(compiler, WORD_SIZE, TMP_REG2, dst, dstw, TMP_REG1); in sljit_emit_op_dst()
2950 FAIL_IF(load_immediate(compiler, TMP_REG2, u.imm[1])); in sljit_emit_fset64()
2951 return push_inst(compiler, VMOV2 | RN(TMP_REG2) | RD(TMP_REG1) | VM(freg)); in sljit_emit_fset64()
3335 TMP_REG2, SLJIT_SP, extra_space - sizeof(sljit_sw)))); in sljit_emit_call()
3340 PTR_FAIL_IF(push_inst(compiler, BX | RM(TMP_REG2))); in sljit_emit_call()
3444 TMP_REG2, SLJIT_SP, extra_space - sizeof(sljit_sw)))); in sljit_emit_icall()
3449 return push_inst(compiler, BX | RM(TMP_REG2)); in sljit_emit_icall()
3517 return emit_op_mem(compiler, WORD_SIZE, TMP_REG1, dst, dstw, TMP_REG2); in sljit_emit_op_flags()
3524 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG1, dst, dstw, TMP_REG2)); in sljit_emit_op_flags()
3532 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG1, dst, dstw, TMP_REG2)); in sljit_emit_op_flags()
3535 return push_inst(compiler, MOV | SET_FLAGS | RD(TMP_REG2) | RM(dst_reg)); in sljit_emit_op_flags()
3837 FAIL_IF(push_inst(compiler, VMOV | (1 << 20) | VN(freg) | RD(TMP_REG2))); in sljit_emit_fmem()
3840 return emit_op_mem(compiler, WORD_SIZE, TMP_REG2, mem, memw, TMP_REG1); in sljit_emit_fmem()
3845 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG2, mem, memw, TMP_REG1)); in sljit_emit_fmem()
3846 FAIL_IF(push_inst(compiler, VMOV | (1 << 20) | VN(freg) | 0x80 | RD(TMP_REG2))); in sljit_emit_fmem()
3847 return emit_op_mem(compiler, WORD_SIZE, TMP_REG2, mem, memw + 4, TMP_REG1); in sljit_emit_fmem()
3851 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG2, mem, memw, TMP_REG1)); in sljit_emit_fmem()
3852 return push_inst(compiler, VMOV | VN(freg) | RD(TMP_REG2)); in sljit_emit_fmem()
3858 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG2, mem, memw, TMP_REG1)); in sljit_emit_fmem()
3860 return push_inst(compiler, VMOV2 | VM(freg) | RD(TMP_REG2) | RN(TMP_REG1)); in sljit_emit_fmem()
4460 …FAIL_IF(push_inst(compiler, VMOV_s | (1 << 20) | (1 << 23) | (0x2 << 21) | RD(TMP_REG2) | VN(TMP_F… in sljit_emit_simd_sign()
4461 FAIL_IF(push_inst(compiler, ORR | RD(dst_r) | RN(dst_r) | RM(TMP_REG2) | (0x8 << 7))); in sljit_emit_simd_sign()
4465 return emit_op_mem(compiler, WORD_SIZE, TMP_REG1, dst, dstw, TMP_REG2); in sljit_emit_simd_sign()
4582 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
4593 PTR_FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG2, dst, dstw, TMP_REG1)); in sljit_emit_const()
4606 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_mov_addr()
4624 PTR_FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG2, dst, dstw, TMP_REG1)); in sljit_emit_mov_addr()