summaryrefslogtreecommitdiff
path: root/volk/lib/gcc_x86_cpuid.h
AgeCommit message (Collapse)Author
2012-04-19Merge branch 'maint'Johnathan Corgan
2012-04-18volk: added xgetbv stuff from volk_work to maintJosh Blum
This ensures that the compiler has support for xgetbv. This also fixes MSVC by checking for _xgetbv. Also, restored copy of cpuid.h, this should not be modified.
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