/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeX86_32.c | 715 arg4_reg = SLJIT_R0; in call_with_args() 746 if (word_arg_count == 1 && arg4_reg == SLJIT_R0) in call_with_args() 833 if (src != SLJIT_IMM && src != SLJIT_R0) { in tail_call_with_args() 835 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), 0, SLJIT_R0, 0); in tail_call_with_args() 838 EMIT_MOV(compiler, SLJIT_R0, 0, src, srcw); in tail_call_with_args() 887 if (word_arg_count >= 1 && src != SLJIT_IMM && src != SLJIT_R0) { in tail_call_with_args() 916 if (src != SLJIT_IMM && src != SLJIT_R0) { in tail_call_with_args() 919 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), 0, SLJIT_R0, 0); in tail_call_with_args() 921 EMIT_MOV(compiler, SLJIT_R0, 0, src, srcw); in tail_call_with_args() 970 EMIT_MOV(compiler, SLJIT_MEM1(SLJIT_SP), offset, SLJIT_R0, 0); in tail_call_with_args() [all …]
|
H A D | sljitNativeX86_common.c | 1233 reg_map[SLJIT_R0] == 0 in sljit_emit_op0() 1238 reg_map[SLJIT_R0] == 0 in sljit_emit_op0() 2658 restore_sp4 = (src3 == SLJIT_R0) ? SLJIT_R1 : SLJIT_R0; 2701 restore_sp4 = (src3 == SLJIT_R0) ? SLJIT_R1 : SLJIT_R0; 4609 if (temp_reg != SLJIT_R0) { 4613 EMIT_MOV(compiler, free_reg, 0, SLJIT_R0, 0); 4616 if (src_reg == SLJIT_R0) 4618 if (mem_reg == SLJIT_R0) 4632 if (src_reg == SLJIT_R0) 4634 if (mem_reg == SLJIT_R0) [all …]
|
H A D | sljitNativePPC_common.c | 893 tmp = SLJIT_R0 + word_arg_count; in sljit_emit_enter() 897 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0 + arg_count) | A(tmp) | B(SLJIT_R0 + arg_count))); in sljit_emit_enter() 901 …FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0 + word_arg_count) | A(SLJIT_S0 - saved_arg_count) | B(… in sljit_emit_enter() 1331 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R0))); in sljit_emit_op0() 1333 FAIL_IF(push_inst(compiler, MULLD | D(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R1))); in sljit_emit_op0() 1336 FAIL_IF(push_inst(compiler, MULLW | D(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R1))); in sljit_emit_op0() 1341 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R0))); in sljit_emit_op0() 1343 …UW ? DIVWU : DIVW) : (op == SLJIT_DIVMOD_UW ? DIVDU : DIVD)) | D(SLJIT_R0) | A(SLJIT_R0) | B(SLJIT… in sljit_emit_op0() 1346 …FAIL_IF(push_inst(compiler, (op == SLJIT_DIVMOD_UW ? DIVWU : DIVW) | D(SLJIT_R0) | A(SLJIT_R0) | B… in sljit_emit_op0() 1353 …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 D | sljitNativeRISCV_common.c | 699 tmp = SLJIT_R0; in sljit_emit_enter() 1772 FAIL_IF(push_inst(compiler, MULHU | RD(SLJIT_R1) | RS1(SLJIT_R0) | RS2(SLJIT_R1))); in sljit_emit_op0() 1773 return push_inst(compiler, MUL | RD(SLJIT_R0) | RS1(SLJIT_R0) | RS2(TMP_REG1)); in sljit_emit_op0() 1776 FAIL_IF(push_inst(compiler, MULH | RD(SLJIT_R1) | RS1(SLJIT_R0) | RS2(SLJIT_R1))); in sljit_emit_op0() 1777 return push_inst(compiler, MUL | RD(SLJIT_R0) | RS1(SLJIT_R0) | RS2(TMP_REG1)); in sljit_emit_op0() 1779 FAIL_IF(push_inst(compiler, ADDI | RD(TMP_REG1) | RS1(SLJIT_R0) | IMM_I(0))); in sljit_emit_op0() 1780 FAIL_IF(push_inst(compiler, DIVU | WORD | RD(SLJIT_R0) | RS1(SLJIT_R0) | RS2(SLJIT_R1))); in sljit_emit_op0() 1783 FAIL_IF(push_inst(compiler, ADDI | RD(TMP_REG1) | RS1(SLJIT_R0) | IMM_I(0))); in sljit_emit_op0() 1784 FAIL_IF(push_inst(compiler, DIV | WORD | RD(SLJIT_R0) | RS1(SLJIT_R0) | RS2(SLJIT_R1))); in sljit_emit_op0() 1787 return push_inst(compiler, DIVU | WORD | RD(SLJIT_R0) | RS1(SLJIT_R0) | RS2(SLJIT_R1)); in sljit_emit_op0() [all …]
|
H A D | sljitNativeLOONGARCH_64.c | 802 tmp = SLJIT_R0; in sljit_emit_enter() 1737 FAIL_IF(push_inst(compiler, MULH_DU | RD(SLJIT_R1) | RJ(SLJIT_R0) | RK(SLJIT_R1))); in sljit_emit_op0() 1738 return push_inst(compiler, MUL_D | RD(SLJIT_R0) | RJ(SLJIT_R0) | RK(TMP_REG1)); in sljit_emit_op0() 1741 FAIL_IF(push_inst(compiler, MULH_D | RD(SLJIT_R1) | RJ(SLJIT_R0) | RK(SLJIT_R1))); in sljit_emit_op0() 1742 return push_inst(compiler, MUL_D | RD(SLJIT_R0) | RJ(SLJIT_R0) | RK(TMP_REG1)); in sljit_emit_op0() 1744 FAIL_IF(push_inst(compiler, INST(ADDI, op) | RD(TMP_REG1) | RJ(SLJIT_R0) | IMM_I12(0))); in sljit_emit_op0() 1745 …FAIL_IF(push_inst(compiler, ((op & SLJIT_32)? DIV_WU: DIV_DU) | RD(SLJIT_R0) | RJ(SLJIT_R0) | RK(S… in sljit_emit_op0() 1748 FAIL_IF(push_inst(compiler, INST(ADDI, op) | RD(TMP_REG1) | RJ(SLJIT_R0) | IMM_I12(0))); in sljit_emit_op0() 1749 FAIL_IF(push_inst(compiler, INST(DIV, op) | RD(SLJIT_R0) | RJ(SLJIT_R0) | RK(SLJIT_R1))); in sljit_emit_op0() 1752 …return push_inst(compiler, ((op & SLJIT_32)? DIV_WU: DIV_DU) | RD(SLJIT_R0) | RJ(SLJIT_R0) | RK(SL… in sljit_emit_op0() [all …]
|
H A D | sljitNativeMIPS_common.c | 2429 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? MULU : MUL) | S(SLJIT_R0) | T(SLJIT_R1) | D(TMP… in sljit_emit_op0() 2430 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? MUHU : MUH) | S(SLJIT_R0) | T(SLJIT_R1) | D(TMP… in sljit_emit_op0() 2432 FAIL_IF(push_inst(compiler, ADDU_W | S(TMP_REG3) | TA(0) | D(SLJIT_R0), DR(SLJIT_R0))); in sljit_emit_op0() 2436 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? DMULTU : DMULT) | S(SLJIT_R0) | T(SLJIT_R1), MO… in sljit_emit_op0() 2438 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? MULTU : MULT) | S(SLJIT_R0) | T(SLJIT_R1), MOVA… in sljit_emit_op0() 2440 FAIL_IF(push_inst(compiler, MFLO | D(SLJIT_R0), DR(SLJIT_R0))); in sljit_emit_op0() 2462 FAIL_IF(push_inst(compiler, ADDU_W | S(TMP_REG3) | TA(0) | D(SLJIT_R0), DR(SLJIT_R0))); in sljit_emit_op0() 2471 …FAIL_IF(push_inst(compiler, ((op | 0x2) == SLJIT_DIV_UW ? DIVU : DIV) | S(SLJIT_R0) | T(SLJIT_R1),… in sljit_emit_op0() 2473 …FAIL_IF(push_inst(compiler, ((op | 0x2) == SLJIT_DIV_UW ? DDIVU : DDIV) | S(SLJIT_R0) | T(SLJIT_R1… in sljit_emit_op0() 2475 …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 D | sljitNativeARM_T2_32.c | 1702 | RD4(SLJIT_R1) | RT4(SLJIT_R0) | RN4(SLJIT_R0) | RM4(SLJIT_R1)); in sljit_emit_op0() 1706 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG1, SLJIT_R0))); in sljit_emit_op0() 1707 …sh_inst32(compiler, (op == SLJIT_DIVMOD_UW ? UDIV : SDIV) | RD4(SLJIT_R0) | RN4(SLJIT_R0) | RM4(SL… in sljit_emit_op0() 1708 FAIL_IF(push_inst32(compiler, MUL | RD4(SLJIT_R1) | RN4(SLJIT_R0) | RM4(SLJIT_R1))); in sljit_emit_op0() 1712 …return push_inst32(compiler, (op == SLJIT_DIV_UW ? UDIV : SDIV) | RD4(SLJIT_R0) | RN4(SLJIT_R0) | … in sljit_emit_op0() 1743 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG1, SLJIT_R0))); in sljit_emit_op0() 1744 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(SLJIT_R0, SLJIT_R1))); in sljit_emit_op0() 2885 return push_inst32(compiler, VMOV | (1 << 20) | VN4(src) | RT4(SLJIT_R0)); in emit_fmov_before_return() 2886 return push_inst32(compiler, VMOV2 | (1 << 20) | VM4(src) | RT4(SLJIT_R0) | RN4(SLJIT_R1)); in emit_fmov_before_return() 2892 return sljit_emit_op1(compiler, SLJIT_MOV, SLJIT_R0, 0, src, srcw); in emit_fmov_before_return() [all …]
|
H A D | sljitNativeARM_64.c | 1146 tmp = SLJIT_R0; in sljit_emit_enter() 1388 FAIL_IF(push_inst(compiler, MOV | RD(TMP_REG1) | RM(SLJIT_R0))); in sljit_emit_op0() 1389 FAIL_IF(push_inst(compiler, MADD | RD(SLJIT_R0) | RN(SLJIT_R0) | RM(SLJIT_R1) | RT2(TMP_ZERO))); in sljit_emit_op0() 1393 FAIL_IF(push_inst(compiler, (MOV ^ inv_bits) | RD(TMP_REG1) | RM(SLJIT_R0))); in sljit_emit_op0() 1394 …ompiler, ((op == SLJIT_DIVMOD_UW ? UDIV : SDIV) ^ inv_bits) | RD(SLJIT_R0) | RN(SLJIT_R0) | RM(SLJ… in sljit_emit_op0() 1395 …FAIL_IF(push_inst(compiler, (MADD ^ inv_bits) | RD(SLJIT_R1) | RN(SLJIT_R0) | RM(SLJIT_R1) | RT2(T… in sljit_emit_op0() 1399 …t(compiler, ((op == SLJIT_DIV_UW ? UDIV : SDIV) ^ inv_bits) | RD(SLJIT_R0) | RN(SLJIT_R0) | RM(SLJ… in sljit_emit_op0()
|
H A D | sljitNativeX86_64.c | 552 if (tmp != SLJIT_R0 + word_arg_count) in sljit_emit_enter() 553 EMIT_MOV(compiler, SLJIT_R0 + word_arg_count, 0, tmp, 0); in sljit_emit_enter() 793 return emit_mov(compiler, SLJIT_R2, 0, SLJIT_R0, 0); in call_with_args()
|
H A D | sljitLir.h | 168 #define SLJIT_R0 1 macro 218 #define SLJIT_RETURN_REG SLJIT_R0
|
H A D | sljitNativeMIPS_64.c | 272 ins = DADDU | S(SLJIT_R0) | TA(0) | DA(4); in call_with_args()
|
H A D | sljitNativeMIPS_32.c | 332 ins = ADDU | S(SLJIT_R0) | TA(0) | DA(4); in call_with_args()
|
H A D | sljitNativeARM_32.c | 1276 …FAIL_IF(push_inst(compiler, MOV | RD(SLJIT_S0 - saved_arg_count) | RM(SLJIT_R0 + word_arg_count))); in sljit_emit_enter() 2206 | RN(SLJIT_R1) | RD(SLJIT_R0) | RM8(SLJIT_R0) | RM(SLJIT_R1)); in sljit_emit_op0() 3111 *src = (sljit_s32)(SLJIT_R0 + (offset >> 2)); in softfloat_call_with_args() 3354 return push_inst(compiler, VMOV | (1 << 20) | RD(SLJIT_R0) | VN(src)); in emit_fmov_before_return() 3355 return push_inst(compiler, VMOV2 | (1 << 20) | RD(SLJIT_R0) | RN(SLJIT_R1) | VM(src)); in emit_fmov_before_return() 3361 return sljit_emit_op1(compiler, SLJIT_MOV, SLJIT_R0, 0, src, srcw); in emit_fmov_before_return() 3362 return sljit_emit_mem(compiler, SLJIT_MOV, SLJIT_REG_PAIR(SLJIT_R0, SLJIT_R1), src, srcw); in emit_fmov_before_return()
|
H A D | sljitLir.c | 850 (((r) >= SLJIT_R0 && (r) < (SLJIT_R0 + compiler->scratches)) \ 1007 if (r < (SLJIT_R0 + compiler->scratches)) in sljit_verbose_reg() 1008 fprintf(compiler->verbose, "r%d", r - SLJIT_R0); in sljit_verbose_reg()
|
H A D | sljitNativeS390X.c | 1779 FAIL_IF(push_inst(compiler, lgr(gpr(SLJIT_S0 - saved_arg_count), gpr(SLJIT_R0 + tmp)))); in sljit_emit_enter() 1917 sljit_gpr arg0 = gpr(SLJIT_R0); in sljit_emit_op0()
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_simd_inc.h | 850 OP1(SLJIT_MOV, SLJIT_R0, 0, STR_END, 0); in fast_forward_char_simd() 1045 OP1(SLJIT_MOV, SLJIT_R0, 0, STR_END, 0); in fast_forward_char_pair_simd() 1048 OP1(SLJIT_MOV, SLJIT_R0, 0, SLJIT_MEM1(SLJIT_SP), common->match_end_ptr); in fast_forward_char_pair_simd() 1049 OP2(SLJIT_ADD, SLJIT_R0, 0, SLJIT_R0, 0, SLJIT_IMM, IN_UCHARS(offs1 + 1)); in fast_forward_char_pair_simd() 1051 OP2U(SLJIT_SUB | SLJIT_SET_LESS, STR_END, 0, SLJIT_R0, 0); in fast_forward_char_pair_simd() 1052 SELECT(SLJIT_LESS, SLJIT_R0, STR_END, 0, SLJIT_R0); in fast_forward_char_pair_simd()
|
H A D | pcre2_jit_compile.c | 583 #define TMP1 SLJIT_R0 3485 OP1(SLJIT_MOV, SLJIT_R0, 0, ARGUMENTS, 0); in copy_ovector() 3512 OP1(SLJIT_MOV, SLJIT_R0, 0, SLJIT_MEM1(HAS_VIRTUAL_REGISTERS ? SLJIT_R0 : ARGUMENTS), SLJIT_OFFSETO… in copy_ovector() 3525 OP2(SLJIT_SUB, SLJIT_S1, 0, SLJIT_S1, 0, SLJIT_R0, 0); in copy_ovector() 3560 OP2(SLJIT_SUB, SLJIT_R0, 0, SLJIT_R0, 0, SLJIT_IMM, 2 * SSIZE_OF(sw)); in copy_ovector() 9065 OP1(SLJIT_MOV, SLJIT_R0, 0, ARGUMENTS, 0); in compile_char1_matchingpath() 9949 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in compile_callout_matchingpath() 10671 SLJIT_ASSERT(TMP1 == SLJIT_R0 && STR_PTR == SLJIT_R1); in match_script_run_common() 13610 OP1(SLJIT_MOV, STR_PTR, 0, SLJIT_R0, 0); in compile_control_verb_backtrackingpath() 14586 OP1(SLJIT_MOV, SLJIT_R0, 0, ARGUMENTS, 0); in jit_compile() [all …]
|