Home
last modified time | relevance | path

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

/PHP-5.6/ext/pcre/pcrelib/sljit/
H A DsljitNativeX86_64.c393 if (b & REG_MASK) in emit_x86_instruction()
398 else if (reg_lmap[b & REG_MASK] == 4) in emit_x86_instruction()
402 if ((b & REG_MASK) == SLJIT_UNUSED) in emit_x86_instruction()
405 if (reg_map[b & REG_MASK] >= 8) in emit_x86_instruction()
415 else if (reg_lmap[b & REG_MASK] == 5) in emit_x86_instruction()
499 else if ((b & REG_MASK) != SLJIT_UNUSED) { in emit_x86_instruction()
501 if (immb != 0 || reg_lmap[b & REG_MASK] == 5) { in emit_x86_instruction()
509 *buf_ptr++ |= reg_lmap[b & REG_MASK]; in emit_x86_instruction()
515 if (immb != 0 || reg_lmap[b & REG_MASK] == 5) { in emit_x86_instruction()
525 if (reg_lmap[b & REG_MASK] == 5) in emit_x86_instruction()
[all …]
H A DsljitLir.c100 #define REG_MASK 0x3f macro
101 #define OFFS_REG(reg) (((reg) >> 8) & REG_MASK)
102 #define OFFS_REG_MASK (REG_MASK << 8)
105 #define FAST_IS_REG(reg) ((reg) <= REG_MASK)
714 CHECK_NOT_VIRTUAL_REGISTER((p) & REG_MASK); \
733 CHECK_NOT_VIRTUAL_REGISTER((p) & REG_MASK); \
753 CHECK_NOT_VIRTUAL_REGISTER((p) & REG_MASK); \
767 if ((src & SLJIT_MEM) && (src & REG_MASK)) \
768 CHECK_ARGUMENT((dst & REG_MASK) != (src & REG_MASK) && OFFS_REG(dst) != (src & REG_MASK)); \
802 if ((p) & REG_MASK) { \
[all …]
H A DsljitNativeX86_32.c308 if ((b & REG_MASK) == SLJIT_UNUSED) in emit_x86_instruction()
318 if ((b & REG_MASK) == SLJIT_SP && !(b & OFFS_REG_MASK)) in emit_x86_instruction()
389 else if ((b & REG_MASK) != SLJIT_UNUSED) { in emit_x86_instruction()
399 *buf_ptr++ |= reg_map[b & REG_MASK]; in emit_x86_instruction()
402 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3); in emit_x86_instruction()
416 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3) | (immb << 6); in emit_x86_instruction()
H A DsljitNativeARM_32.c1361 if (!(arg & REG_MASK)) in getput_arg_fast()
1421 if (!(arg & REG_MASK)) { in can_cache()
1448 tmp_r = arg & REG_MASK; \
1476 if ((arg & REG_MASK) == SLJIT_UNUSED) { in getput_arg()
1512 tmp_r = arg & REG_MASK; in getput_arg()
1533 FAIL_IF(push_inst(compiler, EMIT_DATA_PROCESS_INS(ADD_DP, 0, tmp_r, arg & REG_MASK, imm))); in getput_arg()
1576 if ((arg & REG_MASK) == tmp_r) { in getput_arg()
2057 if ((arg & REG_MASK)) { in emit_fop_mem()
2077 if (arg & REG_MASK) { in emit_fop_mem()
2078 if (emit_set_delta(compiler, TMP_REG1, arg & REG_MASK, argw) != SLJIT_ERR_UNSUPPORTED) { in emit_fop_mem()
[all …]
H A DsljitNativePPC_common.c864 if (SLJIT_UNLIKELY(!(arg & REG_MASK))) in getput_arg_fast()
869 SLJIT_ASSERT((arg & REG_MASK) || !(inst & UPDATE_REQ)); in getput_arg_fast()
922 if (!(arg & REG_MASK)) in can_cache()
956 if ((arg & REG_MASK) == tmp_r) in getput_arg()
983 if (SLJIT_UNLIKELY(!(arg & REG_MASK))) in getput_arg()
987 SLJIT_ASSERT((arg & REG_MASK) || !(inst & UPDATE_REQ)); in getput_arg()
994 arg &= REG_MASK; in getput_arg()
1031 if (SLJIT_UNLIKELY(!(arg & REG_MASK))) { in getput_arg()
1766 if ((dst & REG_MASK) && !dstw) { in sljit_emit_fop1_convw_fromd()
1767 dstw = dst & REG_MASK; in sljit_emit_fop1_convw_fromd()
[all …]
H A DsljitNativeARM_64.c839 arg &= REG_MASK; in getput_arg_fast()
861 arg &= REG_MASK; in getput_arg_fast()
891 if (!(arg & REG_MASK)) { in can_cache()
924 if (SLJIT_UNLIKELY((flags & UPDATE) && (arg & REG_MASK))) { in getput_arg()
928 other_r = arg & REG_MASK; in getput_arg()
968 arg &= REG_MASK; in getput_arg()
985 arg &= REG_MASK; in getput_arg()
1009 arg &= REG_MASK; in getput_arg()
1568 arg &= REG_MASK; in emit_fop_mem()
1574 arg &= REG_MASK; in emit_fop_mem()
[all …]
H A DsljitNativeARM_T2_32.c898 if ((arg & REG_MASK) && !(arg & OFFS_REG_MASK) && argw <= 0xff && argw >= -0xff) { in getput_arg_fast()
932 if (!(arg & REG_MASK) || argw > 0xfff || argw < -0xff) in getput_arg_fast()
984 if (!(arg & REG_MASK)) { in can_cache()
1016 if (SLJIT_UNLIKELY((flags & UPDATE) && (arg & REG_MASK))) { in getput_arg()
1075 next_arg = (arg & REG_MASK) && (arg == next_arg) && (argw != next_argw); in getput_arg()
1580 if ((arg & REG_MASK) && (argw & 0x3) == 0) { in emit_fop_mem()
1584 return push_inst32(compiler, inst | RN4(arg & REG_MASK) | DD4(reg) | (-argw >> 2)); in emit_fop_mem()
1602 if (arg & REG_MASK) { in emit_fop_mem()
1609 FAIL_IF(push_inst32(compiler, ADD_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm)); in emit_fop_mem()
1624 if (arg & REG_MASK) in emit_fop_mem()
[all …]
H A DsljitNativeX86_common.c967 if ((dst & REG_MASK) == SLJIT_R0) { in emit_mov_byte()
976 else if ((dst & REG_MASK) == SLJIT_R1) in emit_mov_byte()
1190 if ((dst & REG_MASK) != SLJIT_R0 && (dst & OFFS_REG_MASK) != TO_OFFS_REG(SLJIT_R0)) in emit_clz()
1192 else if ((dst & REG_MASK) != SLJIT_R1 && (dst & OFFS_REG_MASK) != TO_OFFS_REG(SLJIT_R1)) in emit_clz()
1341 …if (SLJIT_UNLIKELY(update) && (src & SLJIT_MEM) && !src_is_ereg && (src & REG_MASK) && (srcw != 0 … in sljit_emit_op1()
1342 inst = emit_x86_instruction(compiler, 1, src & REG_MASK, 0, src, srcw); in sljit_emit_op1()
1392 …if (SLJIT_UNLIKELY(update) && (dst & SLJIT_MEM) && (dst & REG_MASK) && (dstw != 0 || (dst & OFFS_R… in sljit_emit_op1()
1393 inst = emit_x86_instruction(compiler, 1, dst & REG_MASK, 0, dst, dstw); in sljit_emit_op1()
H A DsljitNativeSPARC_common.c513 if (!(flags & WRITE_BACK) || !(arg & REG_MASK)) { in getput_arg_fast()
521 | S1(arg & REG_MASK) | ((arg & OFFS_REG_MASK) ? S2(OFFS_REG(arg)) : IMM(argw)), in getput_arg_fast()
563 base = arg & REG_MASK; in getput_arg()
H A DsljitNativeMIPS_common.c705 …if ((!(flags & WRITE_BACK) || !(arg & REG_MASK)) && !(arg & OFFS_REG_MASK) && argw <= SIMM_MAX && … in getput_arg_fast()
709 FAIL_IF(push_inst(compiler, data_transfer_insts[flags & MEM_MASK] | S(arg & REG_MASK) in getput_arg_fast()
759 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()

Completed in 93 milliseconds