Changeset 13950 for branches


Ignore:
Timestamp:
Jul 10, 2010, 3:42:28 AM (9 years ago)
Author:
rme
Message:

Add comment about Liunx struct _fpstate.

File:
1 edited

Legend:

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

    r13939 r13950  
    3838#define xpPC(x) (xpGPR(x,Iip))
    3939#define xpMMXreg(x,n)  *((natural *)(&((x)->uc_mcontext.fpregs->_st[n])))
     40/* You're supposed to look at a magic field in the struct _fpstate
     41   to know if there is sse2 state present; we only run on systems
     42   with sse2, so we'll assume it's always there. */
    4043#define xpMXCSR(xp) (((struct _fpstate *)((xp)->uc_mcontext.fpregs))->mxcsr)
    4144#define eflags_register(xp) xpGPR(xp,Iflags)
Note: See TracChangeset for help on using the changeset viewer.