Home
last modified time | relevance | path

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

/PHP-8.0/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_64.c439 if (b & REG_MASK) in emit_x86_instruction()
444 else if (reg_lmap[b & REG_MASK] == 4) in emit_x86_instruction()
448 if ((b & REG_MASK) == SLJIT_UNUSED) in emit_x86_instruction()
451 if (reg_map[b & REG_MASK] >= 8) in emit_x86_instruction()
461 else if (reg_lmap[b & REG_MASK] == 5) in emit_x86_instruction()
553 else if ((b & REG_MASK) != SLJIT_UNUSED) { in emit_x86_instruction()
555 if (immb != 0 || reg_lmap[b & REG_MASK] == 5) { in emit_x86_instruction()
563 *buf_ptr++ |= reg_lmap[b & REG_MASK]; in emit_x86_instruction()
569 if (immb != 0 || reg_lmap[b & REG_MASK] == 5) { in emit_x86_instruction()
579 if (reg_lmap[b & REG_MASK] == 5) in emit_x86_instruction()
[all …]
H A DsljitNativeX86_32.c371 SLJIT_ASSERT(!(b & SLJIT_MEM) || immb || reg_map[b & REG_MASK] != 5); in emit_x86_instruction()
384 if ((b & REG_MASK) == SLJIT_UNUSED) in emit_x86_instruction()
394 if ((b & REG_MASK) == SLJIT_SP && !(b & OFFS_REG_MASK)) in emit_x86_instruction()
465 else if ((b & REG_MASK) != SLJIT_UNUSED) { in emit_x86_instruction()
475 *buf_ptr++ |= reg_map[b & REG_MASK]; in emit_x86_instruction()
478 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3); in emit_x86_instruction()
492 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3) | (immb << 6); in emit_x86_instruction()
792 if ((src & REG_MASK) == SLJIT_R2 || OFFS_REG(src) == SLJIT_R2) { in sljit_emit_icall()
794 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)
761 if (!((p & REG_MASK) == SLJIT_UNUSED || FUNCTION_CHECK_IS_REG(p & REG_MASK))) in function_check_src_mem()
764 if (CHECK_IF_VIRTUAL_REGISTER(p & REG_MASK)) in function_check_src_mem()
768 if ((p & REG_MASK) == SLJIT_UNUSED) in function_check_src_mem()
883 if ((p) & REG_MASK) { in sljit_verbose_param()
885 sljit_verbose_reg(compiler, (p) & REG_MASK); in sljit_verbose_param()
907 if ((p) & REG_MASK) { in sljit_verbose_fparam()
[all …]
H A DsljitNativePPC_common.c1015 …return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(offs_re… in emit_op_mem()
1019 arg &= REG_MASK; in emit_op_mem()
1176 if (srcw == 0 && (src & REG_MASK) != SLJIT_UNUSED) in emit_prefetch()
1177 return push_inst(compiler, DCBT | A(0) | B(src & REG_MASK)); in emit_prefetch()
1181 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(TMP_REG1)); in emit_prefetch()
1187 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(OFFS_REG(src))); in emit_prefetch()
1194 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(TMP_REG1)); in emit_prefetch()
1657 if ((dst & REG_MASK) && !dstw) { in sljit_emit_fop1_conv_sw_from_f64()
1658 dstw = dst & REG_MASK; in sljit_emit_fop1_conv_sw_from_f64()
1668 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.c972 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem()
975 if (SLJIT_UNLIKELY(!(arg & REG_MASK))) { in emit_op_mem()
1547 if ((arg & REG_MASK) && (argw & 0x3) == 0) { in emit_fop_mem()
1551 return push_inst32(compiler, inst | RN4(arg & REG_MASK) | DD4(reg) | (-argw >> 2)); in emit_fop_mem()
1554 if (arg & REG_MASK) { in emit_fop_mem()
1555 if (emit_set_delta(compiler, TMP_REG1, arg & REG_MASK, argw) != SLJIT_ERR_UNSUPPORTED) { in emit_fop_mem()
1561 FAIL_IF(push_inst32(compiler, ADD_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm)); in emit_fop_mem()
1567 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm)); in emit_fop_mem()
1573 if (arg & REG_MASK) in emit_fop_mem()
1574 FAIL_IF(push_inst16(compiler, ADD | SET_REGS44(TMP_REG1, (arg & REG_MASK)))); in emit_fop_mem()
[all …]
H A DsljitNativeARM_32.c1377 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem()
1379 if ((arg & REG_MASK) == SLJIT_UNUSED) { in emit_op_mem()
1395 arg &= REG_MASK; in emit_op_mem()
1408 arg &= REG_MASK; in emit_op_mem()
1865 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 1, arg & REG_MASK, reg, argw >> 2)); in emit_fop_mem()
1867 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 0, arg & REG_MASK, reg, (-argw) >> 2)); in emit_fop_mem()
1871 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | imm)); in emit_fop_mem()
1877 FAIL_IF(push_inst(compiler, SUB | RD(TMP_REG2) | RN(arg & REG_MASK) | imm)); in emit_fop_mem()
1884 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | RM(TMP_REG2))); in emit_fop_mem()
2651 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.c877 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_op_mem()
879 …FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw << … in emit_op_mem()
883 arg &= REG_MASK; in emit_op_mem()
1396 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_fop_mem()
1398 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw <<… in emit_fop_mem()
1402 arg &= REG_MASK; in emit_fop_mem()
1919 return push_inst(compiler, inst | RT(reg) | RN(mem & REG_MASK) | ((memw & 0x1ff) << 12)); in sljit_emit_mem()
1948 return push_inst(compiler, inst | VT(freg) | RN(mem & REG_MASK) | ((memw & 0x1ff) << 12)); in sljit_emit_fmem()
H A DsljitNativeMIPS_common.c922 FAIL_IF(push_inst(compiler, data_transfer_insts[flags & MEM_MASK] | S(arg & REG_MASK) in getput_arg_fast()
973 base = arg & REG_MASK; in getput_arg()
1058 base = arg & REG_MASK; in emit_op_mem()
1307 return push_inst(compiler, PREF | S(src & REG_MASK) | IMM(srcw), MOVABLE_INS); in emit_prefetch()
1310 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(TMP_REG1), MOVABLE_INS); in emit_prefetch()
1317 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(TMP_REG1), MOVABLE_INS); in emit_prefetch()
1320 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.c421 reg = *src & REG_MASK; in call_with_args()
H A DsljitNativeSPARC_common.c604 | S1(arg & REG_MASK) | ((arg & OFFS_REG_MASK) ? S2(OFFS_REG(arg)) : IMM(argw)), in getput_arg_fast()
645 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.c1183 if ((dst & REG_MASK) == SLJIT_R0) { in emit_mov_byte()
1192 else if ((dst & REG_MASK) == SLJIT_R1) in emit_mov_byte()

Completed in 110 milliseconds