summaryrefslogtreecommitdiff
path: root/volk/gen/make_machines_h.py
AgeCommit message (Collapse)Author
2011-05-18Volk: added alignment prop to each machine. call volk_get_alignment() to get ↵Nick Foster
your machine's reqd alignment for malloc.
2011-05-11Volk: Profiler is in apps/ now. Added name to function info. Going to ↵Nick Foster
C++-ify the whole thing.
2011-05-06volk: top-level common header cleanupJosh Blum
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
2011-05-06volk: make volk_machine_xxx.cc c-safeJosh Blum
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.
2011-05-05volk: make volk_machines.cc c-safeJosh Blum
Initialize the list of machine structs w/ pointers, this does not rely on C++ initialization and is smaller. In addition, rename the file extension to .c so we know its C only. Interesting note, this also fixes a bug when compiling under MSVC, the machines list initialization seemed to have problems prior to this change.
2011-04-26volk: reorganization of generation sources and generated filesJosh Blum
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.