Home
last modified time | relevance | path

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

/external/pcre/dist2/src/sljit/
DsljitNativeX86_32.c192 EMIT_MOV(compiler, SLJIT_R0, 0, SLJIT_SP, 0); in sljit_emit_enter()
195 SLJIT_ASSERT (reg_map[SLJIT_R0] == 0); in sljit_emit_enter()
197 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_R0), -4096); in sljit_emit_enter()
199 SLJIT_R0, 0, SLJIT_R0, 0, SLJIT_IMM, 4096)); in sljit_emit_enter()
616 *inst++ = MOD_REG | (reg_map[SLJIT_R2] << 3) | reg_map[SLJIT_R0]; in c_fast_call_with_args()
785 SLJIT_ASSERT(reg_map[SLJIT_R0] == 0 && reg_map[SLJIT_R2] == 1 && SLJIT_R0 == 1 && SLJIT_R2 == 3); in sljit_emit_icall()
DsljitNativeMIPS_common.c1240 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? DMULU : DMUL) | S(SLJIT_R0) | T(SLJIT_R1) | D(T… in sljit_emit_op0()
1241 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? DMUHU : DMUH) | S(SLJIT_R0) | T(SLJIT_R1) | D(T… in sljit_emit_op0()
1243 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? MULU : MUL) | S(SLJIT_R0) | T(SLJIT_R1) | D(TMP… in sljit_emit_op0()
1244 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? MUHU : MUH) | S(SLJIT_R0) | T(SLJIT_R1) | D(TMP… in sljit_emit_op0()
1246 FAIL_IF(push_inst(compiler, ADDU_W | S(TMP_REG3) | TA(0) | D(SLJIT_R0), DR(SLJIT_R0))); in sljit_emit_op0()
1250 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? DMULTU : DMULT) | S(SLJIT_R0) | T(SLJIT_R1), MO… in sljit_emit_op0()
1252 …FAIL_IF(push_inst(compiler, (op == SLJIT_LMUL_UW ? MULTU : MULT) | S(SLJIT_R0) | T(SLJIT_R1), MOVA… in sljit_emit_op0()
1254 FAIL_IF(push_inst(compiler, MFLO | D(SLJIT_R0), DR(SLJIT_R0))); in sljit_emit_op0()
1265 …FAIL_IF(push_inst(compiler, ((op | 0x2) == SLJIT_DIV_UW ? DIVU : DIV) | S(SLJIT_R0) | T(SLJIT_R1) … in sljit_emit_op0()
1266 …FAIL_IF(push_inst(compiler, ((op | 0x2) == SLJIT_DIV_UW ? MODU : MOD) | S(SLJIT_R0) | T(SLJIT_R1) … in sljit_emit_op0()
[all …]
DsljitNativeX86_common.c971 reg_map[SLJIT_R0] == 0 in sljit_emit_op0()
976 reg_map[SLJIT_R0] == 0 in sljit_emit_op0()
1182 if ((dst & REG_MASK) == SLJIT_R0) { in emit_mov_byte()
1189 if ((dst & OFFS_REG_MASK) != TO_OFFS_REG(SLJIT_R0)) in emit_mov_byte()
1190 work_r = SLJIT_R0; in emit_mov_byte()
1197 if (work_r == SLJIT_R0) { in emit_mov_byte()
1210 if (work_r == SLJIT_R0) { in emit_mov_byte()
1631 …if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_HALFWORD(src2w))…
1633 if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128)) {
1665 …if ((dst == SLJIT_R0) && (src1w > 127 || src1w < -128) && (compiler->mode32 || IS_HALFWORD(src1w))…
[all …]
DsljitNativeX86_64.c237 EMIT_MOV(compiler, SLJIT_R0, 0, SLJIT_SP, 0); in sljit_emit_enter()
240 SLJIT_ASSERT (reg_map[SLJIT_R0] == 0); in sljit_emit_enter()
242 EMIT_MOV(compiler, TMP_REG2, 0, SLJIT_MEM1(SLJIT_R0), -4096); in sljit_emit_enter()
244 SLJIT_R0, 0, SLJIT_R0, 0, SLJIT_IMM, 4096)); in sljit_emit_enter()
643 return emit_mov(compiler, SLJIT_R2, 0, SLJIT_R0, 0); in call_with_args()
DsljitNativePPC_common.c737 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0) | A(SLJIT_S0) | B(SLJIT_R0))); in sljit_emit_enter()
1139 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R0))); in sljit_emit_op0()
1141 FAIL_IF(push_inst(compiler, MULLD | D(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R1))); in sljit_emit_op0()
1144 FAIL_IF(push_inst(compiler, MULLW | D(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R1))); in sljit_emit_op0()
1149 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R0))); in sljit_emit_op0()
1151 …UW ? DIVWU : DIVW) : (op == SLJIT_DIVMOD_UW ? DIVDU : DIVD)) | D(SLJIT_R0) | A(SLJIT_R0) | B(SLJIT… in sljit_emit_op0()
1152 FAIL_IF(push_inst(compiler, (int_op ? MULLW : MULLD) | D(SLJIT_R1) | A(SLJIT_R0) | B(SLJIT_R1))); in sljit_emit_op0()
1154 …FAIL_IF(push_inst(compiler, (op == SLJIT_DIVMOD_UW ? DIVWU : DIVW) | D(SLJIT_R0) | A(SLJIT_R0) | B… in sljit_emit_op0()
1155 FAIL_IF(push_inst(compiler, MULLW | D(SLJIT_R1) | A(SLJIT_R0) | B(SLJIT_R1))); in sljit_emit_op0()
1161 …IV_UW ? DIVWU : DIVW) : (op == SLJIT_DIV_UW ? DIVDU : DIVD)) | D(SLJIT_R0) | A(SLJIT_R0) | B(SLJIT… in sljit_emit_op0()
[all …]
DsljitNativeSPARC_common.c549 src = SLJIT_R0; in sljit_emit_return()
553 return push_inst(compiler, RESTORE | D(SLJIT_R0) | S1(src) | S2(0), UNMOVABLE_INS); in sljit_emit_return()
852 …compiler, (op == SLJIT_LMUL_UW ? UMUL : SMUL) | D(SLJIT_R0) | S1(SLJIT_R0) | S2(SLJIT_R1), DR(SLJI… in sljit_emit_op0()
866 FAIL_IF(push_inst(compiler, SRA | D(TMP_REG1) | S1(SLJIT_R0) | IMM(31), DR(TMP_REG1))); in sljit_emit_op0()
870 FAIL_IF(push_inst(compiler, OR | D(TMP_REG2) | S1(0) | S2(SLJIT_R0), DR(TMP_REG2))); in sljit_emit_op0()
871 …r, ((op | 0x2) == SLJIT_DIV_UW ? UDIV : SDIV) | D(SLJIT_R0) | S1(SLJIT_R0) | S2(SLJIT_R1), DR(SLJI… in sljit_emit_op0()
874 FAIL_IF(push_inst(compiler, SMUL | D(SLJIT_R1) | S1(SLJIT_R0) | S2(SLJIT_R1), DR(SLJIT_R1))); in sljit_emit_op0()
DsljitNativeARM_64.c968 FAIL_IF(push_inst(compiler, ORR | RD(SLJIT_S0) | RN(TMP_ZERO) | RM(SLJIT_R0))); in sljit_emit_enter()
1137 FAIL_IF(push_inst(compiler, ORR | RD(TMP_REG1) | RN(TMP_ZERO) | RM(SLJIT_R0))); in sljit_emit_op0()
1138 FAIL_IF(push_inst(compiler, MADD | RD(SLJIT_R0) | RN(SLJIT_R0) | RM(SLJIT_R1) | RT2(TMP_ZERO))); in sljit_emit_op0()
1142 FAIL_IF(push_inst(compiler, (ORR ^ inv_bits) | RD(TMP_REG1) | RN(TMP_ZERO) | RM(SLJIT_R0))); in sljit_emit_op0()
1143 …ompiler, ((op == SLJIT_DIVMOD_UW ? UDIV : SDIV) ^ inv_bits) | RD(SLJIT_R0) | RN(SLJIT_R0) | RM(SLJ… in sljit_emit_op0()
1144 …FAIL_IF(push_inst(compiler, (MADD ^ inv_bits) | RD(SLJIT_R1) | RN(SLJIT_R0) | RM(SLJIT_R1) | RT2(T… in sljit_emit_op0()
1148 …t(compiler, ((op == SLJIT_DIV_UW ? UDIV : SDIV) ^ inv_bits) | RD(SLJIT_R0) | RN(SLJIT_R0) | RM(SLJ… in sljit_emit_op0()
DsljitNativeARM_T2_32.c1111 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(SLJIT_S0, SLJIT_R0))); in sljit_emit_enter()
1265 | (reg_map[SLJIT_R0] << 12) in sljit_emit_op0()
1266 | (reg_map[SLJIT_R0] << 16) in sljit_emit_op0()
1271 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG1, SLJIT_R0))); in sljit_emit_op0()
1272 …sh_inst32(compiler, (op == SLJIT_DIVMOD_UW ? UDIV : SDIV) | RD4(SLJIT_R0) | RN4(SLJIT_R0) | RM4(SL… in sljit_emit_op0()
1273 FAIL_IF(push_inst32(compiler, MUL | RD4(SLJIT_R1) | RN4(SLJIT_R0) | RM4(SLJIT_R1))); in sljit_emit_op0()
1277 …return push_inst32(compiler, (op == SLJIT_DIV_UW ? UDIV : SDIV) | RD4(SLJIT_R0) | RN4(SLJIT_R0) | … in sljit_emit_op0()
1308 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG1, SLJIT_R0))); in sljit_emit_op0()
1309 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(SLJIT_R0, SLJIT_R1))); in sljit_emit_op0()
DsljitLir.h174 #define SLJIT_R0 1 macro
224 #define SLJIT_RETURN_REG SLJIT_R0
DsljitLir.c747 (((r) >= SLJIT_R0 && (r) < (SLJIT_R0 + compiler->scratches)) \
869 if (r < (SLJIT_R0 + compiler->scratches)) in sljit_verbose_reg()
870 fprintf(compiler->verbose, "r%d", r - SLJIT_R0); in sljit_verbose_reg()
DsljitNativeARM_32.c1050 FAIL_IF(push_inst(compiler, MOV | RD(SLJIT_S0) | RM(SLJIT_R0))); in sljit_emit_enter()
1707 | (reg_map[SLJIT_R0] << 12) in sljit_emit_op0()
1708 | (reg_map[SLJIT_R0] << 8) in sljit_emit_op0()
DsljitNativeMIPS_32.c524 ins = ADDU | S(SLJIT_R0) | TA(0) | DA(4); in call_with_args()
DsljitNativeMIPS_64.c598 ins = DADDU | S(SLJIT_R0) | TA(0) | DA(4); in call_with_args()
DsljitNativeS390X.c1404 FAIL_IF(push_inst(compiler, lgr(gpr(SLJIT_S0), gpr(SLJIT_R0)))); in sljit_emit_enter()
1459 sljit_gpr arg0 = gpr(SLJIT_R0); in sljit_emit_op0()
/external/pcre/dist2/src/
Dpcre2_jit_simd_inc.h870 OP1(SLJIT_MOV, SLJIT_R0, 0, STR_END, 0); in fast_forward_char_simd()
1060 OP1(SLJIT_MOV, SLJIT_R0, 0, STR_END, 0); in fast_forward_char_pair_simd()
1063 OP1(SLJIT_MOV, SLJIT_R0, 0, SLJIT_MEM1(SLJIT_SP), common->match_end_ptr); in fast_forward_char_pair_simd()
1064 OP2(SLJIT_ADD, SLJIT_R0, 0, SLJIT_R0, 0, SLJIT_IMM, IN_UCHARS(offs1 + 1)); in fast_forward_char_pair_simd()
1066 OP2(SLJIT_SUB | SLJIT_SET_LESS, SLJIT_UNUSED, 0, STR_END, 0, SLJIT_R0, 0); in fast_forward_char_pair_simd()
1067 CMOV(SLJIT_LESS, SLJIT_R0, STR_END, 0); in fast_forward_char_pair_simd()
Dpcre2_jit_compile.c554 #define TMP1 SLJIT_R0
3122 OP2(SLJIT_SUB, SLJIT_R0, 0, SLJIT_MEM1(SLJIT_S0), SLJIT_OFFSETOF(jit_arguments, begin), SLJIT_IMM, … in reset_ovector()
3126 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_SP), OVECTOR(i), SLJIT_R0, 0); in reset_ovector()
3130 …compiler, SLJIT_MOV | SLJIT_MEM_SUPP | SLJIT_MEM_STORE | SLJIT_MEM_PRE, SLJIT_R0, SLJIT_MEM1(SLJIT… in reset_ovector()
3135 …sljit_emit_mem(compiler, SLJIT_MOV | SLJIT_MEM_STORE | SLJIT_MEM_PRE, SLJIT_R0, SLJIT_MEM1(SLJIT_R… in reset_ovector()
3144 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_R1), 0, SLJIT_R0, 0); in reset_ovector()
3292 OP1(SLJIT_MOV, SLJIT_R0, 0, ARGUMENTS, 0); in copy_ovector()
3296 OP1(SLJIT_MOV_U32, SLJIT_R1, 0, SLJIT_MEM1(SLJIT_R0), SLJIT_OFFSETOF(jit_arguments, oveccount)); in copy_ovector()
3297 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_R0), SLJIT_OFFSETOF(jit_arguments, startchar_ptr), SLJIT_S0, 0); in copy_ovector()
3299 OP1(SLJIT_MOV, SLJIT_MEM1(SLJIT_R0), SLJIT_OFFSETOF(jit_arguments, mark_ptr), SLJIT_R2, 0); in copy_ovector()
[all …]