commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mach branch, master, updated. 9e608d32e9e85246decd868f326efde6


From: Samuel Thibault
Subject: [SCM] GNU Mach branch, master, updated. 9e608d32e9e85246decd868f326efde66108c7f3
Date: Sat, 28 Nov 2009 16:29:11 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".

The branch, master has been updated
       via  9e608d32e9e85246decd868f326efde66108c7f3 (commit)
      from  77c3d3e9505853ea2d5e1b68f7c7e6c2481cccaf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9e608d32e9e85246decd868f326efde66108c7f3
Author: Samuel Thibault <address@hidden>
Date:   Sat Nov 28 17:09:38 2009 +0100

    Add XMM FPU registers save/restore support.
    
        * i386/include/mach/i386/fp_reg.h (struct i386_fp_regs): Invert array
        indices.
        (struct i386_xfp_save): New structure.
        (FP_387X): New macro.
        * i386/i386/thread.h (struct i386_fpsave_state): Add xfp_save_state
        member, keep existing fp_save_state and fp_regs members in an unnamed
        union member.  Move fp_valid member to the end of the structure.
        * i386/i386/fpu.h (fxsave, fxrstor): New macros.
        (fpu_save_context): Use fxsave() when FPU is FXSR-capable.
        * i386/i386/fpu.c: Include <i386/locore.h>
        (mxcsr_feature_mask): New variable.
        (fp_save, fp_load): Add declaration.
        (init_fpu): Add FXSR-capable FPU detection.
        (fpu_module_init): Request 16-byte alignment to zinit() for
        i386_fpsave_state structures.
        (twd_i387_to_fxsr, twd_fxsr_to_i387): New functions.
        (fpu_set_state): Convert FPU state when FPU is FXSR-capable.
        (fpu_get_state): Convert FPU state when FPU is FXSR-capable.
            (fpexterrflt): Pass to i386_exception either xfp_save_state or
            fp_save_state according to FPU type.
        (fpastintr): Likewise.
        (fp_load): Likewise.  Use fxrstor() when FPU is FXSR-capable.
        (fp_save): Use fxsave() when FPU is FXSR-capable.
        (fp_state_alloc): Add FXSR-aware initialization.

-----------------------------------------------------------------------

Summary of changes:
 i386/i386/fpu.c                        |  208 +++++++++++++++++++++++++++-----
 i386/i386/fpu.h                        |   11 ++-
 i386/i386/thread.h                     |    9 +-
 i386/include/mach/i386/fp_reg.h        |   23 ++++-
 i386/include/mach/i386/thread_status.h |    2 +-
 5 files changed, 217 insertions(+), 36 deletions(-)


hooks/post-receive
-- 
GNU Mach




reply via email to

[Prev in Thread] Current Thread [Next in Thread]