[cmucl-commit] [git] CMU Common Lisp branch master updated. snapshot-2014-11-1-g6e5af74

Raymond Toy rtoy at common-lisp.net
Thu Nov 6 03:22:58 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMU Common Lisp".

The branch, master has been updated
       via  6e5af7486d432c54173bbba304001bdaa054a87b (commit)
      from  c0c49604d436b83f8afac4e60d342d63e2ea4eb2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6e5af7486d432c54173bbba304001bdaa054a87b
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Wed Nov 5 19:22:50 2014 -0800

    Initialize fpu_type to SSE2 instead of AUTO.
    
    This shows up when creating executables.  Executables don't have the
    magic number in the core file to indicate whether the core suports
    sse2 or x87, so the fpu_type is never set to the actual type, and
    fpu_mode is set to the value of fpu_type.  But there are asserts in
    the C code to check that fpu_mode is SSE2 since we have dropped
    support for x87.
    
    One case where this happens is building maxima with a cmucl executable
    on darwin.  An assert triggers preventing maxima from running.  This
    change fixes that.

diff --git a/src/lisp/lisp.c b/src/lisp/lisp.c
index c484129..9defc05 100644
--- a/src/lisp/lisp.c
+++ b/src/lisp/lisp.c
@@ -465,7 +465,7 @@ main(int argc, const char *argv[], const char *envp[])
     const char *cmucllib = NULL;
     const char *unidata = NULL;
     
-    fpu_mode_t fpu_type = AUTO;
+    fpu_mode_t fpu_type = SSE2;
     boolean monitor;
     lispobj initial_function = 0;
 

-----------------------------------------------------------------------

Summary of changes:
 src/lisp/lisp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
CMU Common Lisp


More information about the cmucl-commit mailing list