diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ffts.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -53,6 +53,18 @@ #endif void ffts_execute(ffts_plan_t *p, const void * in, void * out) { + +//TODO: Define NEEDS_ALIGNED properly instead +#if defined(HAVE_SSE) || defined(HAVE_NEON) + if(((int)in % 16) != 0) { + LOG("ffts_execute: input buffer needs to be aligned to a 128bit boundary\n"); + } + + if(((int)out % 16) != 0) { + LOG("ffts_execute: output buffer needs to be aligned to a 128bit boundary\n"); + } +#endif + p->transform(p, (const float *)in, (float *)out); } |