aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src/m_simd_ve_gcc.h
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-02-08 13:00:32 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-02-08 13:00:32 +0000
commit4d84d14ac1aa13958eaa2971b03f7f929a519105 (patch)
tree6579d3f2cea5410a10c4baac8d0f372fb0dff372 /desiredata/src/m_simd_ve_gcc.h
parentb334d38aefbd8e0e159d7af6c20d63c5d2b64859 (diff)
reorganized
svn path=/trunk/; revision=9400
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 */