git: Expand fpusave union to include x86_64 versions

John Marino marino at crater.dragonflybsd.org
Tue Jan 17 13:18:45 PST 2017


commit 70ca95ba54ff83b919b4678c14374e28c08c2d3e
Author: John Marino <draco at marino.st>
Date:   Tue Jan 17 14:00:55 2017 -0600

    Expand fpusave union to include x86_64 versions
    
    The structure of envmmx remains a constant size, but changes composition
    between the i386 and x86_64 versions.  While here, flesh out the
    832-byte saveymm structure, also distinguishing between 32 and 64 bit
    versions.
    
    While here, convert u_char, u_short, u_int16_t, u_int32_t to standard
    integers; <sys/types.h> with it's redundant guards is no longer required
    although <stdint> is now needed.
    
    This allows the fpu context to be seen on x86_64 by casting the fpusave
    union to the new savexmm64 and saveymm64 structures.

Summary of changes:
 sys/cpu/x86_64/include/npx.h | 147 ++++++++++++++++++++++++++++++-------------
 1 file changed, 103 insertions(+), 44 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70ca95ba54ff83b919b4678c14374e28c08c2d3e


-- 
DragonFly BSD source repository


More information about the Commits mailing list