git: x86_64/specialreg.h: Improve XCR0 defines a bit

Aaron LI aly at crater.dragonflybsd.org
Sat Jun 19 03:42:02 PDT 2021


commit 7beb824d3201042b90bb69176b83cbb07b2f8e35
Author: Aaron LI <aly at aaronly.me>
Date:   Mon May 10 23:17:04 2021 +0800

    x86_64/specialreg.h: Improve XCR0 defines a bit
    
    * Move XCR0 defines CPU_XFEATURE_* before the CPUID feature defines,
      so the CPUID/AMDID defines groups better.
    * Add a bit comments to the defines (obtained from NetBSD).
    * Add a alias define CPU_XFEATURE_AVX, although won't be used yet.

Summary of changes:
 sys/cpu/x86_64/include/specialreg.h | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list