Home
last modified time | relevance | path

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

/external/pcre/dist/
Dpcre_jit_compile.c1445 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -OVECTOR(0)); in init_frame()
1461 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->mark_ptr); in init_frame()
1474 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -OVECTOR(0)); in init_frame()
1483 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->mark_ptr); in init_frame()
1492 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->capture_last_ptr); in init_frame()
1508 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, -common->capture_last_ptr); in init_frame()
1515 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, OVECTOR(offset)); in init_frame()
1533 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), stackpos, SLJIT_IMM, 0); in init_frame()
2091 OP2(SLJIT_SUB | SLJIT_SET_E, COUNT_MATCH, 0, COUNT_MATCH, 0, SLJIT_IMM, 1); in count_match()
2100 OP2(SLJIT_ADD, STACK_TOP, 0, STACK_TOP, 0, SLJIT_IMM, size * sizeof(sljit_sw)); in allocate_stack()
[all …]
/external/pcre/dist/sljit/
DsljitNativeX86_common.c672 if (src & SLJIT_IMM) { in emit_mov()
694 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw); in emit_mov()
879 if (src & SLJIT_IMM) { in emit_mov_byte()
884 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0); in emit_mov_byte()
890 …inst = emit_x86_instruction(compiler, 1 | EX86_BYTE_ARG | EX86_NO_REXW, SLJIT_IMM, srcw, dst, dstw… in emit_mov_byte()
926 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, SLJIT_IMM, 24, dst, 0); in emit_mov_byte()
930 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, SLJIT_IMM, 24, dst, 0); in emit_mov_byte()
935 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, 0xff, dst, 0); in emit_mov_byte()
1021 if (src & SLJIT_IMM) { in emit_mov_half()
1026 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0); in emit_mov_half()
[all …]
DsljitNativeX86_32.c163 SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, FIXED_LOCALS_OFFSET)); in sljit_emit_enter()
165 FAIL_IF(sljit_emit_ijump(compiler, SLJIT_CALL1, SLJIT_IMM, SLJIT_FUNC_OFFSET(sljit_grow_stack))); in sljit_emit_enter()
171 SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, local_size); in sljit_emit_enter()
213 SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, compiler->local_size)); in sljit_emit_return()
271 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction()
305 if (a & SLJIT_IMM) { in emit_x86_instruction()
345 if ((flags & EX86_BIN_INS) && (a & SLJIT_IMM)) in emit_x86_instruction()
348 if ((a & SLJIT_IMM) || (a == 0)) in emit_x86_instruction()
356 if (a & SLJIT_IMM) { in emit_x86_instruction()
404 if (a & SLJIT_IMM) { in emit_x86_instruction()
DsljitNativeX86_64.c207 FAIL_IF(sljit_emit_ijump(compiler, SLJIT_CALL1, SLJIT_IMM, SLJIT_FUNC_OFFSET(sljit_grow_stack))); in sljit_emit_enter()
372 SLJIT_ASSERT(!(a & SLJIT_IMM) || compiler->mode32 || IS_HALFWORD(imma)); in emit_x86_instruction()
380 SLJIT_ASSERT(!(a & SLJIT_IMM) || !(flags & EX86_SSE2)); in emit_x86_instruction()
441 if (a & SLJIT_IMM) { in emit_x86_instruction()
489 if ((flags & EX86_BIN_INS) && (a & SLJIT_IMM)) in emit_x86_instruction()
492 if ((a & SLJIT_IMM) || (a == 0)) in emit_x86_instruction()
500 if (a & SLJIT_IMM) { in emit_x86_instruction()
553 if (a & SLJIT_IMM) { in emit_x86_instruction()
650 if ((src & SLJIT_IMM) && NOT_HALFWORD(srcw)) { in sljit_emit_fast_return()
717 if (src & SLJIT_IMM) { in emit_mov_int()
[all …]
DsljitNativeMIPS_common.c947 if ((src2 & SLJIT_IMM) && src2w) { in emit_op()
954 if (!(flags & SRC2_IMM) && (flags & CUMULATIVE_OP) && (src1 & SLJIT_IMM) && src1w) { in emit_op()
963 src2 = SLJIT_IMM; in emit_op()
974 else if (src1 & SLJIT_IMM) { in emit_op()
997 else if (src2 & SLJIT_IMM) { in emit_op()
1112 if (src & SLJIT_IMM) in sljit_emit_op1()
1126 …return emit_op(compiler, SLJIT_MOV_UI, INT_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? … in sljit_emit_op1()
1133 …JIT_MOV_SI, INT_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_si)src… in sljit_emit_op1()
1137 …return emit_op(compiler, SLJIT_MOV_UB, BYTE_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ?… in sljit_emit_op1()
1140 …IT_MOV_SB, BYTE_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_sb)src… in sljit_emit_op1()
[all …]
DsljitNativePPC_common.c1048 if ((compiler->cache_arg & SLJIT_IMM) && diff <= SIMM_MAX && diff >= SIMM_MIN) { in getput_arg()
1057 compiler->cache_arg = SLJIT_IMM; in getput_arg()
1073 if ((compiler->cache_arg & SLJIT_IMM) && diff <= SIMM_MAX && diff >= SIMM_MIN) { in getput_arg()
1087 compiler->cache_arg = SLJIT_IMM; in getput_arg()
1111 compiler->cache_arg = SLJIT_IMM; in getput_arg()
1181 else if (src1 & SLJIT_IMM) { in emit_op()
1199 else if (src2 & SLJIT_IMM) { in emit_op()
1308 …emit_op(compiler, (src & SLJIT_IMM) ? SLJIT_MOV : type, flags | (type_flags), dst, dstw, TMP_REG1,…
1323 if ((src & SLJIT_IMM) && srcw == 0) in sljit_emit_op1()
1340 if (op == SLJIT_MOV_UI && (src & SLJIT_IMM)) in sljit_emit_op1()
[all …]
DsljitNativeSPARC_common.c680 if ((src2 & SLJIT_IMM) && src2w) { in emit_op()
686 if (!(flags & SRC2_IMM) && (flags & CUMULATIVE_OP) && (src1 & SLJIT_IMM) && src1w) { in emit_op()
694 src2 = SLJIT_IMM; in emit_op()
703 else if (src1 & SLJIT_IMM) { in emit_op()
726 else if (src2 & SLJIT_IMM) { in emit_op()
841 …r, SLJIT_MOV_UB, flags | BYTE_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_ub)src… in sljit_emit_op1()
844 …B, flags | BYTE_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_sb)src… in sljit_emit_op1()
847 …r, SLJIT_MOV_UH, flags | HALF_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_uh)src… in sljit_emit_op1()
850 …H, flags | HALF_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_sh)src… in sljit_emit_op1()
863 …UB, flags | BYTE_DATA | WRITE_BACK, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_ub)src… in sljit_emit_op1()
[all …]
DsljitNativeARM_32.c863 FAIL_IF(emit_op(compiler, SLJIT_SUB, ALLOW_IMM, SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, local_size)); in sljit_emit_enter()
908 …FAIL_IF(emit_op(compiler, SLJIT_ADD, ALLOW_IMM, SLJIT_SP, 0, SLJIT_SP, 0, SLJIT_IMM, compiler->loc… in sljit_emit_return()
1353 if (arg & SLJIT_IMM) { in getput_arg_fast()
1427 if (arg & SLJIT_IMM) in can_cache()
1479 if (arg & SLJIT_IMM) { in getput_arg()
1492 …if ((compiler->cache_arg & SLJIT_IMM) && (imm <= (sljit_uw)max_delta || imm >= (sljit_uw)-max_delt… in getput_arg()
1512 compiler->cache_arg = SLJIT_IMM; in getput_arg()
1560 if ((compiler->cache_arg & SLJIT_IMM) && compiler->cache_argw == argw) { in getput_arg()
1569 compiler->cache_arg = SLJIT_IMM; in getput_arg()
1590 compiler->cache_arg = SLJIT_IMM; in getput_arg()
[all …]
DsljitNativeARM_64.c1271 if (src & SLJIT_IMM) in sljit_emit_op1()
1276 if (src & SLJIT_IMM) in sljit_emit_op1()
1281 if (src & SLJIT_IMM) in sljit_emit_op1()
1286 if (src & SLJIT_IMM) in sljit_emit_op1()
1291 if (src & SLJIT_IMM) in sljit_emit_op1()
1296 if (src & SLJIT_IMM) in sljit_emit_op1()
1305 if (src & SLJIT_IMM) in sljit_emit_op1()
1310 if (src & SLJIT_IMM) in sljit_emit_op1()
1315 if (src & SLJIT_IMM) in sljit_emit_op1()
1320 if (src & SLJIT_IMM) in sljit_emit_op1()
[all …]
DsljitNativeTILEGX_64.c1630 else if (src & SLJIT_IMM) in sljit_emit_fast_return()
2024 if ((src2 & SLJIT_IMM) && src2w) { in emit_op()
2033 if (!(flags & SRC2_IMM) && (flags & CUMULATIVE_OP) && (src1 & SLJIT_IMM) && src1w) { in emit_op()
2043 src2 = SLJIT_IMM; in emit_op()
2053 } else if (src1 & SLJIT_IMM) { in emit_op()
2073 } else if (src2 & SLJIT_IMM) { in emit_op()
2252 …return emit_op(compiler, SLJIT_MOV_UB, BYTE_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ?… in sljit_emit_op1()
2255 …IT_MOV_SB, BYTE_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_sb) sr… in sljit_emit_op1()
2258 …return emit_op(compiler, SLJIT_MOV_UH, HALF_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ?… in sljit_emit_op1()
2261 …IT_MOV_SH, HALF_DATA | SIGNED_DATA, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (sljit_sh) sr… in sljit_emit_op1()
[all …]
DsljitNativeARM_T2_32.c1281 FAIL_IF(sljit_emit_ijump(compiler, SLJIT_FAST_CALL, SLJIT_IMM, in sljit_emit_op0()
1325 if (src & SLJIT_IMM) in sljit_emit_op1()
1330 if (src & SLJIT_IMM) in sljit_emit_op1()
1335 if (src & SLJIT_IMM) in sljit_emit_op1()
1340 if (src & SLJIT_IMM) in sljit_emit_op1()
1351 if (src & SLJIT_IMM) in sljit_emit_op1()
1356 if (src & SLJIT_IMM) in sljit_emit_op1()
1361 if (src & SLJIT_IMM) in sljit_emit_op1()
1366 if (src & SLJIT_IMM) in sljit_emit_op1()
1375 if (src & SLJIT_IMM) in sljit_emit_op1()
[all …]
DsljitLir.c663 else if ((p) == SLJIT_IMM) \
675 SLJIT_ASSERT(!((p) & ~(SLJIT_MEM | SLJIT_IMM | REG_MASK | OFFS_REG_MASK))); \
694 SLJIT_ASSERT(!((p) & ~(SLJIT_MEM | SLJIT_IMM | REG_MASK | OFFS_REG_MASK))); \
715 SLJIT_ASSERT(!((p) & ~(SLJIT_MEM | SLJIT_IMM | REG_MASK | OFFS_REG_MASK))); \
756 if ((p) & SLJIT_IMM) \
1625 if ((src1 & SLJIT_IMM) && !src1w) { in sljit_emit_cmp()
1628 src2 = SLJIT_IMM; in sljit_emit_cmp()
1631 if ((src2 & SLJIT_IMM) && !src2w) in sljit_emit_cmp()
1636 if (SLJIT_UNLIKELY((src1 & SLJIT_IMM) && !(src2 & SLJIT_IMM))) { in sljit_emit_cmp()
1729 …return sljit_emit_op2(compiler, SLJIT_ADD | SLJIT_KEEP_FLAGS, dst, dstw, SLJIT_SP, 0, SLJIT_IMM, o… in sljit_get_local_base()
DsljitLir.h602 #define SLJIT_IMM 0x40 macro