Home
last modified time | relevance | path

Searched refs:SLJIT_R0 (Results 1 – 17 of 17) sorted by relevance

/PHP-8.3/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_32.c667 arg4_reg = SLJIT_R0; in call_with_args()
698 if (word_arg_count == 1 && arg4_reg == SLJIT_R0) in call_with_args()
785 if (!(src & SLJIT_IMM) && src != SLJIT_R0) { in tail_call_with_args()
787 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), 0, SLJIT_R0, 0); in tail_call_with_args()
790 EMIT_MOV(compiler, SLJIT_R0, 0, src, srcw); in tail_call_with_args()
813 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R0, 0); in tail_call_with_args()
868 if (!(src & SLJIT_IMM) && src != SLJIT_R0) { in tail_call_with_args()
871 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), 0, SLJIT_R0, 0); in tail_call_with_args()
873 EMIT_MOV(compiler, SLJIT_R0, 0, src, srcw); in tail_call_with_args()
922 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R0, 0); in tail_call_with_args()
[all …]
H A DsljitNativeSPARC_common.c638 return push_inst(compiler, RESTORE | D(SLJIT_R0) | S1(SLJIT_R0) | S2(0), UNMOVABLE_INS); in sljit_emit_return_void()
648 src = SLJIT_R0; in sljit_emit_return()
652 return push_inst(compiler, RESTORE | D(SLJIT_R0) | S1(src) | S2(0), UNMOVABLE_INS); in sljit_emit_return()
955 …compiler, (op == SLJIT_LMUL_UW ? UMUL : SMUL) | D(SLJIT_R0) | S1(SLJIT_R0) | S2(SLJIT_R1), DR(SLJI… in sljit_emit_op0()
969 FAIL_IF(push_inst(compiler, SRA | D(TMP_REG1) | S1(SLJIT_R0) | IMM(31), DR(TMP_REG1))); in sljit_emit_op0()
973 FAIL_IF(push_inst(compiler, OR | D(TMP_REG2) | S1(0) | S2(SLJIT_R0), DR(TMP_REG2))); in sljit_emit_op0()
974 …r, ((op | 0x2) == SLJIT_DIV_UW ? UDIV : SDIV) | D(SLJIT_R0) | S1(SLJIT_R0) | S2(SLJIT_R1), DR(SLJI… in sljit_emit_op0()
977 FAIL_IF(push_inst(compiler, SMUL | D(SLJIT_R1) | S1(SLJIT_R0) | S2(SLJIT_R1), DR(SLJIT_R1))); in sljit_emit_op0()
H A DsljitNativePPC_common.c843 tmp = SLJIT_R0 + word_arg_count; in sljit_emit_enter()
847 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0 + arg_count) | A(tmp) | B(SLJIT_R0 + arg_count))); in sljit_emit_enter()
851 …FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0 + word_arg_count) | A(SLJIT_S0 - saved_arg_count) | B( in sljit_emit_enter()
1281 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R0))); in sljit_emit_op0()
1283 FAIL_IF(push_inst(compiler, MULLD | D(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R1))); in sljit_emit_op0()
1286 FAIL_IF(push_inst(compiler, MULLW | D(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R1))); in sljit_emit_op0()
1291 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R0))); in sljit_emit_op0()
1293 …UW ? DIVWU : DIVW) : (op == SLJIT_DIVMOD_UW ? DIVDU : DIVD)) | D(SLJIT_R0) | A(SLJIT_R0) | B(SLJIT… in sljit_emit_op0()
1296 …FAIL_IF(push_inst(compiler, (op == SLJIT_DIVMOD_UW ? DIVWU : DIVW) | D(SLJIT_R0) | A(SLJIT_R0) | B… in sljit_emit_op0()
1303 …IV_UW ? DIVWU : DIVW) : (op == SLJIT_DIV_UW ? DIVDU : DIVD)) | D(SLJIT_R0) | A(SLJIT_R0) | B(SLJIT… in sljit_emit_op0()
[all …]
H A DsljitNativeX86_common.c1106 reg_map[SLJIT_R0] == 0 in sljit_emit_op0()
1111 reg_map[SLJIT_R0] == 0 in sljit_emit_op0()
1317 if ((dst & REG_MASK) == SLJIT_R0) { in emit_mov_byte()
1324 if ((dst & OFFS_REG_MASK) != TO_OFFS_REG(SLJIT_R0)) in emit_mov_byte()
1325 work_r = SLJIT_R0; in emit_mov_byte()
1332 if (work_r == SLJIT_R0) { in emit_mov_byte()
1345 if (work_r == SLJIT_R0) { in emit_mov_byte()
1752 if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128)) {
1786 if ((dst == SLJIT_R0) && (src1w > 127 || src1w < -128)) {
3182 SLJIT_ASSERT(reg_map[SLJIT_R0] == 0);
[all …]
H A DsljitNativeRISCV_common.c675 tmp = SLJIT_R0; in sljit_emit_enter()
1667 FAIL_IF(push_inst(compiler, MULHU | RD(SLJIT_R1) | RS1(SLJIT_R0) | RS2(SLJIT_R1))); in sljit_emit_op0()
1668 return push_inst(compiler, MUL | RD(SLJIT_R0) | RS1(SLJIT_R0) | RS2(TMP_REG1)); in sljit_emit_op0()
1671 FAIL_IF(push_inst(compiler, MULH | RD(SLJIT_R1) | RS1(SLJIT_R0) | RS2(SLJIT_R1))); in sljit_emit_op0()
1672 return push_inst(compiler, MUL | RD(SLJIT_R0) | RS1(SLJIT_R0) | RS2(TMP_REG1)); in sljit_emit_op0()
1674 FAIL_IF(push_inst(compiler, ADDI | RD(TMP_REG1) | RS1(SLJIT_R0) | IMM_I(0))); in sljit_emit_op0()
1675 FAIL_IF(push_inst(compiler, DIVU | WORD | RD(SLJIT_R0) | RS1(SLJIT_R0) | RS2(SLJIT_R1))); in sljit_emit_op0()
1678 FAIL_IF(push_inst(compiler, ADDI | RD(TMP_REG1) | RS1(SLJIT_R0) | IMM_I(0))); in sljit_emit_op0()
1679 FAIL_IF(push_inst(compiler, DIV | WORD | RD(SLJIT_R0) | RS1(SLJIT_R0) | RS2(SLJIT_R1))); in sljit_emit_op0()
1682 return push_inst(compiler, DIVU | WORD | RD(SLJIT_R0) | RS1(SLJIT_R0) | RS2(SLJIT_R1)); in sljit_emit_op0()
[all …]
H A DsljitNativeMIPS_common.c2172 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? MULU : MUL) | S(SLJIT_R0) | T(SLJIT_R1) | D(TMP… in sljit_emit_op0()
2173 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? MUHU : MUH) | S(SLJIT_R0) | T(SLJIT_R1) | D(TMP… in sljit_emit_op0()
2175 FAIL_IF(push_inst(compiler, ADDU_W | S(TMP_REG3) | TA(0) | D(SLJIT_R0), DR(SLJIT_R0))); in sljit_emit_op0()
2179 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? DMULTU : DMULT) | S(SLJIT_R0) | T(SLJIT_R1), MO… in sljit_emit_op0()
2181 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? MULTU : MULT) | S(SLJIT_R0) | T(SLJIT_R1), MOVA… in sljit_emit_op0()
2183 FAIL_IF(push_inst(compiler, MFLO | D(SLJIT_R0), DR(SLJIT_R0))); in sljit_emit_op0()
2205 FAIL_IF(push_inst(compiler, ADDU_W | S(TMP_REG3) | TA(0) | D(SLJIT_R0), DR(SLJIT_R0))); in sljit_emit_op0()
2214 …FAIL_IF(push_inst(compiler, ((op | 0x2) == SLJIT_DIV_UW ? DIVU : DIV) | S(SLJIT_R0) | T(SLJIT_R1),… in sljit_emit_op0()
2216 …FAIL_IF(push_inst(compiler, ((op | 0x2) == SLJIT_DIV_UW ? DDIVU : DDIV) | S(SLJIT_R0) | T(SLJIT_R1… in sljit_emit_op0()
2218 …FAIL_IF(push_inst(compiler, ((op | 0x2) == SLJIT_DIV_UW ? DIVU : DIV) | S(SLJIT_R0) | T(SLJIT_R1),… in sljit_emit_op0()
[all …]
H A DsljitNativeARM_T2_32.c1607 | RD4(SLJIT_R1) | RT4(SLJIT_R0) | RN4(SLJIT_R0) | RM4(SLJIT_R1)); in sljit_emit_op0()
1611 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG1, SLJIT_R0))); in sljit_emit_op0()
1612 …sh_inst32(compiler, (op == SLJIT_DIVMOD_UW ? UDIV : SDIV) | RD4(SLJIT_R0) | RN4(SLJIT_R0) | RM4(SL… in sljit_emit_op0()
1613 FAIL_IF(push_inst32(compiler, MUL | RD4(SLJIT_R1) | RN4(SLJIT_R0) | RM4(SLJIT_R1))); in sljit_emit_op0()
1617 …return push_inst32(compiler, (op == SLJIT_DIV_UW ? UDIV : SDIV) | RD4(SLJIT_R0) | RN4(SLJIT_R0) | … in sljit_emit_op0()
1648 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG1, SLJIT_R0))); in sljit_emit_op0()
1649 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(SLJIT_R0, SLJIT_R1))); in sljit_emit_op0()
2648 return push_inst32(compiler, VMOV | (1 << 20) | DN4(src) | RT4(SLJIT_R0)); in emit_fmov_before_return()
2649 return push_inst32(compiler, VMOV2 | (1 << 20) | DM4(src) | RT4(SLJIT_R0) | RN4(SLJIT_R1)); in emit_fmov_before_return()
2655 return sljit_emit_op1(compiler, SLJIT_MOV, SLJIT_R0, 0, src, srcw); in emit_fmov_before_return()
[all …]
H A DsljitNativeARM_64.c1063 tmp = SLJIT_R0; in sljit_emit_enter()
1305 FAIL_IF(push_inst(compiler, ORR | RD(TMP_REG1) | RN(TMP_ZERO) | RM(SLJIT_R0))); in sljit_emit_op0()
1306 FAIL_IF(push_inst(compiler, MADD | RD(SLJIT_R0) | RN(SLJIT_R0) | RM(SLJIT_R1) | RT2(TMP_ZERO))); in sljit_emit_op0()
1310 FAIL_IF(push_inst(compiler, (ORR ^ inv_bits) | RD(TMP_REG1) | RN(TMP_ZERO) | RM(SLJIT_R0))); in sljit_emit_op0()
1311 …ompiler, ((op == SLJIT_DIVMOD_UW ? UDIV : SDIV) ^ inv_bits) | RD(SLJIT_R0) | RN(SLJIT_R0) | RM(SLJ… in sljit_emit_op0()
1312 …FAIL_IF(push_inst(compiler, (MADD ^ inv_bits) | RD(SLJIT_R1) | RN(SLJIT_R0) | RM(SLJIT_R1) | RT2(T… in sljit_emit_op0()
1316 …t(compiler, ((op == SLJIT_DIV_UW ? UDIV : SDIV) ^ inv_bits) | RD(SLJIT_R0) | RN(SLJIT_R0) | RM(SLJ… in sljit_emit_op0()
H A DsljitNativeX86_64.c473 if (tmp != SLJIT_R0 + word_arg_count) in sljit_emit_enter()
474 EMIT_MOV(compiler, SLJIT_R0 + word_arg_count, 0, tmp, 0); in sljit_emit_enter()
729 return emit_mov(compiler, SLJIT_R2, 0, SLJIT_R0, 0); in call_with_args()
H A DsljitLir.h167 #define SLJIT_R0 1 macro
217 #define SLJIT_RETURN_REG SLJIT_R0
H A DsljitNativeMIPS_32.c174 ins = ADDU | S(SLJIT_R0) | TA(0) | DA(4); in call_with_args()
H A DsljitNativeMIPS_64.c204 ins = DADDU | S(SLJIT_R0) | TA(0) | DA(4); in call_with_args()
H A DsljitNativeARM_32.c1203 …FAIL_IF(push_inst(compiler, MOV | RD(SLJIT_S0 - saved_arg_count) | RM(SLJIT_R0 + word_arg_count))); in sljit_emit_enter()
2072 | RN(SLJIT_R1) | RD(SLJIT_R0) | RM8(SLJIT_R0) | RM(SLJIT_R1)); in sljit_emit_op0()
2836 *src = (sljit_s32)(SLJIT_R0 + (offset >> 2)); in softfloat_call_with_args()
3081 return push_inst(compiler, VMOV | (1 << 20) | RD(SLJIT_R0) | VN(src)); in emit_fmov_before_return()
3082 return push_inst(compiler, VMOV2 | (1 << 20) | RD(SLJIT_R0) | RN(SLJIT_R1) | VM(src)); in emit_fmov_before_return()
3088 return sljit_emit_op1(compiler, SLJIT_MOV, SLJIT_R0, 0, src, srcw); in emit_fmov_before_return()
3089 return sljit_emit_mem(compiler, SLJIT_MOV, SLJIT_REG_PAIR(SLJIT_R0, SLJIT_R1), src, srcw); in emit_fmov_before_return()
H A DsljitLir.c804 (((r) >= SLJIT_R0 && (r) < (SLJIT_R0 + compiler->scratches)) \
924 if (r < (SLJIT_R0 + compiler->scratches)) in sljit_verbose_reg()
925 fprintf(compiler->verbose, "r%d", r - SLJIT_R0); in sljit_verbose_reg()
H A DsljitNativeS390X.c1755 FAIL_IF(push_inst(compiler, lgr(gpr(SLJIT_S0 - saved_arg_count), gpr(SLJIT_R0 + tmp)))); in sljit_emit_enter()
1891 sljit_gpr arg0 = gpr(SLJIT_R0); in sljit_emit_op0()
/PHP-8.3/ext/pcre/pcre2lib/
H A Dpcre2_jit_simd_inc.h874 OP1(SLJIT_MOV, SLJIT_R0, 0, STR_END, 0); in fast_forward_char_simd()
1064 OP1(SLJIT_MOV, SLJIT_R0, 0, STR_END, 0); in fast_forward_char_pair_simd()
1067 OP1(SLJIT_MOV, SLJIT_R0, 0, SLJIT_MEM1(SLJIT_SP), common->match_end_ptr); in fast_forward_char_pair_simd()
1068 OP2(SLJIT_ADD, SLJIT_R0, 0, SLJIT_R0, 0, SLJIT_IMM, IN_UCHARS(offs1 + 1)); in fast_forward_char_pair_simd()
1070 OP2U(SLJIT_SUB | SLJIT_SET_LESS, STR_END, 0, SLJIT_R0, 0); in fast_forward_char_pair_simd()
1071 CMOV(SLJIT_LESS, SLJIT_R0, STR_END, 0); in fast_forward_char_pair_simd()
H A Dpcre2_jit_compile.c557 #define TMP1 SLJIT_R0
3365 OP1(SLJIT_MOV, SLJIT_R0, 0, ARGUMENTS, 0); in copy_ovector()
3392 OP1(SLJIT_MOV, SLJIT_R0, 0, SLJIT_MEM1(HAS_VIRTUAL_REGISTERS ? SLJIT_R0 : ARGUMENTS), SLJIT_OFFSETO… in copy_ovector()
3405 OP2(SLJIT_SUB, SLJIT_S1, 0, SLJIT_S1, 0, SLJIT_R0, 0); in copy_ovector()
3440 OP2(SLJIT_SUB, SLJIT_R0, 0, SLJIT_R0, 0, SLJIT_IMM, 2 * SSIZE_OF(sw)); in copy_ovector()
8921 OP1(SLJIT_MOV, SLJIT_R0, 0, ARGUMENTS, 0); in compile_char1_matchingpath()
9802 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_callout_matchingpath()
10378 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in match_script_run_common()
13240 OP1(SLJIT_MOV, STR_PTR, 0, SLJIT_R0, 0); in compile_control_verb_backtrackingpath()
14195 OP1(SLJIT_MOV, SLJIT_R0, 0, ARGUMENTS, 0); in jit_compile()
[all …]

Completed in 301 milliseconds