summaryrefslogtreecommitdiff
path: root/volk/lib/gcc_x86_cpuid.h
AgeCommit message (Collapse)Author
2012-04-16Merge branch 'maint'Johnathan Corgan
Conflicts: volk/gen/make_cpuid_c.py
2012-04-16Volk: also check to make sure OSXSAVE is enabled so you don't check XGETBV ↵Nick Foster
when OS has it disabled.
2012-04-16Volk: add support for checking AVX enable state of OS.Nick Foster
Some systems (notably Xen hypervisor) appear to use XSETBV to disable AVX. This causes SIGILL when running AVX instructions. This commit makes Volk check XCR0 on the AVX arch before proceeding.
2012-04-13Removed whitespace and added dtools/bin/remove-whitespace as a tool to do ↵Tom Rondeau
this in the future. The sed script was provided by Moritz Fischer.
2011-01-17volk: replace assembly and separate cases with gcc cpuid for all x86Josh Blum