Lines Matching refs:sljit_s32

156 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins)  in push_inst()
165 static sljit_s32 push_imm_s_inst(struct sljit_compiler *compiler, sljit_ins ins, sljit_sw imm) in push_imm_s_inst()
499 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler, sljit_s32 optio… in sljit_generate_code()
637 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
659 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_cmp_info(sljit_s32 type) in sljit_cmp_info()
724 static sljit_s32 emit_op_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit…
726 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
727 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
728 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
730 sljit_s32 i, tmp, offset; in sljit_emit_enter()
731 sljit_s32 saved_arg_count = SLJIT_KEPT_SAVEDS_COUNT(options); in sljit_emit_enter()
823 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
824 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
825 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
848 static sljit_s32 emit_stack_frame_release(struct sljit_compiler *compiler, sljit_s32 is_return_to) in emit_stack_frame_release()
850 sljit_s32 i, tmp, offset; in emit_stack_frame_release()
851 sljit_s32 local_size = compiler->local_size; in emit_stack_frame_release()
904 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_void(struct sljit_compiler *compiler) in sljit_emit_return_void()
913 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return_to(struct sljit_compiler *compiler, in sljit_emit_return_to()
914 sljit_s32 src, sljit_sw srcw) in sljit_emit_return_to()
973 static sljit_s32 push_mem_inst(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, slj… in push_mem_inst()
989 static sljit_s32 getput_arg_fast(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, s… in getput_arg_fast()
1008 static sljit_s32 can_cache(sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw) in can_cache()
1032 static sljit_s32 getput_arg(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_… in getput_arg()
1034 sljit_s32 base = arg & REG_MASK; in getput_arg()
1035 sljit_s32 tmp_r = (flags & MEM_USE_TMP2) ? TMP_REG2 : TMP_REG1; in getput_arg()
1116 static sljit_s32 emit_op_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit… in emit_op_mem()
1118 sljit_s32 base = arg & REG_MASK; in emit_op_mem()
1119 sljit_s32 tmp_r = TMP_REG1; in emit_op_mem()
1148 …LJIT_INLINE sljit_s32 emit_op_mem2(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg… in emit_op_mem2()
1165 static sljit_s32 emit_clz_ctz(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_s… in emit_clz_ctz()
1167 sljit_s32 is_clz = (GET_OPCODE(op) == SLJIT_CLZ); in emit_clz_ctz()
1209 static sljit_s32 emit_rev(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_sw sr… in emit_rev()
1252 static sljit_s32 emit_rev16(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_sw … in emit_rev16()
1286 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s… in emit_single_op()
1287 sljit_s32 dst, sljit_s32 src1, sljit_sw src2) in emit_single_op()
1289 sljit_s32 is_overflow, is_carry, carry_src_r, is_handled, reg; in emit_single_op()
1411 carry_src_r = (sljit_s32)src1; in emit_single_op()
1413 carry_src_r = (sljit_s32)src2; in emit_single_op()
1450 carry_src_r = (sljit_s32)src1; in emit_single_op()
1452 carry_src_r = (sljit_s32)src2; in emit_single_op()
1722 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, in emit_op()
1723 sljit_s32 dst, sljit_sw dstw, in emit_op()
1724 sljit_s32 src1, sljit_sw src1w, in emit_op()
1725 sljit_s32 src2, sljit_sw src2w) in emit_op()
1731 sljit_s32 dst_r = TMP_REG2; in emit_op()
1732 sljit_s32 src1_r; in emit_op()
1734sljit_s32 src2_tmp_reg = (GET_OPCODE(op) >= SLJIT_OP2_BASE && FAST_IS_REG(src1)) ? TMP_REG1 : TMP_… in emit_op()
1796 dst_r = (sljit_s32)src2_r; in emit_op()
1848 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in sljit_emit_op0()
1892 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op1()
1893 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1()
1894 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1()
1896 sljit_s32 flags = 0; in sljit_emit_op1()
1925 …| SIGNED_DATA | MOVE_OP, dst, dstw, TMP_ZERO, 0, src, (src == SLJIT_IMM) ? (sljit_s32)srcw : srcw); in sljit_emit_op1()
1958 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op2()
1959 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op2()
1960 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2()
1961 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2()
1963 sljit_s32 flags = 0; in sljit_emit_op2()
1975 src1w = (sljit_s32)src1w; in sljit_emit_op2()
1977 src2w = (sljit_s32)src2w; in sljit_emit_op2()
2027 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2u(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op2u()
2028 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2u()
2029 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2u()
2038 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2r(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op2r()
2039 sljit_s32 dst_reg, in sljit_emit_op2r()
2040 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2r()
2041 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2r()
2062 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_shift_into(struct sljit_compiler *compiler, sljit_s32 in sljit_emit_shift_into()
2063 sljit_s32 dst_reg, in sljit_emit_shift_into()
2064 sljit_s32 src1_reg, in sljit_emit_shift_into()
2065 sljit_s32 src2_reg, in sljit_emit_shift_into()
2066 sljit_s32 src3, sljit_sw src3w) in sljit_emit_shift_into()
2068 sljit_s32 is_left; in sljit_emit_shift_into()
2072 sljit_s32 inp_flags = ((op & SLJIT_32) ? INT_DATA : WORD_DATA) | LOAD_DATA; in sljit_emit_shift_into()
2075 sljit_s32 inp_flags = WORD_DATA | LOAD_DATA; in sljit_emit_shift_into()
2145 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_src(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op_src()
2146 sljit_s32 src, sljit_sw srcw) in sljit_emit_op_src()
2172 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_dst(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op_dst()
2173 sljit_s32 dst, sljit_sw dstw) in sljit_emit_op_dst()
2175 sljit_s32 dst_r; in sljit_emit_op_dst()
2200 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()
2231 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()
2232 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_sw_from_f64()
2233 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_sw_from_f64()
2240 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_fop1_conv_sw_from_f64()
2264 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()
2265 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_w()
2266 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_w()
2268 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_w()
2285 …return emit_op_mem2(compiler, DOUBLE_DATA | ((sljit_s32)(~ins >> 24) & 0x2), TMP_FREG1, dst, dstw,… in sljit_emit_fop1_conv_f64_from_w()
2289 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()
2290 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_sw()
2291 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_sw()
2302 srcw = (sljit_s32)srcw; in sljit_emit_fop1_conv_f64_from_sw()
2311 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()
2312 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_uw()
2313 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_uw()
2333 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop1_cmp()
2334 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop1_cmp()
2335 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop1_cmp()
2387 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop1()
2388 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1()
2389 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1()
2391 sljit_s32 dst_r; in sljit_emit_fop1()
2437 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop2()
2438 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop2()
2439 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop2()
2440 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2()
2442 sljit_s32 dst_r, flags = 0; in sljit_emit_fop2()
2517 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fset32(struct sljit_compiler *compiler, in sljit_emit_fset32()
2518 sljit_s32 freg, sljit_f32 value) in sljit_emit_fset32()
2521 sljit_s32 imm; in sljit_emit_fset32()
2563 static sljit_ins get_jump_instruction(sljit_s32 type) in get_jump_instruction()
2611 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type) in sljit_emit_jump()
2646 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_call(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_call()
2647 sljit_s32 arg_types) in sljit_emit_call()
2662 …I_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_cmp(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_cmp()
2663 sljit_s32 src1, sljit_sw src1w, in sljit_emit_cmp()
2664 sljit_s32 src2, sljit_sw src2w) in sljit_emit_cmp()
2667 sljit_s32 flags; in sljit_emit_cmp()
2669 sljit_s32 src2_tmp_reg = FAST_IS_REG(src1) ? TMP_REG1 : TMP_REG2; in sljit_emit_cmp()
2762 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type… in sljit_emit_ijump()
2792 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_icall()
2793 sljit_s32 arg_types, in sljit_emit_icall()
2794 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall()
2820 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 o… in sljit_emit_op_flags()
2821 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op_flags()
2822 sljit_s32 type) in sljit_emit_op_flags()
2824 sljit_s32 src_r, dst_r, invert; in sljit_emit_op_flags()
2825 sljit_s32 saved_op = op; in sljit_emit_op_flags()
2827 sljit_s32 mem_type = WORD_DATA; in sljit_emit_op_flags()
2829 sljit_s32 mem_type = ((op & SLJIT_32) || op == SLJIT_MOV32) ? (INT_DATA | SIGNED_DATA) : WORD_DATA; in sljit_emit_op_flags()
2907 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_select(struct sljit_compiler *compiler, sljit_s32 typ… in sljit_emit_select()
2908 sljit_s32 dst_reg, in sljit_emit_select()
2909 sljit_s32 src1, sljit_sw src1w, in sljit_emit_select()
2910 sljit_s32 src2_reg) in sljit_emit_select()
2916 sljit_s32 inp_flags = ((type & SLJIT_32) ? INT_DATA : WORD_DATA) | LOAD_DATA; in sljit_emit_select()
2918 sljit_s32 inp_flags = WORD_DATA | LOAD_DATA; in sljit_emit_select()
2959 src1w = (sljit_s32)src1w; in sljit_emit_select()
2972 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fselect(struct sljit_compiler *compiler, sljit_s32 ty… in sljit_emit_fselect()
2973 sljit_s32 dst_freg, in sljit_emit_fselect()
2974 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fselect()
2975 sljit_s32 src2_freg) in sljit_emit_fselect()
3013 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_mem(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_mem()
3014 sljit_s32 reg, in sljit_emit_mem()
3015 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem()
3017 sljit_s32 flags; in sljit_emit_mem()
3069 …E struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds… in sljit_emit_const()
3072 sljit_s32 dst_r; in sljit_emit_const()
3091 …struct sljit_jump* sljit_emit_mov_addr(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds… in sljit_emit_mov_addr()
3094 sljit_s32 dst_r; in sljit_emit_mov_addr()