/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeX86_64.c | 122 if ((b & OFFS_REG_MASK) && (immb & 0x3) == 0 && reg_lmap[OFFS_REG(b)] != 5) in emit_x86_instruction() 123 b = SLJIT_MEM | OFFS_REG(b) | TO_OFFS_REG(b & REG_MASK); in emit_x86_instruction() 136 if (reg_map[OFFS_REG(b)] >= 8) in emit_x86_instruction() 243 buf_ptr[1] = U8(reg_lmap_b | (reg_lmap[OFFS_REG(b)] << 3)); in emit_x86_instruction() 260 buf_ptr[1] = U8(reg_lmap_b | (reg_lmap[OFFS_REG(b)] << 3) | (immb << 6)); in emit_x86_instruction() 1085 if (!(type & SLJIT_MEM_STORE) && (regs[0] == (mem & REG_MASK) || regs[0] == OFFS_REG(mem))) { in sljit_emit_mem() 1086 if (regs[1] == (mem & REG_MASK) || regs[1] == OFFS_REG(mem)) { in sljit_emit_mem() 1088 EMIT_MOV(compiler, TMP_REG1, 0, OFFS_REG(mem), 0); in sljit_emit_mem() 1090 if (regs[1] == OFFS_REG(mem)) in sljit_emit_mem() 1112 …? REX_R : 0) | ((reg_map[mem & REG_MASK] >= 8) ? REX_B : 0) | ((reg_map[OFFS_REG(mem)] >= 8) ? REX… in sljit_emit_mem() [all …]
|
H A D | sljitNativeX86_32.c | 90 if ((b & OFFS_REG_MASK) && (immb & 0x3) == 0 && reg_map[OFFS_REG(b)] != 5) in emit_x86_instruction() 91 b = SLJIT_MEM | OFFS_REG(b) | TO_OFFS_REG(b & REG_MASK); in emit_x86_instruction() 181 buf_ptr[1] = U8(reg_map_b | (reg_map[OFFS_REG(b)] << 3)); in emit_x86_instruction() 198 buf_ptr[1] = U8(reg_map_b | (reg_map[OFFS_REG(b)] << 3) | (immb << 6)); in emit_x86_instruction() 1332 if (!(type & SLJIT_MEM_STORE) && (regs[0] == (mem & REG_MASK) || regs[0] == OFFS_REG(mem))) { in sljit_emit_mem() 1333 if (regs[1] == (mem & REG_MASK) || regs[1] == OFFS_REG(mem)) { in sljit_emit_mem() 1335 EMIT_MOV(compiler, TMP_REG1, 0, OFFS_REG(mem), 0); in sljit_emit_mem() 1337 if (regs[1] == OFFS_REG(mem)) in sljit_emit_mem() 1371 inst[2] = U8(memw << 6) | U8(reg_map[OFFS_REG(mem)] << 3) | reg_map[mem & REG_MASK]; in sljit_emit_mem()
|
H A D | sljitNativePPC_common.c | 1248 offs_reg = OFFS_REG(arg); in emit_op_mem() 1251 FAIL_IF(push_inst(compiler, SLWI_W(argw) | S(OFFS_REG(arg)) | A(tmp_reg))); in emit_op_mem() 1488 offs_reg = OFFS_REG(mem); in emit_rev() 2087 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(OFFS_REG(src))); in emit_prefetch() 2089 FAIL_IF(push_inst(compiler, SLWI_W(srcw) | S(OFFS_REG(src)) | A(TMP_REG1))); in emit_prefetch() 2216 FAIL_IF(push_inst(compiler, SLWI_W(dstw) | S(OFFS_REG(dst)) | A(TMP_REG1))); in sljit_emit_fop1_conv_sw_from_f64() 2219 dstw = OFFS_REG(dst); in sljit_emit_fop1_conv_sw_from_f64() 2823 if (OFFS_REG(src1) == dst_reg) in sljit_emit_select() 2929 FAIL_IF(push_inst(compiler, SLWI_W(memw) | S(OFFS_REG(mem)) | A(TMP_REG1))); in sljit_emit_mem() 2932 FAIL_IF(push_inst(compiler, ADD | D(TMP_REG1) | A(mem & REG_MASK) | B(OFFS_REG(mem)))); in sljit_emit_mem() [all …]
|
H A D | sljitNativeRISCV_common.c | 1067 FAIL_IF(push_inst(compiler, SLLI | RD(TMP_REG3) | RS1(OFFS_REG(arg)) | IMM_I(argw))); in getput_arg() 1073 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG3) | RS1(base) | RS2(!argw ? OFFS_REG(arg) : TMP_REG3)… in getput_arg() 1077 … FAIL_IF(push_inst(compiler, ADD | RD(tmp_r) | RS1(base) | RS2(!argw ? OFFS_REG(arg) : TMP_REG3))); in getput_arg() 1131 FAIL_IF(push_inst(compiler, SLLI | RD(tmp_r) | RS1(OFFS_REG(arg)) | IMM_I(argw))); in emit_op_mem() 1135 FAIL_IF(push_inst(compiler, ADD | RD(tmp_r) | RS1(base) | RS2(OFFS_REG(arg)))); in emit_op_mem() 2940 if (OFFS_REG(src1) == dst_reg) in sljit_emit_select() 3029 FAIL_IF(push_inst(compiler, SLLI | RD(TMP_REG1) | RS1(OFFS_REG(mem)) | IMM_I(memw))); in sljit_emit_mem() 3032 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RS1(mem & REG_MASK) | RS2(OFFS_REG(mem)))); in sljit_emit_mem()
|
H A D | sljitLir.c | 127 #define OFFS_REG(reg) (((reg) >> 8) & REG_MASK) macro 840 (((exp) & SLJIT_MEM) && (((exp) & REG_MASK) == reg || OFFS_REG(exp) == reg)) 928 if (!(FUNCTION_CHECK_IS_REG(OFFS_REG(p)))) in function_check_src_mem() 931 if (CHECK_IF_VIRTUAL_REGISTER(OFFS_REG(p))) in function_check_src_mem() 1092 sljit_verbose_reg(compiler, OFFS_REG(p)); in sljit_verbose_param() 1114 sljit_verbose_reg(compiler, OFFS_REG(p)); in sljit_verbose_fparam()
|
H A D | sljitNativeMIPS_common.c | 1421 … FAIL_IF(push_inst(compiler, SLL_W | T(OFFS_REG(arg)) | D(TMP_REG3) | SH_IMM(argw), DR(TMP_REG3))); in getput_arg() 1427 …FAIL_IF(push_inst(compiler, ADDU_W | S(base) | T(!argw ? OFFS_REG(arg) : TMP_REG3) | D(TMP_REG3), … in getput_arg() 1431 …FAIL_IF(push_inst(compiler, ADDU_W | S(base) | T(!argw ? OFFS_REG(arg) : TMP_REG3) | DA(tmp_ar), t… in getput_arg() 1491 FAIL_IF(push_inst(compiler, SLL_W | T(OFFS_REG(arg)) | DA(tmp_ar) | SH_IMM(argw), tmp_ar)); in emit_op_mem() 1495 FAIL_IF(push_inst(compiler, ADDU_W | S(base) | T(OFFS_REG(arg)) | DA(tmp_ar), tmp_ar)); in emit_op_mem() 2488 FAIL_IF(push_inst(compiler, SLL_W | T(OFFS_REG(src)) | D(TMP_REG1) | SH_IMM(srcw), DR(TMP_REG1))); in emit_prefetch() 2492 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(OFFS_REG(src)), MOVABLE_INS); in emit_prefetch() 3792 if (OFFS_REG(src1) == dst_reg) in sljit_emit_select() 3887 … FAIL_IF(push_inst(compiler, SLL_W | T(OFFS_REG(arg)) | D(TMP_REG1) | SH_IMM(argw), DR(TMP_REG1))); in update_mem_addr() 3890 …FAIL_IF(push_inst(compiler, ADDU_W | S(arg & REG_MASK) | T(OFFS_REG(arg)) | D(TMP_REG1), DR(TMP_RE… in update_mem_addr()
|
H A D | sljitNativeLOONGARCH_64.c | 1137 sljit_s32 offs = OFFS_REG(arg); in push_mem_inst() 1209 FAIL_IF(push_inst(compiler, SLLI_D | RD(TMP_REG3) | RJ(OFFS_REG(arg)) | IMM_I12(argw))); in getput_arg() 1265 FAIL_IF(push_inst(compiler, SLLI_D | RD(tmp_r) | RJ(OFFS_REG(arg)) | IMM_I12(argw))); in emit_op_mem() 2148 FAIL_IF(push_inst(compiler, SLLI_D | RD(TMP_REG1) | RJ(OFFS_REG(src)) | IMM_I12(srcw))); in sljit_emit_op_src() 3017 if (OFFS_REG(src1) == dst_reg) in sljit_emit_select() 3096 FAIL_IF(push_inst(compiler, SLLI_D | RD(TMP_REG1) | RJ(OFFS_REG(mem)) | IMM_I12(memw))); in sljit_emit_mem() 3099 FAIL_IF(push_inst(compiler, ADD_D| RD(TMP_REG1) | RJ(mem & REG_MASK) | RK(OFFS_REG(mem)))); in sljit_emit_mem() 3142 FAIL_IF(push_inst(compiler, SLLI_D | RD(TMP_REG3) | RJ(OFFS_REG(mem)) | IMM_I12(memw & 0x3))); in sljit_emit_simd_mem_offset()
|
H A D | sljitNativeARM_64.c | 1148 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_op_mem() 1150 …FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | ((sljit_i… in emit_op_mem() 1928 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_fop_mem() 1930 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | ((sljit_… in emit_fop_mem() 2594 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RN(mem & REG_MASK) | RM(OFFS_REG(mem)) | ((sljit_… in sljit_emit_mem() 2735 …return push_inst(compiler, ADD | RD(TMP_REG2) | RN(mem & REG_MASK) | RM(OFFS_REG(mem)) | ((sljit_i… in sljit_emit_simd_mem_offset()
|
H A D | sljitNativeS390X.c | 899 index = gpr(OFFS_REG(mem)); in make_addr_bxy() 932 index = gpr(OFFS_REG(mem)); in make_addr_bx() 1185 else if (dst == (src2 & REG_MASK) || (dst == OFFS_REG(src2))) { in emit_rx() 1198 index = gpr(OFFS_REG(src2)); in emit_rx() 1241 index = gpr(OFFS_REG(dst)); in emit_siy() 3791 src_r = gpr(OFFS_REG(src1)); in sljit_emit_select() 3897 offs = gpr(OFFS_REG(mem)); in sljit_emit_mem()
|
H A D | sljitNativeARM_T2_32.c | 1291 other_r = OFFS_REG(arg); in emit_op_mem() 2239 …FAIL_IF(push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(arg & REG_MASK) | RM4(OFFS_REG(arg)) | (… in emit_fop_mem() 3242 …FAIL_IF(push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(mem & REG_MASK) | RM4(OFFS_REG(mem)) | (… in sljit_emit_mem() 3329 …FAIL_IF(push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(mem & REG_MASK) | RM4(OFFS_REG(mem)) | (… in sljit_emit_mem() 3450 …return push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(arg & REG_MASK) | RM4(OFFS_REG(arg)) | ((… in update_mem_addr() 3545 …return push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(mem & REG_MASK) | RM4(OFFS_REG(mem)) | ((… in sljit_emit_simd_mem_offset()
|
H A D | sljitNativeARM_32.c | 2000 offset_reg = OFFS_REG(arg); in emit_op_mem() 2666 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (((sljit… in emit_fop_mem() 3646 …return push_inst(compiler, ADD | RD(TMP_REG1) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | ((sljit_i… in update_mem_addr() 3789 …inst = EMIT_DATA_TRANSFER(flags, 1, reg, mem & REG_MASK, RM(OFFS_REG(mem)) | ((sljit_ins)memw << 7… in sljit_emit_mem_update() 3870 …return push_inst(compiler, ADD | RD(TMP_REG1) | RN(mem & REG_MASK) | RM(OFFS_REG(mem)) | ((sljit_i… in sljit_emit_simd_mem_offset()
|