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

    r13638 r13934  
    5454/* Note that this yields only the lower half of the MMX reg on x8632 */
    5555#define xpMMXreg(x,n) *(natural *)&(xpMMXvector(x)[n])
    56 
     56#define xpMXCSR(x) (UC_MCONTEXT(x)->__fs.__fpu_mxcsr)
    5757#define SIGNUM_FOR_INTN_TRAP SIGSEGV /* Not really, but our Mach handler fakes that */
    5858#define IS_MAYBE_INT_TRAP(info,xp) ((UC_MCONTEXT(xp)->__es.__trapno == 0xd) && (((UC_MCONTEXT(xp)->__es.__err)&7)==2))
Note: See TracChangeset for help on using the changeset viewer.