summaryrefslogtreecommitdiff
path: root/volk/gen/make_each_machine_c.py
Commit message (Collapse)AuthorAgeFilesLines
* volk: removed old generator python codeJosh Blum2012-04-191-90/+0
|
* Removed whitespace and added dtools/bin/remove-whitespace as a tool to do ↵Tom Rondeau2012-04-131-1/+1
| | | | | | this in the future. The sed script was provided by Moritz Fischer.
* volk: add include for config.h to cc fileJosh Blum2012-03-211-0/+4
| | | | | | | volk_32f_s32f_convert_16i_a was also a problem, previously volk_32f_s32f_convert_16i_u was fixed to have config.h. I heard putting config h stuff into public headers was bad practice. Including config.h into the generated cc file should fix this issue from now on.
* Volk: added alignment prop to each machine. call volk_get_alignment() to get ↵Nick Foster2011-05-181-5/+5
| | | | your machine's reqd alignment for malloc.
* volk: do not install library-only headersJosh Blum2011-05-131-1/+1
|
* Volk: Profiler is in apps/ now. Added name to function info. Going to ↵Nick Foster2011-05-111-0/+1
| | | | C++-ify the whole thing.
* volk: generate two machine structs which are conditional on LV_HAVE_ORCJosh Blum2011-05-101-15/+30
|
* volk: top-level common header cleanupJosh Blum2011-05-061-3/+0
| | | | | | | | | | | | | | | | Since we already have a volk_common.h, moved the attributes, API declaration, and c-linkage macros into volk_common.h This change removes volk_attributes.h, in favor of one common include header. The implementation headers that require attributes now include volk_common.h This change removes the emit_omnilog.py script, in favor of pre-processor macros in volk_common.h In addition, extern C is only defined when in C++ and in GCC because non-GCC does not have complex.h
* volk: make volk_machine_xxx.cc c-safeJosh Blum2011-05-061-35/+26
| | | | | | | | | | | Initialize each machine struct using C constants, (rather than relying on C++ to copy objects). Each machine file is far simpler, because we know what archs are in a machine, we can generate exactly the right code. In addition, rename the file extensions to .c so we know its C only.
* volk: reorganization of generation sources and generated filesJosh Blum2011-04-261-0/+82
All generation sources have been moved to the gen/ subdirectory. Bootstrap and volk_register.py generate the files into to gen/ subdirectory in an effort to cleanly separate the static/generated parts of the build tree. Define top_gendir in Makefile.common, all generated sources listed in Makefile.ams are prefixed with $(top_gendir) to differentiate them from static in-tree sources.