Home
last modified time | relevance | path

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

/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativeRISCV_64.c37 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)0x80000000u)); in load_immediate()
44 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)(imm & ~0xfff))); in load_immediate()
62 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)0x80000000u)); in load_immediate()
91 FAIL_IF(push_inst(compiler, LUI | RD(tmp_r) | (sljit_ins)(high << 12))); in load_immediate()
107 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)0x80000000u)); in load_immediate()
152 sljit_ins inst; in sljit_emit_fcopy()
163 inst |= (sljit_ins)1 << 25; in sljit_emit_fcopy()
193 sljit_ins *inst = (sljit_ins*)addr; in sljit_set_jump_addr()
211 inst[0] = (inst[0] & 0xfff) | (sljit_ins)(high & ~0xfff); in sljit_set_jump_addr()
215 inst[2] = (inst[2] & 0xfff) | (sljit_ins)((sljit_sw)new_target & ~0xfff); in sljit_set_jump_addr()
[all …]
H A DsljitNativeARM_64.c192 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst()
315 sljit_ins* buf_ptr = (sljit_ins*)jump->addr; in generate_jump_or_mov_addr()
466 sljit_ins *code; in sljit_generate_code()
652 sljit_ins ins; in logical_imm()
932 …inst_bits = ((sljit_ins)1 << 22) | (((sljit_ins)-imm & 0x3f) << 16) | ((63 - (sljit_ins)imm) << 10… in emit_op_imm()
2482 sljit_ins cc; in sljit_emit_op_flags()
2531 sljit_ins cc; in sljit_emit_select()
2558 sljit_ins cc; in sljit_emit_fselect()
2730 sljit_ins ins; in sljit_emit_simd_mem_offset()
2783 sljit_ins ins; in sljit_emit_simd_mov()
[all …]
H A DsljitNativeRISCV_32.c37 FAIL_IF(push_inst(compiler, LUI | RD(dst_r) | (sljit_ins)(imm & ~0xfff))); in load_immediate()
73 sljit_ins inst; in sljit_emit_fcopy()
115 …emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw init_value, sljit_ins last_ins) in emit_const()
120 FAIL_IF(push_inst(compiler, LUI | RD(dst) | (sljit_ins)(init_value & ~0xfff))); in emit_const()
126 sljit_ins *inst = (sljit_ins*)addr; in sljit_set_jump_addr()
135 inst[0] = (inst[0] & 0xfff) | (sljit_ins)((sljit_sw)new_target & ~0xfff); in sljit_set_jump_addr()
140 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
H A DsljitNativeLOONGARCH_64.c401 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst()
412 sljit_ins *inst; in detect_jump_type()
525 sljit_ins *ins = (sljit_ins*)jump->addr; in load_addr_to_reg()
660 sljit_ins *code; in sljit_generate_code()
1131 sljit_ins ins; in push_mem_inst()
2243 sljit_ins inst; in sljit_emit_fop1_conv_sw_from_f64()
2278 sljit_ins inst; in sljit_emit_fop1_conv_f64_from_w()
2325 sljit_ins inst; in sljit_emit_fop1_conv_f64_from_uw()
3027 ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in sljit_emit_select()
3603 sljit_ins ins; in sljit_emit_atomic_load()
[all …]
H A DsljitNativeARM_32.c61 …(sljit_ins*)(((sljit_ins)(ptr) + (CONST_POOL_ALIGNMENT * sizeof(sljit_ins)) - 1) & ~((CONST_POOL_A…
223 inst = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_cpool()
255 ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst()
300 ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst_with_literal()
320 ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst_with_unique_literal()
526 sljit_ins *ptr = (sljit_ins*)jump_ptr; in set_jump_addr()
527 sljit_ins *inst = (sljit_ins*)ptr[0]; in set_jump_addr()
597 sljit_ins *inst = (sljit_ins*)jump_ptr; in set_jump_addr()
625 sljit_ins *ptr = (sljit_ins*)addr; in set_const_value()
626 sljit_ins *inst = (sljit_ins*)ptr[0]; in set_const_value()
[all …]
H A DsljitNativeS390X.c142 sljit_ins *ibuf = (sljit_ins *)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst()
734 sljit_ins m3; \
793 sljit_ins m1 = (sljit_ins)(mask & 0xf) << 20; in SLJIT_S390X_INSTRUCTION()
794 sljit_ins ri2 = (sljit_ins)target & 0xffff; in SLJIT_S390X_INSTRUCTION()
800 sljit_ins m1 = (sljit_ins)(mask & 0xf) << 36; in SLJIT_S390X_INSTRUCTION()
801 sljit_ins ri2 = (sljit_ins)target & 0xffffffff; in SLJIT_S390X_INSTRUCTION()
1006 sljit_ins ins; in load_unsigned_word()
1267 sljit_ins op;
1361 sljit_ins ins; in emit_non_commutative()
1412 sljit_ins ins; in sljit_generate_code()
[all …]
H A DsljitNativeRISCV_common.c158 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst()
207 inst[-1] -= (sljit_ins)(1 * sizeof(sljit_ins)) << 7; in detect_jump_type()
209 inst[-1] -= (sljit_ins)(5 * sizeof(sljit_ins)) << 7; in detect_jump_type()
220 inst[-1] -= (sljit_ins)(4 * sizeof(sljit_ins)) << 7; in detect_jump_type()
229 inst[-1] -= (sljit_ins)(4 * sizeof(sljit_ins)) << 7; in detect_jump_type()
238 inst[-1] -= (sljit_ins)(2 * sizeof(sljit_ins)) << 7; in detect_jump_type()
315 sljit_ins *ins = (sljit_ins*)jump->addr; in load_addr_to_reg()
1169 sljit_ins word = (sljit_ins)(op & SLJIT_32) >> 5; in emit_clz_ctz()
1255 sljit_ins word = (sljit_ins)(op & SLJIT_32) >> 5; in emit_rev16()
1292 sljit_ins word = (sljit_ins)(op & SLJIT_32) >> 5; in emit_single_op()
[all …]
H A DsljitNativePPC_common.c51 static void ppc_cache_flush(sljit_ins *from, sljit_ins *to) in ppc_cache_flush()
306 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst()
435 sljit_ins *ins = (sljit_ins*)jump->addr; in generate_jump_or_mov_addr()
590 sljit_ins *code; in sljit_generate_code()
1239 sljit_ins inst; in emit_op_mem()
2798 sljit_ins *ptr; in sljit_emit_select()
2836 ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in sljit_emit_select()
2860 sljit_ins *ptr; in sljit_emit_fselect()
2882 ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in sljit_emit_fselect()
2913 sljit_ins inst; in sljit_emit_mem()
[all …]
H A DsljitNativeMIPS_64.c51 sljit_ins ins; in load_immediate()
180 sljit_ins inst; in sljit_emit_fcopy()
201 sljit_ins *inst = (sljit_ins *)addr; in sljit_set_jump_addr()
205 inst[0] = (inst[0] & 0xffff0000) | ((sljit_ins)(new_target >> 48) & 0xffff); in sljit_set_jump_addr()
206 inst[1] = (inst[1] & 0xffff0000) | ((sljit_ins)(new_target >> 32) & 0xffff); in sljit_set_jump_addr()
208 inst[5] = (inst[5] & 0xffff0000) | ((sljit_ins)new_target & 0xffff); in sljit_set_jump_addr()
210 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
225 sljit_ins prev_ins = *ins_ptr; in call_with_args()
226 sljit_ins ins = NOP; in call_with_args()
297 sljit_ins ins = NOP; in sljit_emit_call()
[all …]
H A DsljitNativeMIPS_32.c33 sljit_ins mfhc = MFC1, mthc = MTC1; in emit_copysign()
34 sljit_ins src1_r = FS(src1), src2_r = FS(src2), dst_r = FS(dst); in emit_copysign()
136 sljit_ins inst = FS(freg); in sljit_emit_fcopy()
137 sljit_ins mthc = MTC1, mfhc = MFC1; in sljit_emit_fcopy()
194 sljit_ins *inst = (sljit_ins *)addr; in sljit_set_jump_addr()
218 sljit_ins prev_ins = NOP; in call_with_args()
219 sljit_ins ins = NOP; in call_with_args()
223 sljit_ins f64_hi = TA(7), f64_lo = TA(6); in call_with_args()
225 sljit_ins f64_hi = TA(6), f64_lo = TA(7); in call_with_args()
358 sljit_ins ins = NOP; in sljit_emit_call()
[all …]
H A DsljitNativeARM_T2_32.c83 …(((sljit_ins)reg_map[rn] << 3) | ((sljit_ins)reg_map[rd] & 0x7) | (((sljit_ins)reg_map[rd] & 0x8) …
409 sljit_ins ins; in generate_jump_or_mov_addr()
2464 sljit_ins ins; in sljit_emit_fset32()
2496 sljit_ins ins; in sljit_emit_fset64()
2666 sljit_ins cc; in sljit_emit_jump()
3059 sljit_ins cc; in sljit_emit_op_flags()
3591 sljit_ins ins; in sljit_emit_simd_mov()
3843 sljit_ins ins; in sljit_emit_simd_lane_mov()
3960 sljit_ins ins; in sljit_emit_simd_lane_replicate()
4192 sljit_ins ins; in sljit_emit_atomic_load()
[all …]
H A DsljitNativeMIPS_common.c465 sljit_ins *ptr = (sljit_ins*)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst()
491 sljit_ins *inst; in detect_jump_type()
666 sljit_ins *ins = (sljit_ins*)jump->addr; in load_addr_to_reg()
700 sljit_ins *code; in sljit_generate_code()
934 sljit_ins base; in sljit_emit_enter()
1248 sljit_ins ins; in sljit_emit_return_void()
1262 sljit_ins ins; in sljit_emit_return_to()
3035 sljit_ins inst; in sljit_emit_fop1_cmp()
3290 sljit_ins inst; in sljit_emit_jump()
3407 sljit_ins inst; in sljit_emit_cmp()
[all …]
H A DsljitNativePPC_64.c73 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | (sljit_ins)(tmp >> 48))); in load_immediate()
79 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | (sljit_ins)(tmp >> 48))); in load_immediate()
90 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | (sljit_ins)(tmp >> 48))); in load_immediate()
92 return push_inst(compiler, ORI | S(reg) | A(reg) | (sljit_ins)tmp2); in load_immediate()
98 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | (sljit_ins)(tmp2 >> 16))); in load_immediate()
106 FAIL_IF(push_inst(compiler, ADDI | D(reg) | A(0) | (sljit_ins)(tmp >> 48))); in load_immediate()
110 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | (sljit_ins)(tmp2 >> 48))); in load_immediate()
708 sljit_ins *inst = (sljit_ins*)addr; in sljit_set_jump_addr()
712 inst[0] = (inst[0] & 0xffff0000u) | ((sljit_ins)(new_target >> 48) & 0xffff); in sljit_set_jump_addr()
715 inst[4] = (inst[4] & 0xffff0000u) | ((sljit_ins)new_target & 0xffff); in sljit_set_jump_addr()
[all …]
H A DsljitNativePPC_32.c475 sljit_ins *inst = (sljit_ins *)addr; in sljit_set_jump_addr()
483 inst = (sljit_ins *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_jit_simd_inc.h1850 typedef sljit_ins sljit_u32;
1856 #define VD(vd) ((sljit_ins)vd << 0)
1857 #define VJ(vj) ((sljit_ins)vj << 5)
1858 #define VK(vk) ((sljit_ins)vk << 10)
1859 #define RD_V(rd) ((sljit_ins)rd << 0)
1860 #define RJ_V(rj) ((sljit_ins)rj << 5)
1862 #define IMM_SI12(imm) (((sljit_ins)(imm) << 10) & SI12_IMM_MASK)
1863 #define IMM_UI5(imm) (((sljit_ins)(imm) << 10) & UI5_IMM_MASK)
1864 #define IMM_UI2(imm) (((sljit_ins)(imm) << 10) & UI2_IMM_MASK)

Completed in 125 milliseconds