Home
last modified time | relevance | path

Searched refs:TMP_REG1 (Results 1 – 14 of 14) sorted by relevance

/third_party/pcre2/pcre2/src/sljit/
DsljitNativeX86_common.c69 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
85 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
824 FAIL_IF(emit_load_imm64(compiler, (arg == TMP_REG1) ? TMP_REG2 : TMP_REG1, immw)); \
825 … inst = emit_x86_instruction(compiler, 1, (arg == TMP_REG1) ? TMP_REG2 : TMP_REG1, 0, arg, argw); \
954 FAIL_IF(emit_rdssp(compiler, TMP_REG1)); in adjust_shadow_stack()
958 SLJIT_ASSERT(reg_map[TMP_REG1] == 5); in adjust_shadow_stack()
968 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(TMP_REG1), 0); in adjust_shadow_stack()
972 FAIL_IF(emit_cmp_binary (compiler, TMP_REG1, 0, src, srcw)); in adjust_shadow_stack()
988 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, 1); in adjust_shadow_stack()
991 FAIL_IF(emit_incssp(compiler, TMP_REG1)); in adjust_shadow_stack()
[all …]
DsljitNativeARM_64.c37 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
626 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
627 arg1 = TMP_REG1; in emit_op_imm()
645 SLJIT_ASSERT(!(flags & SET_FLAGS) && (flags & ARG2_IMM) && arg1 == TMP_REG1); in emit_op_imm()
770 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
771 arg1 = TMP_REG1; in emit_op_imm()
780 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
785 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
788 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
793 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
[all …]
DsljitNativeARM_T2_32.c40 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
607 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
608 arg1 = TMP_REG1; in emit_op_imm()
789 arg2 = (arg1 == TMP_REG1) ? TMP_REG2 : TMP_REG1; in emit_op_imm()
794 arg1 = (arg2 == TMP_REG1) ? TMP_REG2 : TMP_REG1; in emit_op_imm()
1305 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG1) | RN4(SLJIT_SP))); in sljit_emit_enter()
1309 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG1) | RN4(SLJIT_SP))); in sljit_emit_enter()
1314 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG1) | RN4(SLJIT_SP))); in sljit_emit_enter()
1320 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG1) | RN4(SLJIT_SP))); in sljit_emit_enter()
1332 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG1) | RN4(SLJIT_SP))); in sljit_emit_enter()
[all …]
DsljitNativePPC_common.c94 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
786 base = TMP_REG1; in sljit_emit_enter()
787 FAIL_IF(push_inst(compiler, OR | S(SLJIT_SP) | A(TMP_REG1) | B(SLJIT_SP))); in sljit_emit_enter()
892 base = TMP_REG1; in emit_stack_frame_release()
897 …FAIL_IF(push_inst(compiler, ADDI | D(TMP_REG1) | A(SLJIT_SP) | IMM(local_size - STACK_MAX_DISTANCE… in emit_stack_frame_release()
939 SLJIT_ASSERT(base == TMP_REG1); in emit_stack_frame_release()
1228 FAIL_IF(load_immediate(compiler, TMP_REG1, src1w)); in emit_op()
1229 src1_r = TMP_REG1; in emit_op()
1233 FAIL_IF(emit_op_mem(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w, TMP_REG1)); in emit_op()
1234 src1_r = TMP_REG1; in emit_op()
[all …]
DsljitNativeRISCV_common.c40 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
476 load_addr_to_reg(jump, TMP_REG1); in sljit_generate_code()
498 buf_ptr[0] = AUIPC | RD(TMP_REG1) | (sljit_ins)((sljit_sw)addr & ~0xfff); in sljit_generate_code()
631 FAIL_IF(load_immediate(compiler, TMP_REG1, local_size, TMP_REG3)); in sljit_emit_enter()
666 FAIL_IF(push_inst(compiler, SUB | RD(SLJIT_SP) | RS1(SLJIT_SP) | RS2(TMP_REG1))); in sljit_emit_enter()
792 FAIL_IF(emit_op_mem(compiler, WORD_DATA | LOAD_DATA, TMP_REG1, src, srcw)); in sljit_emit_return_to()
793 src = TMP_REG1; in sljit_emit_return_to()
796 FAIL_IF(push_inst(compiler, ADDI | RD(TMP_REG1) | RS1(src) | IMM_I(0))); in sljit_emit_return_to()
797 src = TMP_REG1; in sljit_emit_return_to()
907 sljit_s32 tmp_r = TMP_REG1; in getput_arg()
[all …]
DsljitNativeMIPS_common.c70 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
1060 FAIL_IF(load_immediate(compiler, DR(TMP_REG1), local_size - tmp)); in emit_stack_frame_release()
1061 FAIL_IF(push_inst(compiler, ADDU_W | S(SLJIT_SP) | T(TMP_REG1) | D(SLJIT_SP), DR(SLJIT_SP))); in emit_stack_frame_release()
1254 tmp_ar = DR(TMP_REG1); in getput_arg()
1343 tmp_ar = DR(TMP_REG1); in emit_op_mem()
1431 FAIL_IF(push_inst(compiler, ANDI | S(TMP_REG2) | T(TMP_REG1) | IMM(1), DR(TMP_REG1))); in emit_clz_ctz()
1432 FAIL_IF(push_inst(compiler, BNE | S(TMP_REG1) | TA(0) | IMM(11), UNMOVABLE_INS)); in emit_clz_ctz()
1440 …FAIL_IF(push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | SA(0) | T(TMP_REG1) | IMM(max), DR(TMP_REG1 in emit_clz_ctz()
1443 …AIL_IF(push_inst(compiler, SELECT_OP(DSRL, SRL) | T(TMP_REG1) | D(TMP_REG1) | SH_IMM(1), DR(TMP_RE… in emit_clz_ctz()
1445 …ompiler, (is_clz ? SELECT_OP(DSRLV, SRLV) : SELECT_OP(DSLLV, SLLV)) | S(TMP_REG1) | TA(EQUAL_FLAG)… in emit_clz_ctz()
[all …]
DsljitNativeARM_32.c45 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
286 SLJIT_ASSERT(reg_map[TMP_REG1] != 14); in emit_blx()
288 return push_inst(compiler, BLX | RM(TMP_REG1)); in emit_blx()
528 inst[1] = BLX | RM(TMP_REG1); in inline_set_jump_addr()
1410 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_return_to()
1411 src = TMP_REG1; in sljit_emit_return_to()
1414 FAIL_IF(push_inst(compiler, MOV | RD(TMP_REG1) | RM(src))); in sljit_emit_return_to()
1415 src = TMP_REG1; in sljit_emit_return_to()
1437 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1448 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
[all …]
DsljitNativePPC_64.c132 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \
133 src1 = TMP_REG1; \
143 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \
144 src1 = TMP_REG1; \
155 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
162 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
175 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
190 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
202 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
207 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
[all …]
DsljitNativePPC_32.c55 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
62 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
77 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
89 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
93 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
97 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
98 FAIL_IF(push_inst(compiler, NEG | D(TMP_REG1) | A(src2))); in emit_single_op()
99 FAIL_IF(push_inst(compiler, AND | S(src2) | A(dst) | B(TMP_REG1))); in emit_single_op()
101 FAIL_IF(push_inst(compiler, ADDI | D(TMP_REG1) | A(dst) | IMM(-32))); in emit_single_op()
103 FAIL_IF(push_inst(compiler, SRWI(27) | S(TMP_REG1) | A(TMP_REG1))); in emit_single_op()
[all …]
DsljitNativeX86_64.c450 tmp = TMP_REG1; in sljit_emit_enter()
468 tmp = TMP_REG1; in sljit_emit_enter()
499 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -4096); in sljit_emit_enter()
501 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -4096 * 2); in sljit_emit_enter()
503 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -4096 * 3); in sljit_emit_enter()
506 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, local_size >> 12); in sljit_emit_enter()
510 BINARY_IMM32(SUB, 1, TMP_REG1, 0); in sljit_emit_enter()
522 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -local_size); in sljit_emit_enter()
708 SLJIT_ASSERT(reg_map[SLJIT_R1] == 6 && reg_map[SLJIT_R3] == 1 && reg_map[TMP_REG1] == 2); in call_with_args()
725 *src_ptr = TMP_REG1; in call_with_args()
[all …]
DsljitNativeX86_32.c355 PUSH_REG(reg_map[TMP_REG1]); in sljit_emit_enter()
368 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), args_size + size); in sljit_emit_enter()
481 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), size, TMP_REG1, 0); in sljit_emit_enter()
571 POP_REG(reg_map[TMP_REG1]); in emit_stack_frame_release()
610 src_r = (compiler->options & SLJIT_ENTER_REG_ARG) ? TMP_REG1 : SLJIT_R1; in sljit_emit_return_to()
670 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), 2 * SSIZE_OF(sw)); in call_with_args()
671 arg4_reg = TMP_REG1; in call_with_args()
878 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), offset); in tail_call_with_args()
981 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), 2 * SSIZE_OF(sw)); in tail_call_reg_arg_with_args()
993 return emit_mov(compiler, SLJIT_MEM1(SLJIT_SP), offset, TMP_REG1, 0); in tail_call_reg_arg_with_args()
[all …]
DsljitNativeMIPS_64.c160 SLJIT_ASSERT(reg_map[TMP_REG1] == 4 && freg_map[TMP_FREG1] == 12); in call_with_args()
DsljitNativeMIPS_32.c78 SLJIT_ASSERT(reg_map[TMP_REG1] == 4 && freg_map[TMP_FREG1] == 12); in call_with_args()
DsljitNativeS390X.c47 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro