[Openmcl-cvs-notifications] r14123 - /trunk/source/lisp-kernel/platform-freebsdx8664.h

gb at clozure.com gb at clozure.com
Thu Aug 5 05:32:03 CDT 2010


Author: gb
Date: Thu Aug  5 05:32:03 2010
New Revision: 14123

Log:
Fix xpMXCSR macro definition.

Modified:
    trunk/source/lisp-kernel/platform-freebsdx8664.h

Modified: trunk/source/lisp-kernel/platform-freebsdx8664.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/source/lisp-kernel/platform-freebsdx8664.h (original)
+++ trunk/source/lisp-kernel/platform-freebsdx8664.h Thu Aug  5 05:32:03 20=
10
@@ -38,7 +38,7 @@
 #define xpPC(x) xpGPR(x,Iip)
 #define xpMMXreg(x,n) *((natural *)(&(((struct savefpu *)(&(x)->uc_mcontex=
t.mc_fpstate))->sv_fp[n])))
 #define xpXMMregs(x)(&(((struct savefpu *)(&(x)->uc_mcontext.mc_fpstate))-=
>sv_xmm[0]))
-#define xpMXCSR(x) ((struct savefpu *)((x)->uc_mcontext.mc_fpstate)->sv_en=
v.en_mxcsr)
+#define xpMXCSR(x) (((struct savefpu *)(&(x)->uc_mcontext.mc_fpstate))->sv=
_env.en_mxcsr)
 extern void freebsd_sigreturn(ExceptionInformation *);
 #define SIGNUM_FOR_INTN_TRAP SIGBUS
 #define IS_MAYBE_INT_TRAP(info,xp) ((xp->uc_mcontext.mc_trapno =3D=3D T_PR=
OTFLT) && ((xp->uc_mcontext.mc_err & 7) =3D=3D 2))



More information about the Openmcl-cvs-notifications mailing list