/external/pcre/dist2/src/sljit/ |
D | sljitNativeX86_common.c | 71 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro 90 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro 809 FAIL_IF(emit_rdssp(compiler, TMP_REG1)); in adjust_shadow_stack() 813 SLJIT_ASSERT(reg_map[TMP_REG1] == 5); in adjust_shadow_stack() 823 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(TMP_REG1), 0); in adjust_shadow_stack() 833 FAIL_IF(emit_cmp_binary (compiler, TMP_REG1, 0, src, srcw)); in adjust_shadow_stack() 849 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, 1); in adjust_shadow_stack() 852 FAIL_IF(emit_incssp(compiler, TMP_REG1)); in adjust_shadow_stack() 909 FAIL_IF(emit_load_imm64(compiler, TMP_REG1, srcw)); in emit_mov() 910 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw); in emit_mov() [all …]
|
D | sljitNativeARM_64.c | 37 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro 616 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm() 617 arg1 = TMP_REG1; in emit_op_imm() 635 SLJIT_ASSERT(!(flags & SET_FLAGS) && (flags & ARG2_IMM) && arg1 == TMP_REG1); in emit_op_imm() 738 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm() 739 arg1 = TMP_REG1; in emit_op_imm() 748 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm() 753 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm() 756 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm() 761 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm() [all …]
|
D | sljitNativeSPARC_32.c | 48 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 55 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 68 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 78 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 82 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 84 FAIL_IF(push_inst(compiler, OR | D(TMP_REG1) | S1(0) | S2(src2), DR(TMP_REG1))); in emit_single_op() 90 FAIL_IF(push_inst(compiler, SUB | SET_FLAGS | D(0) | S1(TMP_REG1) | S2(0), SET_FLAGS)); in emit_single_op() 91 FAIL_IF(push_inst(compiler, SLL | D(TMP_REG1) | S1(TMP_REG1) | IMM(1), DR(TMP_REG1))); in emit_single_op() 111 FAIL_IF(push_inst(compiler, SRA | D(TMP_REG1) | S1(dst) | IMM(31), DR(TMP_REG1))); in emit_single_op() 113 …return push_inst(compiler, SUB | SET_FLAGS | D(0) | S1(TMP_REG1) | S2(TMP_LINK), MOVABLE_INS | SET… in emit_single_op() [all …]
|
D | sljitNativeARM_T2_32.c | 40 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro 590 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm() 591 arg1 = TMP_REG1; in emit_op_imm() 752 arg2 = (arg1 == TMP_REG1) ? TMP_REG2 : TMP_REG1; in emit_op_imm() 757 arg1 = (arg2 == TMP_REG1) ? TMP_REG2 : TMP_REG1; in emit_op_imm() 1097 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(SLJIT_SP) | imm)); in sljit_emit_enter() 1125 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG2) | RN4(TMP_REG1))); in sljit_emit_enter() 1126 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(TMP_REG1) | imm)); in sljit_emit_enter() 1131 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG2) | RN4(TMP_REG1))); in sljit_emit_enter() 1132 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(TMP_REG1) | imm)); in sljit_emit_enter() [all …]
|
D | sljitNativePPC_common.c | 94 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro 1090 FAIL_IF(load_immediate(compiler, TMP_REG1, src1w)); in emit_op() 1091 src1_r = TMP_REG1; in emit_op() 1094 FAIL_IF(emit_op_mem(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w, TMP_REG1)); in emit_op() 1095 src1_r = TMP_REG1; in emit_op() 1120 return emit_op_mem(compiler, input_flags, dst_r, dst, dstw, TMP_REG1); in emit_op() 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() 1142 …return push_inst(compiler, (op == SLJIT_LMUL_UW ? MULHDU : MULHD) | D(SLJIT_R1) | A(TMP_REG1) | B(… in sljit_emit_op0() 1144 FAIL_IF(push_inst(compiler, MULLW | D(SLJIT_R0) | A(TMP_REG1) | B(SLJIT_R1))); in sljit_emit_op0() [all …]
|
D | sljitNativeX86_32.c | 115 PUSH_REG(reg_map[TMP_REG1]); in sljit_emit_enter() 119 *inst++ = MOD_REG | (reg_map[TMP_REG1] << 3) | 0x4 /* esp */; in sljit_emit_enter() 149 inst[1] = MOD_DISP8 | (reg_map[SLJIT_S0] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter() 155 inst[1] = MOD_DISP8 | (reg_map[SLJIT_S1] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter() 161 inst[1] = MOD_DISP8 | (reg_map[SLJIT_S2] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter() 185 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -4096); in sljit_emit_enter() 187 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -4096 * 2); in sljit_emit_enter() 189 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -4096 * 3); in sljit_emit_enter() 197 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_R0), -4096); in sljit_emit_enter() 211 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -local_size); in sljit_emit_enter() [all …]
|
D | sljitNativeMIPS_common.c | 62 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro 842 FAIL_IF(load_immediate(compiler, DR(TMP_REG1), local_size)); in sljit_emit_return() 843 FAIL_IF(push_inst(compiler, ADDU_W | S(SLJIT_SP) | T(TMP_REG1) | D(TMP_REG1), DR(TMP_REG1))); in sljit_emit_return() 844 base = S(TMP_REG1); in sljit_emit_return() 869 return push_inst(compiler, ADDU_W | S(TMP_REG1) | TA(0) | D(SLJIT_SP), UNMOVABLE_INS); in sljit_emit_return() 971 tmp_ar = DR(TMP_REG1); in getput_arg() 1056 tmp_ar = DR(TMP_REG1); in emit_op_mem() 1117 …else if ((dst & SLJIT_MEM) && !getput_arg_fast(compiler, flags | ARG_TEST, DR(TMP_REG1), dst, dstw… in emit_op() 1150 FAIL_IF(load_immediate(compiler, DR(TMP_REG1), src1w)); in emit_op() 1151 src1_r = TMP_REG1; in emit_op() [all …]
|
D | sljitNativeARM_32.c | 45 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro 273 SLJIT_ASSERT(reg_map[TMP_REG1] != 14); in emit_blx() 275 return push_inst(compiler, BLX | RM(TMP_REG1)); in emit_blx() 515 inst[1] = BLX | RM(TMP_REG1); in inline_set_jump_addr() 1125 SLJIT_ASSERT(src1 == TMP_REG1); \ 1141 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op() 1152 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op() 1171 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op() 1227 …FAIL_IF(push_inst(compiler, SMULL | (reg_map[TMP_REG1] << 16) | (reg_map[dst] << 12) | (reg_map[sr… in emit_single_op() 1230 return push_inst(compiler, CMP | SET_FLAGS | RN(TMP_REG1) | RM(dst) | 0xfc0); in emit_single_op() [all …]
|
D | sljitNativeSPARC_common.c | 90 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro 521 FAIL_IF(load_immediate(compiler, TMP_REG1, -local_size)); in sljit_emit_enter() 522 FAIL_IF(push_inst(compiler, SAVE | D(SLJIT_SP) | S1(SLJIT_SP) | S2(TMP_REG1), UNMOVABLE_INS)); in sljit_emit_enter() 662 arg2 = TMP_REG1; in getput_arg() 683 arg2 = TMP_REG1; in getput_arg() 737 else if ((dst & SLJIT_MEM) && !getput_arg_fast(compiler, flags | ARG_TEST, TMP_REG1, dst, dstw)) in emit_op() 767 FAIL_IF(load_immediate(compiler, TMP_REG1, src1w)); in emit_op() 768 src1_r = TMP_REG1; in emit_op() 774 if (getput_arg_fast(compiler, flags | LOAD_DATA, TMP_REG1, src1, src1w)) in emit_op() 778 src1_r = TMP_REG1; in emit_op() [all …]
|
D | sljitNativePPC_64.c | 130 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \ 131 src1 = TMP_REG1; \ 141 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \ 142 src1 = TMP_REG1; \ 151 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 158 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 171 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 186 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 198 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 203 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() [all …]
|
D | sljitNativeMIPS_32.c | 79 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 86 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 105 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 123 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 131 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 143 FAIL_IF(push_inst(compiler, ADDU | S(src2) | TA(0) | D(TMP_REG1), DR(TMP_REG1))); in emit_single_op() 145 FAIL_IF(push_inst(compiler, BEQ | S(TMP_REG1) | TA(0) | IMM(5), UNMOVABLE_INS)); in emit_single_op() 150 FAIL_IF(push_inst(compiler, BGEZ | S(TMP_REG1) | IMM(-2), UNMOVABLE_INS)); in emit_single_op() 151 FAIL_IF(push_inst(compiler, SLL | T(TMP_REG1) | D(TMP_REG1) | SH_IMM(1), UNMOVABLE_INS)); in emit_single_op() 199 FAIL_IF(push_inst(compiler, SLL | TA(OTHER_FLAG) | D(TMP_REG1) | SH_IMM(31), DR(TMP_REG1))); in emit_single_op() [all …]
|
D | sljitNativeMIPS_64.c | 169 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 176 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 191 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 210 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 214 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 222 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 234 …FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(src2) | TA(0) | D(TMP_REG1), DR(TMP_REG1))); in emit_single_op() 236 FAIL_IF(push_inst(compiler, BEQ | S(TMP_REG1) | TA(0) | IMM(5), UNMOVABLE_INS)); in emit_single_op() 241 FAIL_IF(push_inst(compiler, BGEZ | S(TMP_REG1) | IMM(-2), UNMOVABLE_INS)); in emit_single_op() 242 …FAIL_IF(push_inst(compiler, SELECT_OP(DSLL, SLL) | T(TMP_REG1) | D(TMP_REG1) | SH_IMM(1), UNMOVABL… in emit_single_op() [all …]
|
D | sljitNativeX86_64.c | 230 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -4096); in sljit_emit_enter() 232 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -4096 * 2); in sljit_emit_enter() 234 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -4096 * 3); in sljit_emit_enter() 238 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, (local_size - 1) >> 12); in sljit_emit_enter() 246 TMP_REG1, 0, TMP_REG1, 0, SLJIT_IMM, 1)); in sljit_emit_enter() 256 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_MEM1(SLJIT_SP), -local_size); in sljit_emit_enter() 617 SLJIT_ASSERT(reg_map[SLJIT_R1] == 6 && reg_map[SLJIT_R3] == 1 && reg_map[TMP_REG1] == 2); in call_with_args() 639 *src_ptr = TMP_REG1; in call_with_args() 642 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_R2, 0); in call_with_args() 656 static sljit_u8 word_arg_regs[5] = { 0, SLJIT_R3, SLJIT_R1, SLJIT_R2, TMP_REG1 }; in call_with_args() [all …]
|
D | sljitNativePPC_32.c | 52 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 59 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 74 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 86 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 90 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op() 95 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
|