aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src/m_simd_ve_gcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'desiredata/src/m_simd_ve_gcc.h')
-rw-r--r--desiredata/src/m_simd_ve_gcc.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/desiredata/src/m_simd_ve_gcc.h b/desiredata/src/m_simd_ve_gcc.h
new file mode 100644
index 00000000..f58ca42f
--- /dev/null
+++ b/desiredata/src/m_simd_ve_gcc.h
@@ -0,0 +1,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 */