DragonFly commits List (threaded) for 2013-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: x86_64 - support for AVX instructions
commit 5cf56a8d44d83fcd14e7af7e5eaf6af2356c3d7a
Author: Alex Hornung <alex@alexhornung.com>
Date: Sat Dec 29 23:52:54 2012 +0000
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)
Summary of changes:
sys/config/LINT64 | 3 ++
sys/config/X86_64_GENERIC | 1 +
sys/cpu/x86_64/include/cpufunc.h | 8 +++++
sys/cpu/x86_64/include/npx.h | 12 ++++++++
sys/cpu/x86_64/include/specialreg.h | 51 ++++++++++++++++++++--------------
sys/platform/pc64/conf/options | 1 +
sys/platform/pc64/include/md_var.h | 1 +
sys/platform/pc64/x86_64/initcpu.c | 14 +++++++++
sys/platform/pc64/x86_64/npx.c | 18 +++++++++++-
9 files changed, 87 insertions(+), 22 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5cf56a8d44d83fcd14e7af7e5eaf6af2356c3d7a
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]