summaryrefslogtreecommitdiffstats
path: root/src/ffts_nd.c
diff options
context:
space:
mode:
authorAnthony Blake <anthonix@me.com>2013-04-22 16:45:17 +1200
committerAnthony Blake <anthonix@me.com>2013-04-22 16:45:17 +1200
commit7b3907cff81fb82380787e63e4304fb8af807c0c (patch)
tree11ae035cd02aab22e1a4069737fb6f422a7531eb /src/ffts_nd.c
parenta45464980b8de7faef21eb46479f7e09fd056441 (diff)
downloadffts-7b3907cff81fb82380787e63e4304fb8af807c0c.zip
ffts-7b3907cff81fb82380787e63e4304fb8af807c0c.tar.gz
Fixed up the smaller VFP transforms. Inverse VFP and real/nd VFP still not working yet.
Diffstat (limited to 'src/ffts_nd.c')
-rw-r--r--src/ffts_nd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ffts_nd.c b/src/ffts_nd.c
index a23ad7f..e65fe7f 100644
--- a/src/ffts_nd.c
+++ b/src/ffts_nd.c
@@ -33,7 +33,7 @@
#include "ffts_nd.h"
-#ifdef __ARM_NEON__
+#ifdef HAVE_NEON
#include "neon.h"
#endif
@@ -62,7 +62,7 @@ void ffts_free_nd(ffts_plan_t *p) {
#include <string.h>
void ffts_transpose(uint64_t *in, uint64_t *out, int w, int h, uint64_t *buf) {
-#ifdef __ARM_NEON__
+#ifdef HAVE_NEON
size_t i,j,k;
int linebytes = w*8;
@@ -131,6 +131,7 @@ void ffts_transpose(uint64_t *in, uint64_t *out, int w, int h, uint64_t *buf) {
}
}
#else
+#ifdef HAVE_SSE
uint64_t tmp[TSIZE*TSIZE] __attribute__((aligned(64)));
int tx, ty;
int x, y;
@@ -212,6 +213,7 @@ void ffts_transpose(uint64_t *in, uint64_t *out, int w, int h, uint64_t *buf) {
}
*/
#endif
+#endif
}
OpenPOWER on IntegriCloud