Revision 26c81b79

b/volk/include/volk/Makefile.am
133 133
VOLK_MKTABLES_SOURCES = \
134 134
	$(platform_CODE) \
135 135
	$(top_srcdir)/lib/volk_rank_archs.c \
136
	$(top_srcdir)/lib/volk_mktables.c
136
	$(top_srcdir)/lib/volk_mktables.c \
137
	$(top_srcdir)/lib/volk_cpu.c
137 138

138 139

139 140
volk_mktables$(EXEEXT): $(VOLK_MKTABLES_SOURCES)
b/volk/include/volk/make_mktables.py
18 18
    tempstring = tempstring + '  fprintf(output, "#define INCLUDED_VOLK_TABLES_H\\n\\n");\n';
19 19
    
20 20
    for func in funclist:
21
        tempstring = tempstring + '  fprintf(output, "static const ' + func + '_func_table = %u;\\n", 0);\n';
21
        tempstring = tempstring + '  fprintf(output, "static const ' + func + '_func_table = %u;\\n", volk_rank_archs(' + func + '_arch_defs, volk_get_lvarch()));\n';
22 22
    tempstring = tempstring + '  fprintf(output, "#endif /*INCLUDED_VOLK_TABLES_H*/\\n");\n';
23 23
    tempstring = tempstring + '  fclose(output);\n'
24 24
    tempstring = tempstring + '}\n';

Also available in: Unified diff