Lines Matching refs:sljit_s32

190 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins)  in push_inst()
199 static SLJIT_INLINE sljit_s32 emit_imm64_const(struct sljit_compiler *compiler, sljit_s32 dst, slji… in emit_imm64_const()
463 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler, sljit_s32 optio… in sljit_generate_code()
575 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
603 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_cmp_info(sljit_s32 type) in sljit_cmp_info()
649 sljit_s32 negated; in logical_imm()
658 if (len == 16 && ((sljit_s32)imm == 0 || (sljit_s32)imm == -1)) in logical_imm()
663 || (len == 16 && (sljit_s32)imm != 0 && (sljit_s32)imm != -1)); in logical_imm()
714 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw simm) in load_immediate()
816 static sljit_s32 emit_op_imm(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 dst, sljit… in emit_op_imm()
823 sljit_s32 op = (flags & 0xffff); in emit_op_imm()
824 sljit_s32 reg; in emit_op_imm()
839 reg = (sljit_s32)((flags & ARG2_IMM) ? arg1 : arg2); in emit_op_imm()
1132 static sljit_s32 emit_op_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, in emit_op_mem()
1133 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem()
1210 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
1211 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
1212 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
1214 sljit_s32 prev, fprev, saved_regs_size, i, tmp; in sljit_emit_enter()
1215 sljit_s32 saved_arg_count = SLJIT_KEPT_SAVEDS_COUNT(options); in sljit_emit_enter()
1385 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
1386 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
1387 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
1389 sljit_s32 saved_regs_size; in sljit_set_context()
1402 static sljit_s32 emit_stack_frame_release(struct sljit_compiler *compiler, sljit_s32 is_return_to) in emit_stack_frame_release()
1404 sljit_s32 local_size, prev, fprev, i, tmp; in emit_stack_frame_release()
1493 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_void(struct sljit_compiler *compiler) in sljit_emit_return_void()
1503 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_to(struct sljit_compiler *compiler, in sljit_emit_return_to()
1504 sljit_s32 src, sljit_sw srcw) in sljit_emit_return_to()
1530 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in sljit_emit_op0()
1565 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op1()
1566 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1()
1567 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1()
1569 sljit_s32 dst_r, flags, mem_flags; in sljit_emit_op1()
1570 sljit_s32 op_flags = GET_ALL_FLAGS(op); in sljit_emit_op1()
1619 srcw = (sljit_s32)srcw; in sljit_emit_op1()
1672 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op2()
1673 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op2()
1674 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2()
1675 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2()
1677 sljit_s32 dst_r, flags, mem_flags; in sljit_emit_op2()
1724 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2u(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op2u()
1725 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2u()
1726 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2u()
1735 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2r(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op2r()
1736 sljit_s32 dst_reg, in sljit_emit_op2r()
1737 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2r()
1738 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2r()
1752 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_shift_into(struct sljit_compiler *compiler, sljit_s32 in sljit_emit_shift_into()
1753 sljit_s32 dst_reg, in sljit_emit_shift_into()
1754 sljit_s32 src1_reg, in sljit_emit_shift_into()
1755 sljit_s32 src2_reg, in sljit_emit_shift_into()
1756 sljit_s32 src3, sljit_sw src3w) in sljit_emit_shift_into()
1759 sljit_s32 is_left; in sljit_emit_shift_into()
1821 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_src(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op_src()
1822 sljit_s32 src, sljit_sw srcw) in sljit_emit_op_src()
1861 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_dst(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op_dst()
1862 sljit_s32 dst, sljit_sw dstw) in sljit_emit_op_dst()
1864 sljit_s32 dst_r = TMP_LR; in sljit_emit_op_dst()
1887 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 type, sljit_s32 reg) in sljit_get_register_index()
1900 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler, in sljit_emit_op_custom()
1914 static sljit_s32 emit_fop_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, slji… in emit_fop_mem()
1963 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_sw_from_f64(struct sljit_compiler *compiler, slj… in sljit_emit_fop1_conv_sw_from_f64()
1964 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_sw_from_f64()
1965 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_sw_from_f64()
1967 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in sljit_emit_fop1_conv_sw_from_f64()
1985 static sljit_s32 sljit_emit_fop1_conv_f64_from_w(struct sljit_compiler *compiler, sljit_ins ins, in sljit_emit_fop1_conv_f64_from_w()
1986 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_w()
1987 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_w()
1989 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_w()
2006 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_f64_from_sw(struct sljit_compiler *compiler, slj… in sljit_emit_fop1_conv_f64_from_sw()
2007 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_sw()
2008 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_sw()
2016 srcw = (sljit_s32)srcw; in sljit_emit_fop1_conv_f64_from_sw()
2022 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_f64_from_uw(struct sljit_compiler *compiler, slj… in sljit_emit_fop1_conv_f64_from_uw()
2023 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_uw()
2024 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_uw()
2038 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop1_cmp()
2039 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop1_cmp()
2040 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop1_cmp()
2042 sljit_s32 mem_flags = (op & SLJIT_32) ? INT_SIZE : WORD_SIZE; in sljit_emit_fop1_cmp()
2064 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop1()
2065 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1()
2066 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1()
2068 sljit_s32 dst_r, mem_flags = (op & SLJIT_32) ? INT_SIZE : WORD_SIZE; in sljit_emit_fop1()
2109 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop2()
2110 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop2()
2111 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop2()
2112 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2()
2114 sljit_s32 dst_r, mem_flags = (op & SLJIT_32) ? INT_SIZE : WORD_SIZE; in sljit_emit_fop2()
2158 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fset32(struct sljit_compiler *compiler, in sljit_emit_fset32()
2159 sljit_s32 freg, sljit_f32 value) in sljit_emit_fset32()
2182 FAIL_IF(load_immediate(compiler, TMP_REG1, (sljit_s32)u.imm)); in sljit_emit_fset32()
2186 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fset64(struct sljit_compiler *compiler, in sljit_emit_fset64()
2187 sljit_s32 freg, sljit_f64 value) in sljit_emit_fset64()
2214 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fcopy(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fcopy()
2215 sljit_s32 freg, sljit_s32 reg) in sljit_emit_fcopy()
2237 static sljit_ins get_cc(struct sljit_compiler *compiler, sljit_s32 type) in get_cc()
2342 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type) in sljit_emit_jump()
2368 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_call(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_call()
2369 sljit_s32 arg_types) in sljit_emit_call()
2384 static SLJIT_INLINE struct sljit_jump* emit_cmp_to0(struct sljit_compiler *compiler, sljit_s32 type, in emit_cmp_to0()
2385 sljit_s32 src, sljit_sw srcw) in emit_cmp_to0()
2421 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type… in sljit_emit_ijump()
2449 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_icall()
2450 sljit_s32 arg_types, in sljit_emit_icall()
2451 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall()
2477 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 o… in sljit_emit_op_flags()
2478 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op_flags()
2479 sljit_s32 type) in sljit_emit_op_flags()
2481 sljit_s32 dst_r, src_r, flags, mem_flags; in sljit_emit_op_flags()
2525 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_select(struct sljit_compiler *compiler, sljit_s32 typ… in sljit_emit_select()
2526 sljit_s32 dst_reg, in sljit_emit_select()
2527 sljit_s32 src1, sljit_sw src1w, in sljit_emit_select()
2528 sljit_s32 src2_reg) in sljit_emit_select()
2540 src1w = (sljit_s32)src1w; in sljit_emit_select()
2552 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fselect(struct sljit_compiler *compiler, sljit_s32 ty… in sljit_emit_fselect()
2553 sljit_s32 dst_freg, in sljit_emit_fselect()
2554 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fselect()
2555 sljit_s32 src2_freg) in sljit_emit_fselect()
2574 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_mem(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_mem()
2575 sljit_s32 reg, in sljit_emit_mem()
2576 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem()
2645 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_mem_update(struct sljit_compiler *compiler, sljit_s32 in sljit_emit_mem_update()
2646 sljit_s32 reg, in sljit_emit_mem_update()
2647 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem_update()
2699 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fmem_update(struct sljit_compiler *compiler, sljit_s3… in sljit_emit_fmem_update()
2700 sljit_s32 freg, in sljit_emit_fmem_update()
2701 sljit_s32 mem, sljit_sw memw) in sljit_emit_fmem_update()
2728 static sljit_s32 sljit_emit_simd_mem_offset(struct sljit_compiler *compiler, sljit_s32 *mem_ptr, sl… in sljit_emit_simd_mem_offset()
2731 sljit_s32 mem = *mem_ptr; in sljit_emit_simd_mem_offset()
2777 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_mov(struct sljit_compiler *compiler, sljit_s32 t… in sljit_emit_simd_mov()
2778 sljit_s32 freg, in sljit_emit_simd_mov()
2779 sljit_s32 srcdst, sljit_sw srcdstw) in sljit_emit_simd_mov()
2781 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_mov()
2782 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_mov()
2824 static sljit_ins simd_get_imm(sljit_s32 elem_size, sljit_uw value) in simd_get_imm()
2925 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_replicate(struct sljit_compiler *compiler, sljit… in sljit_emit_simd_replicate()
2926 sljit_s32 freg, in sljit_emit_simd_replicate()
2927 sljit_s32 src, sljit_sw srcw) in sljit_emit_simd_replicate()
2929 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_replicate()
2930 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_replicate()
2989 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_lane_mov(struct sljit_compiler *compiler, sljit_… in sljit_emit_simd_lane_mov()
2990 sljit_s32 freg, sljit_s32 lane_index, in sljit_emit_simd_lane_mov()
2991 sljit_s32 srcdst, sljit_sw srcdstw) in sljit_emit_simd_lane_mov()
2993 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_lane_mov()
2994 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_lane_mov()
3075 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_lane_replicate(struct sljit_compiler *compiler, in sljit_emit_simd_lane_replicate()
3076 sljit_s32 freg, in sljit_emit_simd_lane_replicate()
3077 sljit_s32 src, sljit_s32 src_lane_index) in sljit_emit_simd_lane_replicate()
3079 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_lane_replicate()
3080 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_lane_replicate()
3103 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_extend(struct sljit_compiler *compiler, sljit_s3… in sljit_emit_simd_extend()
3104 sljit_s32 freg, in sljit_emit_simd_extend()
3105 sljit_s32 src, sljit_sw srcw) in sljit_emit_simd_extend()
3107 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_extend()
3108 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_extend()
3109 sljit_s32 elem2_size = SLJIT_SIMD_GET_ELEM2_SIZE(type); in sljit_emit_simd_extend()
3149 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_sign(struct sljit_compiler *compiler, sljit_s32 in sljit_emit_simd_sign()
3150 sljit_s32 freg, in sljit_emit_simd_sign()
3151 sljit_s32 dst, sljit_sw dstw) in sljit_emit_simd_sign()
3153 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_sign()
3154 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_sign()
3156 sljit_s32 dst_r; in sljit_emit_simd_sign()
3226 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_op2(struct sljit_compiler *compiler, sljit_s32 t… in sljit_emit_simd_op2()
3227 sljit_s32 dst_freg, sljit_s32 src1_freg, sljit_s32 src2_freg) in sljit_emit_simd_op2()
3229 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_op2()
3230 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_op2()
3263 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_atomic_load(struct sljit_compiler *compiler, sljit_s3… in sljit_emit_atomic_load()
3264 sljit_s32 dst_reg, in sljit_emit_atomic_load()
3265 sljit_s32 mem_reg) in sljit_emit_atomic_load()
3308 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_atomic_store(struct sljit_compiler *compiler, sljit_s… in sljit_emit_atomic_store()
3309 sljit_s32 src_reg, in sljit_emit_atomic_store()
3310 sljit_s32 mem_reg, in sljit_emit_atomic_store()
3311 sljit_s32 temp_reg) in sljit_emit_atomic_store()
3314 sljit_s32 tmp = temp_reg; in sljit_emit_atomic_store()
3383 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_local_base(struct sljit_compiler *compiler, sljit_s32 in sljit_get_local_base()
3385 sljit_s32 dst_reg; in sljit_get_local_base()
3423 …E struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds… in sljit_emit_const()
3426 sljit_s32 dst_r; in sljit_emit_const()
3444 …struct sljit_jump* sljit_emit_mov_addr(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds… in sljit_emit_mov_addr()
3447 sljit_s32 dst_r; in sljit_emit_mov_addr()