git: x86_64 - support for AVX instructions

Alex Hornung alexh at crater.dragonflybsd.org
Wed Jan 2 13:11:27 PST 2013


commit 5cf56a8d44d83fcd14e7af7e5eaf6af2356c3d7a
Author: Alex Hornung <alex at 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


More information about the Commits mailing list