Home
last modified time | relevance | path

Searched refs:TMP_REG1 (Results 1 – 15 of 15) sorted by relevance

/external/pcre/dist/sljit/
DsljitNativeX86_common.c67 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
83 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
663 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw); in emit_mov()
710 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw); in emit_mov()
713 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw); in emit_mov()
757 && reg_map[TMP_REG1] > 7, in sljit_emit_op0()
763 && reg_map[TMP_REG1] == 2, in sljit_emit_op0()
773 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_R1, 0); in sljit_emit_op0()
776 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, TMP_REG1, 0); in sljit_emit_op0()
784 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_R1, 0); in sljit_emit_op0()
[all …]
DsljitNativeSPARC_32.c48 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()
85 FAIL_IF(push_inst(compiler, OR | D(TMP_REG1) | S1(0) | S2(src2), DR(TMP_REG1))); in emit_single_op()
91 FAIL_IF(push_inst(compiler, SUB | SET_FLAGS | D(0) | S1(TMP_REG1) | S2(0), SET_FLAGS)); in emit_single_op()
92 FAIL_IF(push_inst(compiler, SLL | D(TMP_REG1) | S1(TMP_REG1) | IMM(1), DR(TMP_REG1))); in emit_single_op()
112 FAIL_IF(push_inst(compiler, SRA | D(TMP_REG1) | S1(dst) | IMM(31), DR(TMP_REG1))); in emit_single_op()
114 …return push_inst(compiler, SUB | SET_FLAGS | D(0) | S1(TMP_REG1) | S2(TMP_LINK), MOVABLE_INS | SET… in emit_single_op()
DsljitNativeARM_64.c37 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
532 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
533 arg1 = TMP_REG1; in emit_op_imm()
551 SLJIT_ASSERT(!(flags & SET_FLAGS) && (flags & ARG2_IMM) && arg1 == TMP_REG1); in emit_op_imm()
654 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
655 arg1 = TMP_REG1; in emit_op_imm()
666 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
672 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
676 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
682 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
[all …]
DsljitNativeMIPS_common.c47 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
566 FAIL_IF(load_immediate(compiler, DR(TMP_REG1), local_size)); in sljit_emit_enter()
568 FAIL_IF(push_inst(compiler, SUBU_W | S(SLJIT_SP) | T(TMP_REG1) | D(SLJIT_SP), DR(SLJIT_SP))); in sljit_emit_enter()
628 FAIL_IF(load_immediate(compiler, DR(TMP_REG1), local_size)); in sljit_emit_return()
629 FAIL_IF(push_inst(compiler, ADDU_W | S(SLJIT_SP) | T(TMP_REG1) | D(TMP_REG1), DR(TMP_REG1))); in sljit_emit_return()
630 base = S(TMP_REG1); in sljit_emit_return()
655 return push_inst(compiler, ADDU_W | S(TMP_REG1) | TA(0) | D(SLJIT_SP), UNMOVABLE_INS); in sljit_emit_return()
756 tmp_ar = DR(TMP_REG1); in getput_arg()
764 SLJIT_ASSERT(!(flags & LOAD_DATA) && DR(TMP_REG1) != reg_ar); in getput_arg()
765 FAIL_IF(push_inst(compiler, ADDU_W | SA(reg_ar) | TA(0) | D(TMP_REG1), DR(TMP_REG1))); in getput_arg()
[all …]
DsljitNativeARM_32.c39 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
263 return push_inst(compiler, BLX | RM(TMP_REG1)); in emit_blx()
486 inst[1] = BLX | RM(TMP_REG1); in inline_set_jump_addr()
978 SLJIT_ASSERT(src1 == TMP_REG1); \
993 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1006 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1027 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1094 SLJIT_ASSERT(dst != TMP_REG1); in emit_single_op()
1095 …FAIL_IF(push_inst(compiler, EMIT_DATA_PROCESS_INS(MOV_DP, 0, TMP_REG1, SLJIT_UNUSED, reg_map[src2]… in emit_single_op()
1096 FAIL_IF(push_inst(compiler, mul_inst | (reg_map[src2] << 8) | reg_map[TMP_REG1])); in emit_single_op()
[all …]
DsljitNativeMIPS_32.c77 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
84 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
102 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
119 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
127 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
139 FAIL_IF(push_inst(compiler, ADDU | S(src2) | TA(0) | D(TMP_REG1), DR(TMP_REG1))); in emit_single_op()
141 FAIL_IF(push_inst(compiler, BEQ | S(TMP_REG1) | TA(0) | IMM(5), UNMOVABLE_INS)); in emit_single_op()
146 FAIL_IF(push_inst(compiler, BGEZ | S(TMP_REG1) | IMM(-2), UNMOVABLE_INS)); in emit_single_op()
147 FAIL_IF(push_inst(compiler, SLL | T(TMP_REG1) | D(TMP_REG1) | SH_IMM(1), UNMOVABLE_INS)); in emit_single_op()
192 FAIL_IF(push_inst(compiler, SLL | TA(ULESS_FLAG) | D(TMP_REG1) | SH_IMM(31), DR(TMP_REG1))); in emit_single_op()
[all …]
DsljitNativePPC_common.c90 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
954 tmp_r = ((inp_flags & LOAD_DATA) && ((inp_flags) & MEM_MASK) <= GPR_REG) ? reg : TMP_REG1; in getput_arg()
957 tmp_r = TMP_REG1; in getput_arg()
1167 FAIL_IF(load_immediate(compiler, TMP_REG1, src1w)); in emit_op()
1168 src1_r = TMP_REG1; in emit_op()
1170 else if (getput_arg_fast(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w)) { in emit_op()
1172 src1_r = TMP_REG1; in emit_op()
1200 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w, dst, dstw)); in emit_op()
1203 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w, src2, src2w)); in emit_op()
1206 src1_r = TMP_REG1; in emit_op()
[all …]
DsljitNativeSPARC_common.c86 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
436 FAIL_IF(load_immediate(compiler, TMP_REG1, -local_size)); in sljit_emit_enter()
437 FAIL_IF(push_inst(compiler, SAVE | D(SLJIT_SP) | S1(SLJIT_SP) | S2(TMP_REG1), UNMOVABLE_INS)); in sljit_emit_enter()
580 arg2 = TMP_REG1; in getput_arg()
601 arg2 = TMP_REG1; in getput_arg()
661 else if ((dst & SLJIT_MEM) && !getput_arg_fast(compiler, flags | ARG_TEST, TMP_REG1, dst, dstw)) in emit_op()
690 FAIL_IF(load_immediate(compiler, TMP_REG1, src1w)); in emit_op()
691 src1_r = TMP_REG1; in emit_op()
697 if (getput_arg_fast(compiler, flags | LOAD_DATA, TMP_REG1, src1, src1w)) in emit_op()
701 src1_r = TMP_REG1; in emit_op()
[all …]
DsljitNativeARM_T2_32.c36 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
522 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
523 arg1 = TMP_REG1; in emit_op_imm()
536 SLJIT_ASSERT(!(flags & SET_FLAGS) && (flags & ARG2_IMM) && arg1 == TMP_REG1); in emit_op_imm()
672 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
673 arg1 = TMP_REG1; in emit_op_imm()
687 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
693 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
699 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
705 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG1); in emit_op_imm()
[all …]
DsljitNativeMIPS_64.c168 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
175 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
189 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
207 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
211 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
219 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
231 …FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(src2) | TA(0) | D(TMP_REG1), DR(TMP_REG1))); in emit_single_op()
233 FAIL_IF(push_inst(compiler, BEQ | S(TMP_REG1) | TA(0) | IMM(5), UNMOVABLE_INS)); in emit_single_op()
238 FAIL_IF(push_inst(compiler, BGEZ | S(TMP_REG1) | IMM(-2), UNMOVABLE_INS)); in emit_single_op()
239 …FAIL_IF(push_inst(compiler, SELECT_OP(DSLL, SLL) | T(TMP_REG1) | D(TMP_REG1) | SH_IMM(1), UNMOVABL… in emit_single_op()
[all …]
DsljitNativePPC_64.c133 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \
134 src1 = TMP_REG1; \
144 FAIL_IF(push_inst(compiler, EXTSW | S(src1) | A(TMP_REG1))); \
145 src1 = TMP_REG1; \
154 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
161 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
174 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
189 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
201 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
206 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
[all …]
DsljitNativeX86_32.c90 PUSH_REG(reg_map[TMP_REG1]); in sljit_emit_enter()
94 *inst++ = MOD_REG | (reg_map[TMP_REG1] << 3) | 0x4 /* esp */; in sljit_emit_enter()
122 *inst++ = MOD_DISP8 | (reg_map[SLJIT_S0] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter()
127 *inst++ = MOD_DISP8 | (reg_map[SLJIT_S1] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter()
132 *inst++ = MOD_DISP8 | (reg_map[SLJIT_S2] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter()
151 inst[1] = MOD_REG | (reg_map[TMP_REG1] << 3) | reg_map[SLJIT_SP]; in sljit_emit_enter()
160 inst[16] = PUSH_r + reg_map[TMP_REG1]; in sljit_emit_enter()
256 POP_REG(reg_map[TMP_REG1]); in sljit_emit_return()
491 dst = TMP_REG1; in sljit_emit_fast_enter()
DsljitNativePPC_32.c52 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()
94 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
DsljitNativeTILEGX_64.c46 #define TMP_REG1 (SLJIT_NUMBER_OF_REGISTERS + 2) macro
1361 SLJIT_ASSERT(!(flags & LOAD_DATA) && reg_map[TMP_REG1] != reg_ar); in getput_arg()
1592 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
1599 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
1614 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
1629 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
1643 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
1652 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
2021 src1_r = TMP_REG1; in emit_op()
2029 src1_r = TMP_REG1; in emit_op()
[all …]
DsljitNativeX86_64.c602 dst = TMP_REG1; in sljit_emit_fast_enter()
638 FAIL_IF(emit_load_imm64(compiler, TMP_REG1, srcw)); in sljit_emit_fast_return()
639 src = TMP_REG1; in sljit_emit_fast_return()
722 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_int()