Changeset 13960


Ignore:
Timestamp:
Jul 14, 2010, 1:09:54 AM (9 years ago)
Author:
rme
Message:

Keep trying to get xpMXCSR right on Solaris.

Location:
trunk/source/lisp-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/platform-solarisx64.h

    r13953 r13960  
    3737#define eflags_register(xp) xpGPR(xp,Iflags)
    3838#define xpXMMregs(x)(&((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[0]))
    39 #define xpMXCSR(x) ((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xstatus)
     39#define xpMXCSR(x) ((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.mxcsr)
    4040#define SIGNUM_FOR_INTN_TRAP SIGSEGV
    4141#define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,REG_TRAPNO)==0xd)&&((xpGPR(xp,REG_ERR)&7)==2))
  • trunk/source/lisp-kernel/platform-solarisx86.h

    r13953 r13960  
    3838#define xpXMMregs(x)(&((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[0]))
    3939#define xpMMXreg(x,n)*(natural *)(&(((struct fnsave_state *)(&(((x)->uc_mcontext.fpregs))))->f_st[n]))
    40 #define xmMXCSR(x) ((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xstatus)
     40#define xmMXCSR(x) ((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.mxcsr)
    4141#define SIGNUM_FOR_INTN_TRAP SIGSEGV
    4242#define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,TRAPNO)==0xd)&&((xpGPR(xp,ERR)&7)==2))
Note: See TracChangeset for help on using the changeset viewer.