git: kernel - Separate XSAVE support from AVX support

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jan 27 17:33:16 PST 2021


commit 7c656f7b1af21f8ef90b95e0d1c091b98b32204d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jan 27 17:31:40 2021 -0800

    kernel - Separate XSAVE support from AVX support
    
    * XSAVE may be supported without AVX, on certain CPUs and also under
      hypervisors that expose XSAVEOPT without AVX.
    
    * Always use XSAVE, when supported, regardless of whether AVX is supported
      or not.
    
    Submitted-by: chicken
    Bug-ID: #3264

Summary of changes:
 sys/cpu/x86_64/include/cpufunc.h   |  9 +++++++--
 sys/cpu/x86_64/include/npx.h       |  1 +
 sys/platform/pc64/x86_64/initcpu.c | 13 ++++++++-----
 sys/platform/pc64/x86_64/npx.c     | 29 ++++++++++++++++++++++++-----
 4 files changed, 40 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7c656f7b1af21f8ef90b95e0d1c091b98b32204d


-- 
DragonFly BSD source repository



More information about the Commits mailing list