Ignore:
Timestamp:
Jul 7, 2010, 7:36:33 PM (9 years ago)
Author:
rme
Message:

New xpMXCSR(x) macro for accessing MXCSR register as saved in
exception context structurs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rme-fpe/lisp-kernel/platform-freebsdx8664.h

    r13638 r13934  
    3939#define xpMMXreg(x,n) *((natural *)(&(((struct savefpu *)(&(x)->uc_mcontext.mc_fpstate))->sv_fp[n])))
    4040#define xpXMMregs(x)(&(((struct savefpu *)(&(x)->uc_mcontext.mc_fpstate))->sv_xmm[0]))
     41#define xpMXCSR(x) ((struct savefpu *)((x)->uc_mcontext.mc_fpstate)->sv_env.en_mxcsr)
    4142extern void freebsd_sigreturn(ExceptionInformation *);
    4243#define SIGNUM_FOR_INTN_TRAP SIGBUS
Note: See TracChangeset for help on using the changeset viewer.