Lines Matching refs:sljit_s32

259 static sljit_s32 function_check_is_freg(struct sljit_compiler *compiler, sljit_s32 fr, sljit_s32 is…  in function_check_is_freg()
274 static sljit_s32 push_inst16(struct sljit_compiler *compiler, sljit_ins inst) in push_inst16()
286 static sljit_s32 push_inst32(struct sljit_compiler *compiler, sljit_ins inst) in push_inst32()
296 static sljit_s32 emit_imm32_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) in emit_imm32_const()
406 sljit_s32 type = (jump->flags >> 4) & 0xf; in generate_jump_or_mov_addr()
559 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler, sljit_s32 optio… in sljit_generate_code()
674 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
712 sljit_s32 counter; in get_imm()
758 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm) in load_immediate()
791 static sljit_s32 emit_op_imm(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 dst, sljit… in emit_op_imm()
796 sljit_s32 reg; in emit_op_imm()
807 reg = (sljit_s32)((flags & ARG2_IMM) ? arg1 : arg2); in emit_op_imm()
998 FAIL_IF(load_immediate(compiler, (sljit_s32)arg2, imm)); in emit_op_imm()
1002 FAIL_IF(load_immediate(compiler, (sljit_s32)arg1, imm)); in emit_op_imm()
1016 if (dst == (sljit_s32)arg2) in emit_op_imm()
1073 if (dst == (sljit_s32)arg1 && !(flags & SET_FLAGS)) in emit_op_imm()
1078 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1093 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1105 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1111 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1115 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1124 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1133 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1142 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1151 if (dst == (sljit_s32)arg1 && IS_2_LO_REGS(dst, arg2)) in emit_op_imm()
1245 static sljit_s32 emit_set_delta(struct sljit_compiler *compiler, sljit_s32 dst, sljit_s32 reg, slji… in emit_set_delta()
1267 static SLJIT_INLINE sljit_s32 emit_op_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s… in emit_op_mem()
1268 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem()
1270 sljit_s32 other_r; in emit_op_mem()
1369 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
1370 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
1371 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
1373 sljit_s32 size, i, tmp, word_arg_count; in sljit_emit_enter()
1374 sljit_s32 saved_arg_count = SLJIT_KEPT_SAVEDS_COUNT(options); in sljit_emit_enter()
1463 } else if (word_arg_count - 1 != (sljit_s32)(offset >> 2)) in sljit_emit_enter()
1579 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
1580 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
1581 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
1583 sljit_s32 size; in sljit_set_context()
1599 static sljit_s32 emit_add_sp(struct sljit_compiler *compiler, sljit_uw imm) in emit_add_sp()
1619 static sljit_s32 emit_stack_frame_release(struct sljit_compiler *compiler, sljit_s32 frame_size) in emit_stack_frame_release()
1621 sljit_s32 local_size, fscratches, fsaveds, i, tmp; in emit_stack_frame_release()
1622 sljit_s32 restored_reg = 0; in emit_stack_frame_release()
1623 sljit_s32 lr_dst = TMP_PC; in emit_stack_frame_release()
1765 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_void(struct sljit_compiler *compiler) in sljit_emit_return_void()
1773 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_to(struct sljit_compiler *compiler, in sljit_emit_return_to()
1774 sljit_s32 src, sljit_sw srcw) in sljit_emit_return_to()
1821 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in sljit_emit_op0()
1915 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op1()
1916 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1()
1917 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1()
1919 sljit_s32 dst_r, flags; in sljit_emit_op1()
2000 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op2()
2001 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op2()
2002 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2()
2003 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2()
2005 sljit_s32 dst_reg, src2_tmp_reg, flags; in sljit_emit_op2()
2043 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2u(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op2u()
2044 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2u()
2045 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2u()
2054 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2r(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op2r()
2055 sljit_s32 dst_reg, in sljit_emit_op2r()
2056 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2r()
2057 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2r()
2071 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_shift_into(struct sljit_compiler *compiler, sljit_s32 in sljit_emit_shift_into()
2072 sljit_s32 dst_reg, in sljit_emit_shift_into()
2073 sljit_s32 src1_reg, in sljit_emit_shift_into()
2074 sljit_s32 src2_reg, in sljit_emit_shift_into()
2075 sljit_s32 src3, sljit_sw src3w) in sljit_emit_shift_into()
2077 sljit_s32 is_left; in sljit_emit_shift_into()
2128 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_src(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op_src()
2129 sljit_s32 src, sljit_sw srcw) in sljit_emit_op_src()
2157 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_dst(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op_dst()
2158 sljit_s32 dst, sljit_sw dstw) in sljit_emit_op_dst()
2160 sljit_s32 size, dst_r; in sljit_emit_op_dst()
2197 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 type, sljit_s32 reg) in sljit_get_register_index()
2213 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler, in sljit_emit_op_custom()
2230 static sljit_s32 emit_fop_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, slji… in emit_fop_mem()
2277 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()
2278 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_sw_from_f64()
2279 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_sw_from_f64()
2297 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()
2298 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_w()
2299 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_w()
2301 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_w()
2321 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()
2322 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_sw()
2323 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_sw()
2328 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()
2329 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_uw()
2330 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_uw()
2335 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop1_cmp()
2336 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop1_cmp()
2337 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop1_cmp()
2361 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop1()
2362 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1()
2363 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1()
2365 sljit_s32 dst_r; in sljit_emit_fop1()
2408 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop2()
2409 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop2()
2410 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop2()
2411 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2()
2413 sljit_s32 dst_r; in sljit_emit_fop2()
2459 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fset32(struct sljit_compiler *compiler, in sljit_emit_fset32()
2460 sljit_s32 freg, sljit_f32 value) in sljit_emit_fset32()
2491 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fset64(struct sljit_compiler *compiler, in sljit_emit_fset64()
2492 sljit_s32 freg, sljit_f64 value) in sljit_emit_fset64()
2527 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fcopy(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fcopy()
2528 sljit_s32 freg, sljit_s32 reg) in sljit_emit_fcopy()
2530 sljit_s32 reg2; in sljit_emit_fcopy()
2558 static sljit_uw get_cc(struct sljit_compiler *compiler, sljit_s32 type) in get_cc()
2663 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type) in sljit_emit_jump()
2698 static sljit_s32 softfloat_call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, slj… in softfloat_call_with_args()
2704 sljit_s32 types = 0; in softfloat_call_with_args()
2750 FAIL_IF(emit_stack_frame_release(compiler, (sljit_s32)offset)); in softfloat_call_with_args()
2807 *src = (sljit_s32)(1 + (offset >> 2)); in softfloat_call_with_args()
2823 static sljit_s32 softfloat_post_call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types) in softfloat_post_call_with_args()
2835 static sljit_s32 hardfloat_call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types) in hardfloat_call_with_args()
2874 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_call(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_call()
2875 sljit_s32 arg_types) in sljit_emit_call()
2931 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type… in sljit_emit_ijump()
2964 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_icall()
2965 sljit_s32 arg_types, in sljit_emit_icall()
2966 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall()
3029 static SLJIT_INLINE sljit_s32 emit_fmov_before_return(struct sljit_compiler *compiler, sljit_s32 op… in emit_fmov_before_return()
3054 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 o… in sljit_emit_op_flags()
3055 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op_flags()
3056 sljit_s32 type) in sljit_emit_op_flags()
3058 sljit_s32 dst_r, flags = GET_ALL_FLAGS(op); in sljit_emit_op_flags()
3107 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_select(struct sljit_compiler *compiler, sljit_s32 typ… in sljit_emit_select()
3108 sljit_s32 dst_reg, in sljit_emit_select()
3109 sljit_s32 src1, sljit_sw src1w, in sljit_emit_select()
3110 sljit_s32 src2_reg) in sljit_emit_select()
3177 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fselect(struct sljit_compiler *compiler, sljit_s32 ty… in sljit_emit_fselect()
3178 sljit_s32 dst_freg, in sljit_emit_fselect()
3179 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fselect()
3180 sljit_s32 src2_freg) in sljit_emit_fselect()
3207 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_mem(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_mem()
3208 sljit_s32 reg, in sljit_emit_mem()
3209 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem()
3211 sljit_s32 flags; in sljit_emit_mem()
3382 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_mem_update(struct sljit_compiler *compiler, sljit_s32 in sljit_emit_mem_update()
3383 sljit_s32 reg, in sljit_emit_mem_update()
3384 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem_update()
3386 sljit_s32 flags; in sljit_emit_mem_update()
3440 static sljit_s32 update_mem_addr(struct sljit_compiler *compiler, sljit_s32 *mem, sljit_sw *memw, s… in update_mem_addr()
3442 sljit_s32 arg = *mem; in update_mem_addr()
3501 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fmem(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_fmem()
3502 sljit_s32 freg, in sljit_emit_fmem()
3503 sljit_s32 mem, sljit_sw memw) in sljit_emit_fmem()
3538 static sljit_s32 sljit_emit_simd_mem_offset(struct sljit_compiler *compiler, sljit_s32 *mem_ptr, sl… in sljit_emit_simd_mem_offset()
3541 sljit_s32 mem = *mem_ptr; in sljit_emit_simd_mem_offset()
3570 static SLJIT_INLINE sljit_s32 simd_get_quad_reg_index(sljit_s32 freg) in simd_get_quad_reg_index()
3584 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_mov(struct sljit_compiler *compiler, sljit_s32 t… in sljit_emit_simd_mov()
3585 sljit_s32 freg, in sljit_emit_simd_mov()
3586 sljit_s32 srcdst, sljit_sw srcdstw) in sljit_emit_simd_mov()
3588 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_mov()
3589 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_mov()
3590 sljit_s32 alignment = SLJIT_SIMD_GET_ELEM2_SIZE(type); in sljit_emit_simd_mov()
3643 static sljit_ins simd_get_imm(sljit_s32 elem_size, sljit_uw value) in simd_get_imm()
3737 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_replicate(struct sljit_compiler *compiler, sljit… in sljit_emit_simd_replicate()
3738 sljit_s32 freg, in sljit_emit_simd_replicate()
3739 sljit_s32 src, sljit_sw srcw) in sljit_emit_simd_replicate()
3741 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_replicate()
3742 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_replicate()
3837 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_lane_mov(struct sljit_compiler *compiler, sljit_… in sljit_emit_simd_lane_mov()
3838 sljit_s32 freg, sljit_s32 lane_index, in sljit_emit_simd_lane_mov()
3839 sljit_s32 srcdst, sljit_sw srcdstw) in sljit_emit_simd_lane_mov()
3841 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_lane_mov()
3842 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_lane_mov()
3954 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_lane_replicate(struct sljit_compiler *compiler, in sljit_emit_simd_lane_replicate()
3955 sljit_s32 freg, in sljit_emit_simd_lane_replicate()
3956 sljit_s32 src, sljit_s32 src_lane_index) in sljit_emit_simd_lane_replicate()
3958 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_lane_replicate()
3959 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_lane_replicate()
4003 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_extend(struct sljit_compiler *compiler, sljit_s3… in sljit_emit_simd_extend()
4004 sljit_s32 freg, in sljit_emit_simd_extend()
4005 sljit_s32 src, sljit_sw srcw) in sljit_emit_simd_extend()
4007 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_extend()
4008 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_extend()
4009 sljit_s32 elem2_size = SLJIT_SIMD_GET_ELEM2_SIZE(type); in sljit_emit_simd_extend()
4010 sljit_s32 dst_reg; in sljit_emit_simd_extend()
4068 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_sign(struct sljit_compiler *compiler, sljit_s32 in sljit_emit_simd_sign()
4069 sljit_s32 freg, in sljit_emit_simd_sign()
4070 sljit_s32 dst, sljit_sw dstw) in sljit_emit_simd_sign()
4072 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_sign()
4073 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_sign()
4075 sljit_s32 dst_r; in sljit_emit_simd_sign()
4145 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_simd_op2(struct sljit_compiler *compiler, sljit_s32 t… in sljit_emit_simd_op2()
4146 sljit_s32 dst_freg, sljit_s32 src1_freg, sljit_s32 src2_freg) in sljit_emit_simd_op2()
4148 sljit_s32 reg_size = SLJIT_SIMD_GET_REG_SIZE(type); in sljit_emit_simd_op2()
4149 sljit_s32 elem_size = SLJIT_SIMD_GET_ELEM_SIZE(type); in sljit_emit_simd_op2()
4188 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_atomic_load(struct sljit_compiler *compiler, sljit_s3… in sljit_emit_atomic_load()
4189 sljit_s32 dst_reg, in sljit_emit_atomic_load()
4190 sljit_s32 mem_reg) in sljit_emit_atomic_load()
4212 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_atomic_store(struct sljit_compiler *compiler, sljit_s… in sljit_emit_atomic_store()
4213 sljit_s32 src_reg, in sljit_emit_atomic_store()
4214 sljit_s32 mem_reg, in sljit_emit_atomic_store()
4215 sljit_s32 temp_reg) in sljit_emit_atomic_store()
4244 …E struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds… in sljit_emit_const()
4247 sljit_s32 dst_r; in sljit_emit_const()
4265 …struct sljit_jump* sljit_emit_mov_addr(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds… in sljit_emit_mov_addr()
4268 sljit_s32 dst_r; in sljit_emit_mov_addr()