Home
last modified time | relevance | path

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

/PHP-7.3/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_64.c384 if (b & REG_MASK) in emit_x86_instruction()
389 else if (reg_lmap[b & REG_MASK] == 4) in emit_x86_instruction()
393 if ((b & REG_MASK) == SLJIT_UNUSED) in emit_x86_instruction()
396 if (reg_map[b & REG_MASK] >= 8) in emit_x86_instruction()
406 else if (reg_lmap[b & REG_MASK] == 5) in emit_x86_instruction()
498 else if ((b & REG_MASK) != SLJIT_UNUSED) { in emit_x86_instruction()
500 if (immb != 0 || reg_lmap[b & REG_MASK] == 5) { in emit_x86_instruction()
508 *buf_ptr++ |= reg_lmap[b & REG_MASK]; in emit_x86_instruction()
514 if (immb != 0 || reg_lmap[b & REG_MASK] == 5) { in emit_x86_instruction()
524 if (reg_lmap[b & REG_MASK] == 5) in emit_x86_instruction()
[all …]
H A DsljitNativeX86_32.c380 if ((b & REG_MASK) == SLJIT_UNUSED) in emit_x86_instruction()
390 if ((b & REG_MASK) == SLJIT_SP && !(b & OFFS_REG_MASK)) in emit_x86_instruction()
461 else if ((b & REG_MASK) != SLJIT_UNUSED) { in emit_x86_instruction()
471 *buf_ptr++ |= reg_map[b & REG_MASK]; in emit_x86_instruction()
474 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3); in emit_x86_instruction()
488 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3) | (immb << 6); in emit_x86_instruction()
788 if ((src & REG_MASK) == SLJIT_R2 || OFFS_REG(src) == SLJIT_R2) { in sljit_emit_icall()
790 if (((src & REG_MASK) | 0x2) == SLJIT_R2) in sljit_emit_icall()
H A DsljitLir.c124 #define REG_MASK 0x3f macro
125 #define OFFS_REG(reg) (((reg) >> 8) & REG_MASK)
126 #define OFFS_REG_MASK (REG_MASK << 8)
129 #define FAST_IS_REG(reg) ((reg) <= REG_MASK)
716 if (!((p & REG_MASK) == SLJIT_UNUSED || FUNCTION_CHECK_IS_REG(p & REG_MASK))) in function_check_src_mem()
719 if (CHECK_IF_VIRTUAL_REGISTER(p & REG_MASK)) in function_check_src_mem()
723 if ((p & REG_MASK) == SLJIT_UNUSED) in function_check_src_mem()
838 if ((p) & REG_MASK) { in sljit_verbose_param()
840 sljit_verbose_reg(compiler, (p) & REG_MASK); in sljit_verbose_param()
862 if ((p) & REG_MASK) { in sljit_verbose_fparam()
[all …]
H A DsljitNativePPC_common.c925 …return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(offs_re… in emit_op_mem()
929 arg &= REG_MASK; in emit_op_mem()
1083 if (srcw == 0 && (src & REG_MASK) != SLJIT_UNUSED) in emit_prefetch()
1084 return push_inst(compiler, DCBT | A(0) | B(src & REG_MASK)); in emit_prefetch()
1088 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(TMP_REG1)); in emit_prefetch()
1094 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(OFFS_REG(src))); in emit_prefetch()
1101 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(TMP_REG1)); in emit_prefetch()
1542 if ((dst & REG_MASK) && !dstw) { in sljit_emit_fop1_conv_sw_from_f64()
1543 dstw = dst & REG_MASK; in sljit_emit_fop1_conv_sw_from_f64()
1553 return push_inst(compiler, STFIWX | FS(TMP_FREG1) | A(dst & REG_MASK) | B(dstw)); in sljit_emit_fop1_conv_sw_from_f64()
[all …]
H A DsljitNativeARM_T2_32.c950 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem()
953 if (SLJIT_UNLIKELY(!(arg & REG_MASK))) { in emit_op_mem()
1500 if ((arg & REG_MASK) && (argw & 0x3) == 0) { in emit_fop_mem()
1504 return push_inst32(compiler, inst | RN4(arg & REG_MASK) | DD4(reg) | (-argw >> 2)); in emit_fop_mem()
1507 if (arg & REG_MASK) { in emit_fop_mem()
1508 if (emit_set_delta(compiler, TMP_REG1, arg & REG_MASK, argw) != SLJIT_ERR_UNSUPPORTED) { in emit_fop_mem()
1514 FAIL_IF(push_inst32(compiler, ADD_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm)); in emit_fop_mem()
1520 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm)); in emit_fop_mem()
1526 if (arg & REG_MASK) in emit_fop_mem()
1527 FAIL_IF(push_inst16(compiler, ADD | SET_REGS44(TMP_REG1, (arg & REG_MASK)))); in emit_fop_mem()
[all …]
H A DsljitNativeARM_32.c1341 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem()
1343 if ((arg & REG_MASK) == SLJIT_UNUSED) { in emit_op_mem()
1359 arg &= REG_MASK; in emit_op_mem()
1372 arg &= REG_MASK; in emit_op_mem()
1800 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 1, arg & REG_MASK, reg, argw >> 2)); in emit_fop_mem()
1802 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 0, arg & REG_MASK, reg, (-argw) >> 2)); in emit_fop_mem()
1806 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | imm)); in emit_fop_mem()
1812 FAIL_IF(push_inst(compiler, SUB | RD(TMP_REG2) | RN(arg & REG_MASK) | imm)); in emit_fop_mem()
1819 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | RM(TMP_REG2))); in emit_fop_mem()
2602 inst = EMIT_DATA_TRANSFER(flags, 1, reg, mem & REG_MASK, RM(OFFS_REG(mem)) | (memw << 7)); in sljit_emit_mem()
[all …]
H A DsljitNativeARM_64.c827 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_op_mem()
829 …FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw << … in emit_op_mem()
833 arg &= REG_MASK; in emit_op_mem()
1320 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_fop_mem()
1322 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw <<… in emit_fop_mem()
1326 arg &= REG_MASK; in emit_fop_mem()
1857 return push_inst(compiler, inst | RT(reg) | RN(mem & REG_MASK) | ((memw & 0x1ff) << 12)); in sljit_emit_mem()
1886 return push_inst(compiler, inst | VT(freg) | RN(mem & REG_MASK) | ((memw & 0x1ff) << 12)); in sljit_emit_fmem()
H A DsljitNativeMIPS_common.c763 FAIL_IF(push_inst(compiler, data_transfer_insts[flags & MEM_MASK] | S(arg & REG_MASK) in getput_arg_fast()
814 base = arg & REG_MASK; in getput_arg()
899 base = arg & REG_MASK; in emit_op_mem()
1117 return push_inst(compiler, PREF | S(src & REG_MASK) | IMM(srcw), MOVABLE_INS); in emit_prefetch()
1120 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(TMP_REG1), MOVABLE_INS); in emit_prefetch()
1127 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(TMP_REG1), MOVABLE_INS); in emit_prefetch()
1130 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(OFFS_REG(src)), MOVABLE_INS); in emit_prefetch()
H A DsljitNativeSPARC_32.c153 reg = reg_map[*src & REG_MASK]; in call_with_args()
H A DsljitNativePPC_64.c424 reg = *src & REG_MASK; in call_with_args()
H A DsljitNativeSPARC_common.c571 | S1(arg & REG_MASK) | ((arg & OFFS_REG_MASK) ? S2(OFFS_REG(arg)) : IMM(argw)), in getput_arg_fast()
612 base = arg & REG_MASK; in getput_arg()
H A DsljitNativeTILEGX_64.c1292 if ((!(flags & WRITE_BACK) || !(arg & REG_MASK)) in getput_arg_fast()
1298 FAIL_IF(ADDLI(ADDR_TMP_mapped, reg_map[arg & REG_MASK], argw)); in getput_arg_fast()
1355 base = arg & REG_MASK; in getput_arg()
H A DsljitNativeX86_common.c978 if ((dst & REG_MASK) == SLJIT_R0) { in emit_mov_byte()
987 else if ((dst & REG_MASK) == SLJIT_R1) in emit_mov_byte()

Completed in 131 milliseconds