Home
last modified time | relevance | path

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

/third_party/pcre2/pcre2/src/sljit/
DsljitNativePPC_32.c114 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
129 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
178 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
199 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
206 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
210 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
217 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
221 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
225 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
235 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
[all …]
DsljitNativePPC_64.c125 FAIL_IF(push_inst(compiler, EXTSW | S(src2) | A(TMP_REG2))); \
126 src2 = TMP_REG2; \
136 FAIL_IF(push_inst(compiler, EXTSW | S(src2) | A(TMP_REG2))); \
137 src2 = TMP_REG2; \
225 FAIL_IF(push_inst(compiler, SLDI(32) | S(src2) | A(TMP_REG2))); in emit_single_op()
226 src2 = TMP_REG2; in emit_single_op()
237 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
252 SLJIT_ASSERT(src2 == TMP_REG2); in emit_single_op()
308 FAIL_IF(push_inst(compiler, SLDI(32) | S(src2) | A(TMP_REG2))); in emit_single_op()
309 src2 = TMP_REG2; in emit_single_op()
[all …]
DsljitNativeMIPS_common.c71 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
75 #define PIC_ADDR_REG TMP_REG2
858 FAIL_IF(push_inst(compiler, ADDU_W | S(SLJIT_SP) | TA(0) | D(TMP_REG2), DR(TMP_REG2))); in sljit_emit_enter()
860 base = S(TMP_REG2); in sljit_emit_enter()
1423 if (src != TMP_REG2) in emit_clz_ctz()
1424 FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(src) | TA(0) | D(TMP_REG2), DR(TMP_REG2))); in emit_clz_ctz()
1426 FAIL_IF(push_inst(compiler, BEQ | S(TMP_REG2) | TA(0) | IMM(is_clz ? 13 : 14), UNMOVABLE_INS)); in emit_clz_ctz()
1431 FAIL_IF(push_inst(compiler, ANDI | S(TMP_REG2) | T(TMP_REG1) | IMM(1), DR(TMP_REG1))); in emit_clz_ctz()
1434 FAIL_IF(push_inst(compiler, BLTZ | S(TMP_REG2) | TA(0) | IMM(11), UNMOVABLE_INS)); in emit_clz_ctz()
1442 …FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(TMP_REG2) | TA(0) | DA(EQUAL_FLAG), EQUAL_F… in emit_clz_ctz()
[all …]
DsljitNativeARM_T2_32.c41 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
622 SLJIT_ASSERT(!(flags & SET_FLAGS) && (flags & ARG2_IMM) && arg1 == TMP_REG2); in emit_op_imm()
789 arg2 = (arg1 == TMP_REG1) ? TMP_REG2 : TMP_REG1; in emit_op_imm()
794 arg1 = (arg2 == TMP_REG1) ? TMP_REG2 : TMP_REG1; in emit_op_imm()
808 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG2); in emit_op_imm()
813 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG2); in emit_op_imm()
818 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG2); in emit_op_imm()
823 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG2); in emit_op_imm()
828 SLJIT_ASSERT(!(flags & SET_FLAGS) && arg1 == TMP_REG2); in emit_op_imm()
833 SLJIT_ASSERT(arg1 == TMP_REG2); in emit_op_imm()
[all …]
DsljitNativeARM_32.c46 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
1087 SLJIT_ASSERT(reg_map[TMP_REG2] == 14); in sljit_emit_enter()
1095 FAIL_IF(push_inst(compiler, 0xe52d0004 | RD(TMP_REG2))); in sljit_emit_enter()
1266 SLJIT_ASSERT(reg_map[TMP_REG2] == 14 && frame_size <= 128); in emit_stack_frame_release()
1289 lr_dst = TMP_REG2; in emit_stack_frame_release()
1317 if (lr_dst == TMP_REG2 && reg_list == 0) { in emit_stack_frame_release()
1318 restored_reg = TMP_REG2; in emit_stack_frame_release()
1329 SLJIT_ASSERT(restored_reg != TMP_REG2); in emit_stack_frame_release()
1339 frame_size = (restored_reg == TMP_REG2) ? SSIZE_OF(sw) : 2 * SSIZE_OF(sw); in emit_stack_frame_release()
1344 if (restored_reg != TMP_REG2) in emit_stack_frame_release()
[all …]
DsljitNativePPC_common.c95 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
101 #define TMP_CALL_REG TMP_REG2
788 FAIL_IF(load_immediate(compiler, TMP_REG2, -local_size)); in sljit_emit_enter()
790 FAIL_IF(push_inst(compiler, STWUX | S(SLJIT_SP) | A(SLJIT_SP) | B(TMP_REG2))); in sljit_emit_enter()
792 FAIL_IF(push_inst(compiler, STDUX | S(SLJIT_SP) | A(SLJIT_SP) | B(TMP_REG2))); in sljit_emit_enter()
1203 sljit_s32 dst_r = TMP_REG2; in emit_op()
1206 sljit_s32 sugg_src2_r = TMP_REG2; in emit_op()
1253 FAIL_IF(emit_op_mem(compiler, input_flags | LOAD_DATA, sugg_src2_r, src2, src2w, TMP_REG2)); in emit_op()
1520 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src1, src1w, TMP_REG2, 0); in sljit_emit_op2()
1524 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
[all …]
DsljitNativeX86_64.c105 PTR_FAIL_IF(emit_load_imm64(compiler, TMP_REG2, immb)); in emit_x86_instruction()
108 b |= TO_OFFS_REG(TMP_REG2); in emit_x86_instruction()
110 b |= TMP_REG2; in emit_x86_instruction()
295 SLJIT_ASSERT(reg_map[TMP_REG2] >= 8); in generate_far_jump_code()
304 *code_ptr++ = MOV_r_i32 | reg_lmap[TMP_REG2]; in generate_far_jump_code()
318 *code_ptr++ = U8(MOD_REG | (type >= SLJIT_FAST_CALL ? CALL_rm : JMP_rm) | reg_lmap[TMP_REG2]); in generate_far_jump_code()
508 EMIT_MOV(compiler, TMP_REG2, 0, SLJIT_MEM1(SLJIT_SP), -4096); in sljit_emit_enter()
686 EMIT_MOV(compiler, TMP_REG2, 0, src, srcw); in sljit_emit_return_to()
687 src = TMP_REG2; in sljit_emit_return_to()
769 EMIT_MOV(compiler, TMP_REG2, 0, src, 0); in call_with_args()
[all …]
DsljitNativeRISCV_common.c41 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
47 #define RETURN_ADDR_REG TMP_REG2
728 FAIL_IF(load_immediate(compiler, TMP_REG2, local_size, TMP_REG3)); in emit_stack_frame_release()
729 FAIL_IF(push_inst(compiler, ADD | RD(SLJIT_SP) | RS1(SLJIT_SP) | RS2(TMP_REG2))); in emit_stack_frame_release()
1056 if (src != TMP_REG2) in emit_clz_ctz()
1057 FAIL_IF(push_inst(compiler, ADDI | WORD | RD(TMP_REG2) | RS1(src) | IMM_I(0))); in emit_clz_ctz()
1059 …FAIL_IF(push_inst(compiler, BEQ | RS1(TMP_REG2) | RS2(TMP_ZERO) | ((sljit_ins)((is_clz ? 4 : 5) * … in emit_clz_ctz()
1063 FAIL_IF(push_inst(compiler, ANDI | RD(TMP_REG1) | RS1(TMP_REG2) | IMM_I(1))); in emit_clz_ctz()
1066 …FAIL_IF(push_inst(compiler, BLT | RS1(TMP_REG2) | RS2(TMP_ZERO) | ((sljit_ins)(2 * SSIZE_OF(ins)) … in emit_clz_ctz()
1071 FAIL_IF(push_inst(compiler, ADDI | WORD | RD(EQUAL_FLAG) | RS1(TMP_REG2) | IMM_I(0))); in emit_clz_ctz()
[all …]
DsljitNativeARM_64.c38 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
762 FAIL_IF(load_immediate(compiler, TMP_REG2, arg2)); in emit_op_imm()
763 arg2 = TMP_REG2; in emit_op_imm()
872 FAIL_IF(push_inst(compiler, (SUB ^ inv_bits) | RD(TMP_REG2) | RN(TMP_ZERO) | RM(arg2))); in emit_op_imm()
873 arg2 = TMP_REG2; in emit_op_imm()
1395 return emit_op_mem(compiler, mem_flags | STORE, dst_r, dst, dstw, TMP_REG2); in sljit_emit_op1()
1408 FAIL_IF(emit_op_mem(compiler, mem_flags, TMP_REG2, src, srcw, TMP_REG2)); in sljit_emit_op1()
1409 src = TMP_REG2; in sljit_emit_op1()
1415 return emit_op_mem(compiler, mem_flags | STORE, dst_r, dst, dstw, TMP_REG2); in sljit_emit_op1()
1450 FAIL_IF(emit_op_mem(compiler, mem_flags, TMP_REG2, src2, src2w, TMP_REG2)); in sljit_emit_op2()
[all …]
DsljitNativeX86_common.c86 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
824 FAIL_IF(emit_load_imm64(compiler, (arg == TMP_REG1) ? TMP_REG2 : TMP_REG1, immw)); \
825 … inst = emit_x86_instruction(compiler, 1, (arg == TMP_REG1) ? TMP_REG2 : TMP_REG1, 0, arg, argw); \
1574 EMIT_MOV(compiler, TMP_REG2, 0, SLJIT_IMM, max); in emit_clz_ctz()
1576 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0); in emit_clz_ctz()
1975 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, src1w));
1976 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);
2018 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, src2w));
2019 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);
2242 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, src2w));
[all …]
DsljitNativeMIPS_64.c244 SLJIT_ASSERT(DR(PIC_ADDR_REG) == 25 && PIC_ADDR_REG == TMP_REG2); in sljit_emit_call()
301 SLJIT_ASSERT(DR(PIC_ADDR_REG) == 25 && PIC_ADDR_REG == TMP_REG2); in sljit_emit_icall()
DsljitNativeMIPS_32.c215 SLJIT_ASSERT(DR(PIC_ADDR_REG) == 25 && PIC_ADDR_REG == TMP_REG2); in sljit_emit_call()
286 SLJIT_ASSERT(DR(PIC_ADDR_REG) == 25 && PIC_ADDR_REG == TMP_REG2); in sljit_emit_icall()
DsljitNativeS390X.c48 #define TMP_REG2 (SLJIT_NUMBER_OF_REGISTERS + 3) macro
1871 src = TMP_REG2; in sljit_emit_return_to()
1875 src = TMP_REG2; in sljit_emit_return_to()
3465 SLJIT_ASSERT(gpr(TMP_REG2) == tmp1); in sljit_emit_icall()
3470 src = TMP_REG2; in sljit_emit_icall()
3477 src = TMP_REG2; in sljit_emit_icall()