Lines Matching refs:sljit_s32
55 (((max_diff) / (sljit_s32)sizeof(sljit_uw)) - (CONST_POOL_ALIGNMENT - 1))
129 static sljit_s32 push_cpool(struct sljit_compiler *compiler)
135 sljit_s32 i;
167 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_uw inst)
181 static sljit_s32 push_inst_with_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw literal)
231 static sljit_s32 push_inst_with_unique_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw literal)
251 static SLJIT_INLINE sljit_s32 prepare_blx(struct sljit_compiler *compiler)
259 static SLJIT_INLINE sljit_s32 emit_blx(struct sljit_compiler *compiler)
289 if ((sljit_s32)const_pool[ind] < 0) {
314 sljit_s32 index;
315 sljit_s32 value;
318 static sljit_s32 resolve_const_pool_index(struct sljit_compiler *compiler, struct future_patch **first_patch, sljit_uw cpool_current_index, sljit_uw *cpool_start_address, sljit_uw *buf_ptr)
320 sljit_s32 value;
327 value = (sljit_s32)cpool_start_address[cpool_current_index];
333 value = (sljit_s32)cpool_start_address[cpool_current_index];
373 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_uw inst)
384 static SLJIT_INLINE sljit_s32 emit_imm(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm)
392 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_uw *code)
449 static SLJIT_INLINE void inline_set_jump_addr(sljit_uw addr, sljit_uw new_addr, sljit_s32 flush)
455 sljit_s32 bl = (mov_pc & 0x0000f000) != RD(TMP_PC);
507 static SLJIT_INLINE void inline_set_const(sljit_uw addr, sljit_sw new_constant, sljit_s32 flush)
792 SLJIT_ASSERT(code_ptr - code <= (sljit_s32)size);
823 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 inp_flags,
824 sljit_s32 dst, sljit_sw dstw,
825 sljit_s32 src1, sljit_sw src1w,
826 sljit_s32 src2, sljit_sw src2w);
828 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler,
829 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds,
830 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)
832 sljit_s32 size, i, tmp;
869 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler,
870 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds,
871 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)
873 sljit_s32 size;
884 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw)
886 sljit_s32 i, tmp;
986 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags,
987 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2)
1142 sljit_s32 rol;
1178 static sljit_s32 generate_int(struct sljit_compiler *compiler, sljit_s32 reg, sljit_uw imm, sljit_s32 positive)
1183 sljit_s32 rol;
1289 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 reg, sljit_uw imm)
1320 static sljit_s32 emit_set_delta(struct sljit_compiler *compiler, sljit_s32 dst, sljit_s32 reg, sljit_sw value)
1336 static sljit_s32 getput_arg_fast(struct sljit_compiler *compiler, sljit_s32 inp_flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw)
1411 static sljit_s32 can_cache(sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw)
1459 static sljit_s32 getput_arg(struct sljit_compiler *compiler, sljit_s32 inp_flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw)
1461 sljit_s32 tmp_r;
1586 static SLJIT_INLINE sljit_s32 emit_op_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw)
1595 static SLJIT_INLINE sljit_s32 emit_op_mem2(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg1, sljit_sw arg1w, sljit_s32 arg2, sljit_sw arg2w)
1602 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 inp_flags,
1603 sljit_s32 dst, sljit_sw dstw,
1604 sljit_s32 src1, sljit_sw src1w,
1605 sljit_s32 src2, sljit_sw src2w)
1613 sljit_s32 dst_r;
1614 sljit_s32 src1_r;
1615 sljit_s32 src2_r = 0;
1616 sljit_s32 sugg_src2_r = TMP_REG2;
1617 sljit_s32 flags = GET_FLAGS(op) ? SET_FLAGS : 0;
1807 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op)
1869 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op,
1870 sljit_s32 dst, sljit_sw dstw,
1871 sljit_s32 src, sljit_sw srcw)
1932 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op,
1933 sljit_s32 dst, sljit_sw dstw,
1934 sljit_s32 src1, sljit_sw src1w,
1935 sljit_s32 src2, sljit_sw src2w)
1974 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 reg)
1980 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index(sljit_s32 reg)
1986 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
1987 void *instruction, sljit_s32 size)
2003 static sljit_s32 arm_fpu_type = -1;
2014 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_is_fpu_available(void)
2029 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_is_fpu_available(void)
2043 static sljit_s32 emit_fop_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw)
2107 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_sw_from_f64(struct sljit_compiler *compiler, sljit_s32 op,
2108 sljit_s32 dst, sljit_sw dstw,
2109 sljit_s32 src, sljit_sw srcw)
2128 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_f64_from_sw(struct sljit_compiler *compiler, sljit_s32 op,
2129 sljit_s32 dst, sljit_sw dstw,
2130 sljit_s32 src, sljit_sw srcw)
2132 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1;
2152 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op,
2153 sljit_s32 src1, sljit_sw src1w,
2154 sljit_s32 src2, sljit_sw src2w)
2170 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op,
2171 sljit_s32 dst, sljit_sw dstw,
2172 sljit_s32 src, sljit_sw srcw)
2174 sljit_s32 dst_r;
2218 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op,
2219 sljit_s32 dst, sljit_sw dstw,
2220 sljit_s32 src1, sljit_sw src1w,
2221 sljit_s32 src2, sljit_sw src2w)
2223 sljit_s32 dst_r;
2279 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw)
2302 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_return(struct sljit_compiler *compiler, sljit_s32 src, sljit_sw srcw)
2329 static sljit_uw get_cc(sljit_s32 type)
2400 SLJIT_API_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type)
2441 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw)
2478 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 op,
2479 sljit_s32 dst, sljit_sw dstw,
2480 sljit_s32 src, sljit_sw srcw,
2481 sljit_s32 type)
2483 sljit_s32 dst_r, flags = GET_ALL_FLAGS(op);
2531 SLJIT_API_FUNC_ATTRIBUTE struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw init_value)
2534 sljit_s32 reg;