Home
last modified time | relevance | path

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

/PHP-8.3/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_64.c107 if (b & REG_MASK) in emit_x86_instruction()
113 if (!(b & REG_MASK)) in emit_x86_instruction()
123 else if (reg_lmap[b & REG_MASK] == 5) { in emit_x86_instruction()
126 b = SLJIT_MEM | OFFS_REG(b) | TO_OFFS_REG(b & REG_MASK); in emit_x86_instruction()
131 if (reg_map[b & REG_MASK] >= 8) in emit_x86_instruction()
134 if (reg_lmap[b & REG_MASK] == 4 && !(b & OFFS_REG_MASK)) in emit_x86_instruction()
227 } else if (b & REG_MASK) { in emit_x86_instruction()
228 reg_lmap_b = reg_lmap[b & REG_MASK]; in emit_x86_instruction()
959 if ((mem & REG_MASK) == 0) { in sljit_emit_mem()
967 mem = SLJIT_MEM2(mem & REG_MASK, TMP_REG1); in sljit_emit_mem()
[all …]
H A DsljitNativeARM_T2_32.c1044 if (SLJIT_UNLIKELY(!(arg & REG_MASK))) { in emit_op_mem()
1060 arg &= REG_MASK; in emit_op_mem()
1067 arg &= REG_MASK; in emit_op_mem()
1955 if ((arg & REG_MASK) && (argw & 0x3) == 0) { in emit_fop_mem()
1962 if (arg & REG_MASK) { in emit_fop_mem()
1983 if (arg & REG_MASK) in emit_fop_mem()
2774 if ((mem & REG_MASK) == 0) { in sljit_emit_mem()
2850 } else if (REG_PAIR_FIRST(reg) == (mem & REG_MASK)) { in sljit_emit_mem()
2861 if ((mem & REG_MASK) == 0) { in sljit_emit_mem()
2923 FAIL_IF(push_inst16(compiler, ADD | SET_REGS44(TMP_REG1, mem & REG_MASK))); in sljit_emit_mem()
[all …]
H A DsljitNativeX86_32.c81 if (!(b & REG_MASK)) in emit_x86_instruction()
91 else if (reg_map[b & REG_MASK] == 5) { in emit_x86_instruction()
94 b = SLJIT_MEM | OFFS_REG(b) | TO_OFFS_REG(b & REG_MASK); in emit_x86_instruction()
99 if (reg_map[b & REG_MASK] == 4 && !(b & OFFS_REG_MASK)) in emit_x86_instruction()
172 } else if (b & REG_MASK) { in emit_x86_instruction()
173 reg_map_b = reg_map[b & REG_MASK]; in emit_x86_instruction()
1225 if (!(type & SLJIT_MEM_STORE) && (regs[0] == (mem & REG_MASK) || regs[0] == OFFS_REG(mem))) { in sljit_emit_mem()
1226 if (regs[1] == (mem & REG_MASK) || regs[1] == OFFS_REG(mem)) { in sljit_emit_mem()
1264 inst[2] = U8(memw << 6) | U8(reg_map[OFFS_REG(mem)] << 3) | reg_map[mem & REG_MASK]; in sljit_emit_mem()
H A DsljitNativeARM_64.c914 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_op_mem()
920 arg &= REG_MASK; in emit_op_mem()
1636 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_fop_mem()
1642 arg &= REG_MASK; in emit_fop_mem()
2171 if (!(mem & REG_MASK)) { in sljit_emit_mem()
2189 if (!(type & SLJIT_MEM_STORE) && (mem & REG_MASK) == REG_PAIR_FIRST(reg)) { in sljit_emit_mem()
2196 …FAIL_IF(push_inst(compiler, inst | RD(REG_PAIR_FIRST(reg)) | RN(mem & REG_MASK) | ((sljit_ins)memw… in sljit_emit_mem()
2201 FAIL_IF(push_inst(compiler, inst | RD(TMP_REG1) | RN(mem & REG_MASK) | ((sljit_ins)memw << 10))); in sljit_emit_mem()
2214 …FAIL_IF(push_inst(compiler, (inst == ADDI ? ADD : SUB) | RD(TMP_REG1) | RN(mem & REG_MASK) | RM(TM… in sljit_emit_mem()
2279 …return push_inst(compiler, inst | RT(reg) | RN(mem & REG_MASK) | (sljit_ins)((memw & 0x1ff) << 12)… in sljit_emit_mem_update()
[all …]
H A DsljitNativeS390X.c936 if (mem & REG_MASK) in make_addr_bxy()
937 base = gpr(mem & REG_MASK); in make_addr_bxy()
969 if (mem & REG_MASK) in make_addr_bx()
970 base = gpr(mem & REG_MASK); in make_addr_bx()
1106 dst_r = gpr(dst & REG_MASK); in emit_rr()
1187 src_r = gpr(src1 & REG_MASK); in emit_rie_d()
1223 base = gpr(src2 & REG_MASK); in emit_rx()
1237 if (src2 & REG_MASK) in emit_rx()
1280 if (dst & REG_MASK) in emit_siy()
1286 dst_r = gpr(dst & REG_MASK); in emit_siy()
[all …]
H A DsljitNativePPC_common.c1166 arg &= REG_MASK; in emit_op_mem()
1319 if (srcw == 0 && (src & REG_MASK)) in emit_prefetch()
1320 return push_inst(compiler, DCBT | A(0) | B(src & REG_MASK)); in emit_prefetch()
1324 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(TMP_REG1)); in emit_prefetch()
1330 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(OFFS_REG(src))); in emit_prefetch()
1333 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(TMP_REG1)); in emit_prefetch()
1943 if ((dst & REG_MASK) && !dstw) { in sljit_emit_fop1_conv_sw_from_f64()
1944 dstw = dst & REG_MASK; in sljit_emit_fop1_conv_sw_from_f64()
1954 return push_inst(compiler, STFIWX | FS(TMP_FREG1) | A(dst & REG_MASK) | B(dstw)); in sljit_emit_fop1_conv_sw_from_f64()
2628 if ((mem & REG_MASK) != 0) { in sljit_emit_mem()
[all …]
H A DsljitLir.c125 #define REG_MASK 0x3f macro
126 #define OFFS_REG(reg) (((reg) >> 8) & REG_MASK)
127 #define OFFS_REG_MASK (REG_MASK << 8)
130 #define FAST_IS_REG(reg) ((reg) <= REG_MASK)
828 if (!(!(p & REG_MASK) || FUNCTION_CHECK_IS_REG(p & REG_MASK))) in function_check_src_mem()
831 if (CHECK_IF_VIRTUAL_REGISTER(p & REG_MASK)) in function_check_src_mem()
835 if (!(p & REG_MASK)) in function_check_src_mem()
945 if ((p) & REG_MASK) { in sljit_verbose_param()
947 sljit_verbose_reg(compiler, (p) & REG_MASK); in sljit_verbose_param()
967 if ((p) & REG_MASK) { in sljit_verbose_fparam()
[all …]
H A DsljitNativeARM_32.c1813 if (SLJIT_UNLIKELY(!(arg & REG_MASK))) { in emit_op_mem()
1833 arg &= REG_MASK; in emit_op_mem()
1846 arg &= REG_MASK; in emit_op_mem()
2366 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 1, arg & REG_MASK, reg, argw >> 2)); in emit_fop_mem()
2372 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | imm)); in emit_fop_mem()
2378 FAIL_IF(push_inst(compiler, SUB | RD(TMP_REG2) | RN(arg & REG_MASK) | imm)); in emit_fop_mem()
2385 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | RM(TMP_REG2))); in emit_fop_mem()
3192 arg &= REG_MASK; in update_mem_addr()
3412 if (!(type & SLJIT_MEM_STORE) && REG_PAIR_FIRST(reg) == (mem & REG_MASK)) { in sljit_emit_mem()
3427 if (REG_PAIR_FIRST(reg) == (mem & REG_MASK)) { in sljit_emit_mem()
[all …]
H A DsljitNativeMIPS_common.c1201 FAIL_IF(push_inst(compiler, data_transfer_insts[flags & MEM_MASK] | S(arg & REG_MASK) in getput_arg_fast()
1257 base = arg & REG_MASK; in getput_arg()
1346 base = arg & REG_MASK; in emit_op_mem()
2237 return push_inst(compiler, PREF | S(src & REG_MASK) | IMM(srcw), MOVABLE_INS); in emit_prefetch()
2240 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(TMP_REG1), MOVABLE_INS); in emit_prefetch()
2247 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(TMP_REG1), MOVABLE_INS); in emit_prefetch()
2250 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(OFFS_REG(src)), MOVABLE_INS); in emit_prefetch()
3381 …FAIL_IF(push_inst(compiler, ADDU_W | S(TMP_REG1) | T(arg & REG_MASK) | D(TMP_REG1), DR(TMP_REG1))); in update_mem_addr()
3392 *mem = arg & REG_MASK; in update_mem_addr()
3406 if ((arg & REG_MASK) == 0) in update_mem_addr()
[all …]
H A DsljitNativeRISCV_common.c870 FAIL_IF(push_mem_inst(compiler, flags, reg, arg & REG_MASK, argw)); in getput_arg_fast()
906 sljit_s32 base = arg & REG_MASK; in getput_arg()
995 sljit_s32 base = arg & REG_MASK; in emit_op_mem()
2671 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RS1(TMP_REG1) | RS2(mem & REG_MASK))); in sljit_emit_mem()
2673 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RS1(mem & REG_MASK) | RS2(OFFS_REG(mem)))); in sljit_emit_mem()
2686 if (mem & REG_MASK) in sljit_emit_mem()
2687 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RS1(TMP_REG1) | RS2(mem & REG_MASK))); in sljit_emit_mem()
2691 mem &= REG_MASK; in sljit_emit_mem()
H A DsljitNativeSPARC_32.c153 reg = reg_map[*src & REG_MASK]; in call_with_args()
H A DsljitNativePPC_64.c510 reg = *src & REG_MASK; in call_with_args()
H A DsljitNativeSPARC_common.c704 | S1(arg & REG_MASK) | ((arg & OFFS_REG_MASK) ? S2(OFFS_REG(arg)) : IMM(argw)), in getput_arg_fast()
745 base = arg & REG_MASK; in getput_arg()
H A DsljitNativeX86_common.c1317 if ((dst & REG_MASK) == SLJIT_R0) { in emit_mov_byte()
1326 else if ((dst & REG_MASK) == SLJIT_R1) in emit_mov_byte()

Completed in 110 milliseconds