Changeset 10805


Ignore:
Timestamp:
Sep 18, 2008, 4:10:37 AM (11 years ago)
Author:
rme
Message:

Try once again to get xpMMXreg macro right for Darwin/x86.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/x86-exceptions.h

    r10804 r10805  
    3939#define eflags_register(xp) xpGPR(xp,Iflags)
    4040#define xpFPRvector(x) ((natural *)(&(UC_MCONTEXT(x)->__fs.__fpu_xmm0)))
    41 #define xpMMXreg(x,n) ((natural *)(&(UC_MCONTEXT(x)->__fs.__fpu_stmm0)))[n]
     41#define xpMMXvector(x) (&(UC_MCONTEXT(x)->__fs.__fpu_stmm0))
     42/* Note that this yields only the lower half of the MMX reg on x8632 */
     43#define xpMMXreg(x,n) *(natural *)&(xpMMXvector(x)[n])
    4244
    4345#include <mach/mach.h>
Note: See TracChangeset for help on using the changeset viewer.