Home
last modified time | relevance | path

Searched refs:SLJIT_IMM (Results 1 – 16 of 16) sorted by relevance

/third_party/pcre2/pcre2/src/
Dpcre2_jit_compile.c2153 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -OVECTOR(0)); in init_frame()
2170 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->mark_ptr); in init_frame()
2183 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -OVECTOR(0)); in init_frame()
2192 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->mark_ptr); in init_frame()
2201 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->capture_last_ptr); in init_frame()
2217 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->capture_last_ptr); in init_frame()
2224 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, OVECTOR(offset)); in init_frame()
2242 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, 0); in init_frame()
3137 OP2(SLJIT_SUB | SLJIT_SET_Z, COUNT_MATCH, 0, COUNT_MATCH, 0, SLJIT_IMM, 1); in count_match()
3147 OP2(SLJIT_SUB, STACK_TOP, 0, STACK_TOP, 0, SLJIT_IMM, size * sizeof(sljit_sw)); in allocate_stack()
[all …]
Dpcre2_jit_simd_inc.h70 OP2(SLJIT_AND, reg, 0, reg, 0, SLJIT_IMM, 0xc0); in jump_if_utf_char_start()
71 return CMP(SLJIT_NOT_EQUAL, reg, 0, SLJIT_IMM, 0x80); in jump_if_utf_char_start()
73 OP2(SLJIT_AND, reg, 0, reg, 0, SLJIT_IMM, 0xfc00); in jump_if_utf_char_start()
74 return CMP(SLJIT_NOT_EQUAL, reg, 0, SLJIT_IMM, 0xdc00); in jump_if_utf_char_start()
245 OP1(SLJIT_MOV, TMP1, 0, SLJIT_IMM, character_to_int32(char1 | bit)); in fast_forward_char_simd()
258 OP1(SLJIT_MOV, TMP1, 0, SLJIT_IMM, character_to_int32(bit != 0 ? bit : char2)); in fast_forward_char_simd()
285 OP2(SLJIT_AND, STR_PTR, 0, STR_PTR, 0, SLJIT_IMM, ~0xf); in fast_forward_char_simd()
286 OP2(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_IMM, 0xf); in fast_forward_char_simd()
302 quit = CMP(SLJIT_NOT_ZERO, TMP1, 0, SLJIT_IMM, 0); in fast_forward_char_simd()
309 OP2(SLJIT_ADD, STR_PTR, 0, STR_PTR, 0, SLJIT_IMM, 16); in fast_forward_char_simd()
[all …]
/third_party/pcre2/pcre2/src/sljit/
DsljitNativeX86_common.c693 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, immw, arg, argw); \
870 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, 1); in adjust_shadow_stack()
909 if (src & SLJIT_IMM) { in emit_mov()
933 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw); in emit_mov()
1123 if (src & SLJIT_IMM) { in emit_mov_byte()
1128 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0); in emit_mov_byte()
1134 …inst = emit_x86_instruction(compiler, 1 | EX86_BYTE_ARG | EX86_NO_REXW, SLJIT_IMM, srcw, dst, dstw… in emit_mov_byte()
1170 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, SLJIT_IMM, 24, dst, 0); in emit_mov_byte()
1174 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, SLJIT_IMM, 24, dst, 0); in emit_mov_byte()
1179 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, 0xff, dst, 0); in emit_mov_byte()
[all …]
DsljitNativeX86_64.c75 SLJIT_ASSERT(!(a & SLJIT_IMM) || compiler->mode32 || IS_HALFWORD(imma)); in emit_x86_instruction()
83 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction()
147 if (a & SLJIT_IMM) { in emit_x86_instruction()
199 if ((flags & EX86_BIN_INS) && (a & SLJIT_IMM)) in emit_x86_instruction()
202 if (a & SLJIT_IMM) in emit_x86_instruction()
210 if (a & SLJIT_IMM) { in emit_x86_instruction()
262 if (a & SLJIT_IMM) { in emit_x86_instruction()
493 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, local_size >> 12); in sljit_emit_enter()
922 if (src & SLJIT_IMM) { in emit_mov_int()
925 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, (sljit_sw)(sljit_s32)srcw, dst, dstw); in emit_mov_int()
[all …]
DsljitNativeX86_32.c65 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction()
101 if (a & SLJIT_IMM) { in emit_x86_instruction()
141 if ((flags & EX86_BIN_INS) && (a & SLJIT_IMM)) in emit_x86_instruction()
144 if (a & SLJIT_IMM) in emit_x86_instruction()
152 if (a & SLJIT_IMM) { in emit_x86_instruction()
203 if (a & SLJIT_IMM) { in emit_x86_instruction()
462 EMIT_MOV(compiler, SLJIT_R2, 0, SLJIT_IMM, local_size >> 12); in sljit_emit_enter()
906 if (!(src & SLJIT_IMM) && src != SLJIT_R0) { in tail_call_with_args()
1009 if (word_arg_count >= 1 && !(src & SLJIT_IMM) && src != SLJIT_R0) { in tail_call_with_args()
1044 if (!(src & SLJIT_IMM) && src != SLJIT_R0) { in tail_call_with_args()
[all …]
DsljitNativePPC_common.c1169 else if (src1 & SLJIT_IMM) { in emit_op()
1189 else if (src2 & SLJIT_IMM) { in emit_op()
1285 …emit_op(compiler, (src & SLJIT_IMM) ? SLJIT_MOV : type, flags | (type_flags), dst, dstw, TMP_REG1,…
1316 else if (src & SLJIT_IMM) { in sljit_emit_op1()
1378 (((src) & SLJIT_IMM) && (srcw) <= SIMM_MAX && (srcw) >= SIMM_MIN)
1381 (((src) & SLJIT_IMM) && !((srcw) & ~0xffff))
1385 (((src) & SLJIT_IMM) && !((srcw) & 0xffff) && (srcw) <= 0x7fffffffl && (srcw) >= -0x80000000l)
1388 (((src) & SLJIT_IMM) && !((srcw) & 0xffff))
1392 (((src) & SLJIT_IMM) && !((srcw) & ~(sljit_sw)0xffff0000))
1396 (((src) & SLJIT_IMM) && (srcw) <= 0x7fff7fffl && (srcw) >= -0x80000000l)
[all …]
DsljitNativeMIPS_common.c1328 if ((src2 & SLJIT_IMM) && src2w) { in emit_op()
1335 if (!(flags & SRC2_IMM) && (flags & CUMULATIVE_OP) && (src1 & SLJIT_IMM) && src1w) { in emit_op()
1344 src2 = SLJIT_IMM; in emit_op()
1355 else if (src1 & SLJIT_IMM) { in emit_op()
1378 else if (src2 & SLJIT_IMM) { in emit_op()
1564 … SLJIT_MOV_U32, INT_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_u32)sr… in sljit_emit_op1()
1568 …, INT_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s32)sr… in sljit_emit_op1()
1572 …return emit_op(compiler, op, BYTE_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ?… in sljit_emit_op1()
1575 … BYTE_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s8)src… in sljit_emit_op1()
1578 …return emit_op(compiler, op, HALF_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ?… in sljit_emit_op1()
[all …]
DsljitNativeSPARC_common.c841 if ((src2 & SLJIT_IMM) && src2w) { in emit_op()
847 if (!(flags & SRC2_IMM) && (flags & CUMULATIVE_OP) && (src1 & SLJIT_IMM) && src1w) { in emit_op()
855 src2 = SLJIT_IMM; in emit_op()
864 else if (src1 & SLJIT_IMM) { in emit_op()
887 else if (src2 & SLJIT_IMM) { in emit_op()
1013 …OV_U8, flags | BYTE_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_u8)src… in sljit_emit_op1()
1016 … BYTE_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s8)src… in sljit_emit_op1()
1019 …V_U16, flags | HALF_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_u16)sr… in sljit_emit_op1()
1022 … HALF_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s16)sr… in sljit_emit_op1()
1063 if (src2 & SLJIT_IMM) in sljit_emit_op2()
[all …]
DsljitNativeARM_64.c1269 if (src & SLJIT_IMM) in sljit_emit_op1()
1274 if (src & SLJIT_IMM) in sljit_emit_op1()
1279 if (src & SLJIT_IMM) in sljit_emit_op1()
1284 if (src & SLJIT_IMM) in sljit_emit_op1()
1289 if (src & SLJIT_IMM) in sljit_emit_op1()
1295 if (src & SLJIT_IMM) in sljit_emit_op1()
1304 if (src & SLJIT_IMM) in sljit_emit_op1()
1371 if (src1 & SLJIT_IMM) in sljit_emit_op2()
1376 if (src2 & SLJIT_IMM) in sljit_emit_op2()
1552 } else if (src & SLJIT_IMM) { in sljit_emit_fop1_conv_f64_from_sw()
[all …]
DsljitNativeS390X.c1032 if (src & SLJIT_IMM) in emit_move()
1937 if (FAST_IS_REG(dst) && (src & SLJIT_IMM)) { in sljit_emit_op1()
2017 && (FAST_IS_REG(src) || (src & SLJIT_IMM))) { in sljit_emit_op1()
2019 if (src & SLJIT_IMM) { in sljit_emit_op1()
2090 SLJIT_ASSERT((src & SLJIT_IMM) == 0); /* no immediates */ in sljit_emit_op1()
2204 if (src2 & SLJIT_IMM) { in sljit_emit_add()
2289 if (src2 & SLJIT_IMM) { in sljit_emit_sub()
2326 if (src1 == SLJIT_IMM && src1w == 0 && (flag_type == 0 || sets_signed)) { in sljit_emit_sub()
2332 if (src2 & SLJIT_IMM) { in sljit_emit_sub()
2440 if (src2 & SLJIT_IMM) { in sljit_emit_multiply()
[all …]
DsljitLir.c859 if (p == SLJIT_IMM) in function_check_src()
944 if ((p) & SLJIT_IMM) in sljit_verbose_param()
1289 CHECK_ARGUMENT(src != SLJIT_IMM); in check_sljit_emit_op1()
1402 CHECK_ARGUMENT(src != SLJIT_IMM); in check_sljit_emit_op_src()
1874 if (src != SLJIT_IMM) { in check_sljit_emit_cmov()
2178 if ((src1 & SLJIT_IMM) && !src1w) { in sljit_emit_cmp()
2181 src2 = SLJIT_IMM; in sljit_emit_cmp()
2184 if ((src2 & SLJIT_IMM) && !src2w) in sljit_emit_cmp()
2189 if (SLJIT_UNLIKELY((src1 & SLJIT_IMM) && !(src2 & SLJIT_IMM))) { in sljit_emit_cmp()
2324 return sljit_emit_op2(compiler, SLJIT_ADD, dst, dstw, SLJIT_SP, 0, SLJIT_IMM, offset); in sljit_get_local_base()
DsljitNativeARM_T2_32.c1525 FAIL_IF(sljit_emit_ijump(compiler, SLJIT_FAST_CALL, SLJIT_IMM, in sljit_emit_op0()
1528 FAIL_IF(sljit_emit_ijump(compiler, SLJIT_FAST_CALL, SLJIT_IMM, in sljit_emit_op0()
1582 if (src & SLJIT_IMM) in sljit_emit_op1()
1587 if (src & SLJIT_IMM) in sljit_emit_op1()
1592 if (src & SLJIT_IMM) in sljit_emit_op1()
1597 if (src & SLJIT_IMM) in sljit_emit_op1()
1606 if (src & SLJIT_IMM) in sljit_emit_op1()
1655 if (src1 & SLJIT_IMM) in sljit_emit_op2()
1664 if (src2 & SLJIT_IMM) in sljit_emit_op2()
2350 if (!(src & SLJIT_IMM)) { in sljit_emit_ijump()
[all …]
DsljitNativeARM_32.c1205 FAIL_IF(emit_op(compiler, SLJIT_SUB, ALLOW_IMM, SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, local_size)); in sljit_emit_enter()
1815 if (src2 & SLJIT_IMM) { in emit_op()
1835 if (src1 & SLJIT_IMM) { in emit_op()
1977 FAIL_IF(sljit_emit_ijump(compiler, SLJIT_FAST_CALL, SLJIT_IMM, in sljit_emit_op0()
2022 …_MOV_U8, ALLOW_ANY_IMM | BYTE_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_u8)src… in sljit_emit_op1()
2025 …ALLOW_ANY_IMM | SIGNED | BYTE_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s8)src… in sljit_emit_op1()
2028 …MOV_U16, ALLOW_ANY_IMM | HALF_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_u16)sr… in sljit_emit_op1()
2031 …ALLOW_ANY_IMM | SIGNED | HALF_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_s16)sr… in sljit_emit_op1()
2074 if (src2 & SLJIT_IMM) { in sljit_emit_op2()
2778 if (!(src & SLJIT_IMM)) { in sljit_emit_ijump()
[all …]
DsljitLir.h807 #define SLJIT_IMM 0x40 macro
DsljitNativeMIPS_32.c628 if (src & SLJIT_IMM) in sljit_emit_icall()
DsljitNativeMIPS_64.c685 if (src & SLJIT_IMM) in sljit_emit_icall()