diff options
Diffstat (limited to 'volk/include')
-rw-r--r-- | volk/include/volk/Makefile.am | 3 | ||||
-rw-r--r-- | volk/include/volk/make_mktables.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/volk/include/volk/Makefile.am b/volk/include/volk/Makefile.am index 7a5edd6243..23822b2293 100644 --- a/volk/include/volk/Makefile.am +++ b/volk/include/volk/Makefile.am @@ -133,7 +133,8 @@ volkinclude_HEADERS = \ VOLK_MKTABLES_SOURCES = \ $(platform_CODE) \ $(top_srcdir)/lib/volk_rank_archs.c \ - $(top_srcdir)/lib/volk_mktables.c + $(top_srcdir)/lib/volk_mktables.c \ + $(top_srcdir)/lib/volk_cpu.c volk_mktables$(EXEEXT): $(VOLK_MKTABLES_SOURCES) diff --git a/volk/include/volk/make_mktables.py b/volk/include/volk/make_mktables.py index 25da086faa..051ac268de 100644 --- a/volk/include/volk/make_mktables.py +++ b/volk/include/volk/make_mktables.py @@ -18,7 +18,7 @@ def make_mktables(funclist) : tempstring = tempstring + ' fprintf(output, "#define INCLUDED_VOLK_TABLES_H\\n\\n");\n'; for func in funclist: - tempstring = tempstring + ' fprintf(output, "static const ' + func + '_func_table = %u;\\n", 0);\n'; + tempstring = tempstring + ' fprintf(output, "static const ' + func + '_func_table = %u;\\n", volk_rank_archs(' + func + '_arch_defs, volk_get_lvarch()));\n'; tempstring = tempstring + ' fprintf(output, "#endif /*INCLUDED_VOLK_TABLES_H*/\\n");\n'; tempstring = tempstring + ' fclose(output);\n' tempstring = tempstring + '}\n'; |