Home
last modified time | relevance | path

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

/external/pcre/dist/sljit/
DsljitNativeMIPS_32.c37 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar)); in load_immediate()
44 FAIL_IF(push_inst(compiler, op_imm | S(src1) | TA(EQUAL_FLAG) | IMM(src2), EQUAL_FLAG)); \
46 FAIL_IF(push_inst(compiler, op_imm | S(src1) | T(dst) | IMM(src2), DR(dst))); \
50 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | DA(EQUAL_FLAG), EQUAL_FLAG)); \
52 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | D(dst), DR(dst))); \
58 FAIL_IF(push_inst(compiler, op_imm | T(src1) | DA(EQUAL_FLAG) | SH_IMM(src2), EQUAL_FLAG)); \
60 FAIL_IF(push_inst(compiler, op_imm | T(src1) | D(dst) | SH_IMM(src2), DR(dst))); \
64 FAIL_IF(push_inst(compiler, op_v | S(src2) | T(src1) | DA(EQUAL_FLAG), EQUAL_FLAG)); \
66 FAIL_IF(push_inst(compiler, op_v | S(src2) | T(src1) | D(dst), DR(dst))); \
90 FAIL_IF(push_inst(compiler, SLL | T(src2) | D(dst) | SH_IMM(24), DR(dst))); in emit_single_op()
[all …]
DsljitNativeMIPS_64.c44 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(imm >> 16), dst_ar)); in load_immediate()
79 FAIL_IF(push_inst(compiler, LUI | TA(dst_ar) | IMM(uimm >> 48), dst_ar)); in load_immediate()
81 FAIL_IF(push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(uimm >> 32), dst_ar)); in load_immediate()
88 FAIL_IF(push_inst(compiler, ins | TA(dst_ar) | DA(dst_ar), dst_ar)); in load_immediate()
113 FAIL_IF(push_inst(compiler, DSLL | TA(dst_ar) | DA(dst_ar) | SH_IMM(shift - shift2), dst_ar)); in load_immediate()
114 FAIL_IF(push_inst(compiler, ORI | SA(dst_ar) | TA(dst_ar) | IMM(uimm >> 48), dst_ar)); in load_immediate()
115 FAIL_IF(push_inst(compiler, DSLL | TA(dst_ar) | DA(dst_ar) | SH_IMM(shift2), dst_ar)); in load_immediate()
127 FAIL_IF(push_inst(compiler, op_imm | S(src1) | TA(EQUAL_FLAG) | IMM(src2), EQUAL_FLAG)); \
129 FAIL_IF(push_inst(compiler, op_imm | S(src1) | T(dst) | IMM(src2), DR(dst))); \
133 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | DA(EQUAL_FLAG), EQUAL_FLAG)); \
[all …]
DsljitNativeTILEGX_64.c338 FAIL_IF(!ptr); in push_inst_debug()
349 FAIL_IF(!ptr); in push_inst_nodebug()
360 FAIL_IF(!ptr); in push_inst()
748 FAIL_IF(update_buffer(compiler)); in push_4_buffer()
768 FAIL_IF(update_buffer(compiler)); in push_3_buffer()
828 FAIL_IF(update_buffer(compiler)); in push_2_buffer()
873 FAIL_IF(update_buffer(compiler)); in push_0_buffer()
889 FAIL_IF(update_buffer(compiler)); in push_jr_buffer()
1128 FAIL_IF(ADDLI(dst_ar, ZERO, imm >> 16)); in load_immediate()
1133 FAIL_IF(ADDLI(dst_ar, ZERO, imm >> 32)); in load_immediate()
[all …]
DsljitNativeX86_common.c587 FAIL_IF(!inst); in emit_save_flags()
591 FAIL_IF(!inst); in emit_save_flags()
610 FAIL_IF(!inst); in emit_restore_flags()
615 FAIL_IF(!inst); in emit_restore_flags()
661 FAIL_IF(!inst); in emit_mov()
668 FAIL_IF(!inst); in emit_mov()
687 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, srcw)); in emit_mov()
689 FAIL_IF(!inst); in emit_mov()
695 FAIL_IF(!inst); in emit_mov()
701 FAIL_IF(!inst); in emit_mov()
[all …]
DsljitNativePPC_64.c58 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 16))); in load_immediate()
70 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48))); in load_immediate()
76 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(tmp >> 48))); in load_immediate()
77 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(tmp >> 32))); in load_immediate()
87 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48))); in load_immediate()
88 FAIL_IF(PUSH_RLDICR(reg, shift)); in load_immediate()
93 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48))); in load_immediate()
94 FAIL_IF(PUSH_RLDICR(reg, shift)); in load_immediate()
95 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | (tmp2 >> 16))); in load_immediate()
103 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | IMM(tmp >> 48))); in load_immediate()
[all …]
DsljitNativePPC_common.c242 FAIL_IF(!ptr); in push_inst()
592 FAIL_IF(push_inst(compiler, MFLR | D(0))); in sljit_emit_enter()
594 FAIL_IF(push_inst(compiler, STACK_STORE | S(TMP_ZERO) | A(SLJIT_SP) | IMM(offs))); in sljit_emit_enter()
599 FAIL_IF(push_inst(compiler, STACK_STORE | S(i) | A(SLJIT_SP) | IMM(offs))); in sljit_emit_enter()
604 FAIL_IF(push_inst(compiler, STACK_STORE | S(i) | A(SLJIT_SP) | IMM(offs))); in sljit_emit_enter()
610 FAIL_IF(push_inst(compiler, STACK_STORE | S(0) | A(SLJIT_SP) | IMM(2 * sizeof(sljit_sw)))); in sljit_emit_enter()
612 FAIL_IF(push_inst(compiler, STACK_STORE | S(0) | A(SLJIT_SP) | IMM(sizeof(sljit_sw)))); in sljit_emit_enter()
615 FAIL_IF(push_inst(compiler, ADDI | D(TMP_ZERO) | A(0) | 0)); in sljit_emit_enter()
617 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R0) | A(SLJIT_S0) | B(SLJIT_R0))); in sljit_emit_enter()
619 FAIL_IF(push_inst(compiler, OR | S(SLJIT_R1) | A(SLJIT_S1) | B(SLJIT_R1))); in sljit_emit_enter()
[all …]
DsljitNativeARM_64.c131 FAIL_IF(!ptr); in push_inst()
139 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | ((imm & 0xffff) << 5))); in emit_imm64_const()
140 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 16) & 0xffff) << 5) | (1 << 21))); in emit_imm64_const()
141 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 32) & 0xffff) << 5) | (2 << 21))); in emit_imm64_const()
442 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | ((imm & 0xffff) << 5))); in load_immediate()
447 FAIL_IF(push_inst(compiler, MOVN | RD(dst) | ((~imm & 0xffff) << 5))); in load_immediate()
475 FAIL_IF(push_inst(compiler, MOVN | RD(dst) | ((simm & 0xffff) << 5) | (i << 21))); in load_immediate()
478 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | ((~simm & 0xffff) << 5) | (i << 21))); in load_immediate()
491 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | ((simm & 0xffff) << 5) | (i << 21))); in load_immediate()
494 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | ((simm & 0xffff) << 5) | (i << 21))); in load_immediate()
[all …]
DsljitNativeMIPS_common.c209 FAIL_IF(!ptr); in push_inst()
570FAIL_IF(push_inst(compiler, ADDIU_W | S(SLJIT_SP) | T(SLJIT_SP) | IMM(-local_size), DR(SLJIT_SP))); in sljit_emit_enter()
574 FAIL_IF(load_immediate(compiler, DR(TMP_REG1), local_size)); in sljit_emit_enter()
575 FAIL_IF(push_inst(compiler, ADDU_W | S(SLJIT_SP) | TA(0) | D(TMP_REG2), DR(TMP_REG2))); in sljit_emit_enter()
576 FAIL_IF(push_inst(compiler, SUBU_W | S(SLJIT_SP) | T(TMP_REG1) | D(SLJIT_SP), DR(SLJIT_SP))); in sljit_emit_enter()
582 FAIL_IF(push_inst(compiler, STACK_STORE | base | TA(RETURN_ADDR_REG) | IMM(offs), MOVABLE_INS)); in sljit_emit_enter()
587 FAIL_IF(push_inst(compiler, STACK_STORE | base | T(i) | IMM(offs), MOVABLE_INS)); in sljit_emit_enter()
592 FAIL_IF(push_inst(compiler, STACK_STORE | base | T(i) | IMM(offs), MOVABLE_INS)); in sljit_emit_enter()
596 FAIL_IF(push_inst(compiler, ADDU_W | SA(4) | TA(0) | D(SLJIT_S0), DR(SLJIT_S0))); in sljit_emit_enter()
598 FAIL_IF(push_inst(compiler, ADDU_W | SA(5) | TA(0) | D(SLJIT_S1), DR(SLJIT_S1))); in sljit_emit_enter()
[all …]
DsljitNativeARM_32.c143 FAIL_IF(!inst); in push_cpool()
149 FAIL_IF(!inst); in push_cpool()
158 FAIL_IF(!inst); in push_cpool()
172 FAIL_IF(push_cpool(compiler)); in push_inst()
175 FAIL_IF(!ptr); in push_inst()
190 FAIL_IF(push_cpool(compiler)); in push_inst_with_literal()
212 FAIL_IF(push_cpool(compiler)); in push_inst_with_literal()
220 FAIL_IF(!ptr); in push_inst_with_literal()
235 FAIL_IF(push_cpool(compiler)); in push_inst_with_unique_literal()
239 FAIL_IF(!ptr); in push_inst_with_unique_literal()
[all …]
DsljitNativeSPARC_32.c32 FAIL_IF(push_inst(compiler, SETHI | D(dst) | ((imm >> 10) & 0x3fffff), DR(dst))); in load_immediate()
59 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(24), DR(dst))); in emit_single_op()
70 FAIL_IF(push_inst(compiler, SLL | D(dst) | S1(src2) | IMM(16), DR(dst))); in emit_single_op()
84 FAIL_IF(push_inst(compiler, SUB | SET_FLAGS | D(0) | S1(src2) | S2(0), SET_FLAGS)); 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()
86 FAIL_IF(push_inst(compiler, BICC | DA(0x1) | (7 & DISP_MASK), UNMOVABLE_INS)); in emit_single_op()
87FAIL_IF(push_inst(compiler, OR | (flags & SET_FLAGS) | D(dst) | S1(0) | IMM(32), UNMOVABLE_INS | (… in emit_single_op()
88 FAIL_IF(push_inst(compiler, OR | D(dst) | S1(0) | IMM(-1), DR(dst))); 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()
[all …]
DsljitNativeX86_64.c34 FAIL_IF(!inst); in emit_load_imm64()
117 FAIL_IF(!inst); in sljit_emit_enter()
127 FAIL_IF(!inst); in sljit_emit_enter()
137 FAIL_IF(!inst); in sljit_emit_enter()
183 FAIL_IF(!inst); in sljit_emit_enter()
207 FAIL_IF(sljit_emit_ijump(compiler, SLJIT_CALL1, SLJIT_IMM, SLJIT_FUNC_OFFSET(sljit_grow_stack))); in sljit_emit_enter()
214 FAIL_IF(!inst); in sljit_emit_enter()
223 FAIL_IF(!inst); in sljit_emit_enter()
236 FAIL_IF(!inst); in sljit_emit_enter()
278 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
[all …]
DsljitNativeSPARC_common.c191 FAIL_IF(!ptr); in push_inst()
441 FAIL_IF(push_inst(compiler, SAVE | D(SLJIT_SP) | S1(SLJIT_SP) | IMM(-local_size), UNMOVABLE_INS)); in sljit_emit_enter()
444 FAIL_IF(load_immediate(compiler, TMP_REG1, -local_size)); in sljit_emit_enter()
445 FAIL_IF(push_inst(compiler, SAVE | D(SLJIT_SP) | S1(SLJIT_SP) | S2(TMP_REG1), UNMOVABLE_INS)); in sljit_emit_enter()
478 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
482 FAIL_IF(push_inst(compiler, JMPL | D(0) | S1A(31) | IMM(8), UNMOVABLE_INS)); in sljit_emit_return()
534 FAIL_IF(push_inst(compiler, data_transfer_insts[flags & MEM_MASK] in getput_arg_fast()
596 FAIL_IF(push_inst(compiler, SLL_W | D(arg2) | S1(OFFS_REG(arg)) | IMM_ARG | argw, DR(arg2))); in getput_arg()
603FAIL_IF(push_inst(compiler, ADD | D(TMP_REG3) | S1(TMP_REG3) | IMM(argw - compiler->cache_argw), D… in getput_arg()
617 FAIL_IF(load_immediate(compiler, arg2, argw)); in getput_arg()
[all …]
DsljitNativeARM_T2_32.c190 FAIL_IF(!ptr); in push_inst16()
199 FAIL_IF(!ptr); in push_inst32()
208 FAIL_IF(push_inst32(compiler, MOVW | RD4(dst) | in emit_imm32_const()
491 FAIL_IF(push_inst32(compiler, MOVW | RD4(dst) | in load_immediate()
522 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
668 FAIL_IF(load_immediate(compiler, TMP_REG2, arg2)); in emit_op_imm()
672 FAIL_IF(load_immediate(compiler, TMP_REG1, arg1)); in emit_op_imm()
722 FAIL_IF(push_inst32(compiler, CLZ | RN4(arg2) | RD4(dst) | RM4(arg2))); in emit_op_imm()
751 FAIL_IF(push_inst32(compiler, SMULL | RT4(dst) | RD4(TMP_REG2) | RN4(arg1) | RM4(arg2))); in emit_op_imm()
911FAIL_IF(push_inst32(compiler, sljit_mem32[flags] | MEM_IMM8 | RT4(reg) | RN4(arg) | 0x100 | argw)); in getput_arg_fast()
[all …]
DsljitNativePPC_32.c37 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 16))); in load_immediate()
114 FAIL_IF(push_inst(compiler, ADDI | D(dst) | A(src1) | (compiler->imm & 0xffff))); in emit_single_op()
123 FAIL_IF(push_inst(compiler, MFXER | D(0))); in emit_single_op()
124 FAIL_IF(push_inst(compiler, ADDE | D(dst) | A(src1) | B(src2))); in emit_single_op()
138 FAIL_IF(push_inst(compiler, CMPI | CRD(0) | A(src1) | compiler->imm)); in emit_single_op()
145 FAIL_IF(push_inst(compiler, CMPL | CRD(4) | A(src1) | B(src2))); in emit_single_op()
147 FAIL_IF(push_inst(compiler, CMP | CRD(0) | A(src1) | B(src2))); in emit_single_op()
153 FAIL_IF(push_inst(compiler, CMPL | CRD(4) | A(src1) | B(src2))); in emit_single_op()
158 FAIL_IF(push_inst(compiler, MFXER | D(0))); in emit_single_op()
159 FAIL_IF(push_inst(compiler, SUBFE | D(dst) | A(src2) | B(src1))); in emit_single_op()
[all …]
DsljitNativeX86_32.c34 FAIL_IF(!inst); in emit_do_imm()
94 FAIL_IF(!inst); in sljit_emit_enter()
158 FAIL_IF(emit_do_imm(compiler, MOV_r_i32 + reg_map[SLJIT_R0], local_size)); in sljit_emit_enter()
161 FAIL_IF(emit_do_imm(compiler, MOV_r_i32 + reg_map[SLJIT_R0], local_size)); in sljit_emit_enter()
162 FAIL_IF(emit_non_cum_binary(compiler, SUB_r_rm, SUB_rm_r, SUB, SUB_EAX_i32, 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()
209 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
212 FAIL_IF(emit_cum_binary(compiler, ADD_r_rm, ADD_rm_r, ADD, ADD_EAX_i32, in sljit_emit_return()
225 FAIL_IF(!inst); in sljit_emit_return()
426 FAIL_IF(!inst); in call_with_args()
[all …]
DsljitLir.c47 #define FAIL_IF(expr) \ macro