x86_64 - support for AVX instructions
authorAlex Hornung <alex@alexhornung.com>
Sat, 29 Dec 2012 23:52:54 +0000 (23:52 +0000)
committerAlex Hornung <ahornung@gmail.com>
Wed, 2 Jan 2013 21:11:11 +0000 (21:11 +0000)
commit5cf56a8d44d83fcd14e7af7e5eaf6af2356c3d7a
treef11d7520f7c021cbde4b12d5641f3ab41886a41c
parent9ed293e071aa5626e1e68861be45f0002c7b0d8c
x86_64 - support for AVX instructions

 * CPU will be checked for XSAVE and AVX support on boot. If both are
   found, they will be enabled.

 * If enabled, the kernel will use the XSAVE and XRSTOR instructions to
   save and restore FPU, SSE and AVX registers.

Originally-Submitted-by: Adam Sakareassen (with modifications)
sys/config/LINT64
sys/config/X86_64_GENERIC
sys/cpu/x86_64/include/cpufunc.h
sys/cpu/x86_64/include/npx.h
sys/cpu/x86_64/include/specialreg.h
sys/platform/pc64/conf/options
sys/platform/pc64/include/md_var.h
sys/platform/pc64/x86_64/initcpu.c
sys/platform/pc64/x86_64/npx.c