summaryrefslogtreecommitdiffstats
path: root/src/codegen.h
diff options
context:
space:
mode:
authorAnthony Blake <anthonix@me.com>2012-08-11 21:08:25 +1200
committerAnthony Blake <anthonix@me.com>2012-08-11 21:08:25 +1200
commitfacf16267d192eee4514666dc132fa9ee92905c9 (patch)
tree5eea4bab8e3e4a6eac18be0f1893faf631a94a36 /src/codegen.h
parent829c8fbb2fe38c0f5c45d6f081c53dde73dc605d (diff)
downloadffts-facf16267d192eee4514666dc132fa9ee92905c9.zip
ffts-facf16267d192eee4514666dc132fa9ee92905c9.tar.gz
Self-modifying size-64 works
Diffstat (limited to 'src/codegen.h')
-rw-r--r--src/codegen.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/codegen.h b/src/codegen.h
new file mode 100644
index 0000000..72cb080
--- /dev/null
+++ b/src/codegen.h
@@ -0,0 +1,18 @@
+#ifndef __CODEGEN_H__
+#define __CODEGEN_H__
+
+#include <stddef.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <sys/mman.h>
+#include <string.h>
+#include <limits.h> /* for PAGESIZE */
+
+typedef struct _ffts_plan_t ffts_plan_t;
+
+typedef void (*transform_func_t)(float *data, size_t N, float *LUT);
+
+transform_func_t ffts_generate_func_code(ffts_plan_t *, size_t N, size_t leafN);
+
+#endif
OpenPOWER on IntegriCloud