aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src/m_simd_ve_gcc.h
blob: f58ca42f611fac6ac85d1e53a782edd27a87bbda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SIMD functionality for Apple Velocity Engine (AltiVec) with GCC compiler; added by T.Grill */
#ifndef __M_SIMD_VE_GCC_H
#define __M_SIMD_VE_GCC_H
#include "m_pd.h"

/* SIMD functions for VE with GCC */
t_int *sigwrap_perf_simd(t_int *w);
t_int *sigsqrt_perf_simd(t_int *w);
t_int *sigrsqrt_perf_simd(t_int *w);

/* SIMD not implemented */
#define env_tilde_accum_simd       env_tilde_accum_8
#define copyvec_simd_unalignedsrc  copyvec_8
/* #define sum_vecsimd                sumvec_8 */
#define line_tilde_slope_simd      line_tilde_slope
#define peakvec_simd               peakvec

#endif /* __M_SIMD_VE_GCC_H */