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-freebsdx8632.h

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