Changeset 6421 for branches/x8664-call


Ignore:
Timestamp:
May 4, 2007, 2:23:26 PM (13 years ago)
Author:
gb
Message:

Fix Darwin FP reg context stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/x8664-call/ccl/lisp-kernel/x86-exceptions.h

    r6306 r6421  
    3636#define set_xpGPR(x,gpr,new) xpGPR((x),(gpr)) = (natural)(new)
    3737#define xpPC(x) (xpGPR(x,Iip))
    38 #define xpFPRvector(x) ((natural *)(&(UC_MCONTEXT(x)->__fs.__fpu_stmm0)))
    39 #define xpMMXreg(x,n)  (xpFPRvector(x)[gprno])
     38#define xpFPRvector(x) ((natural *)(&(UC_MCONTEXT(x)->__fs.__fpu_xmm0)))
     39#define xpMMXreg(x,n)  (xpFPRvector(x)[n])
    4040#endif
    4141#include <mach/mach.h>
Note: See TracChangeset for help on using the changeset viewer.