Skip to content
Snippets Groups Projects
Commit 6e5af748 authored by Raymond Toy's avatar Raymond Toy
Browse files

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.
parent c0c49604
No related branches found
No related tags found
No related merge requests found
...@@ -465,7 +465,7 @@ main(int argc, const char *argv[], const char *envp[]) ...@@ -465,7 +465,7 @@ main(int argc, const char *argv[], const char *envp[])
const char *cmucllib = NULL; const char *cmucllib = NULL;
const char *unidata = NULL; const char *unidata = NULL;
fpu_mode_t fpu_type = AUTO; fpu_mode_t fpu_type = SSE2;
boolean monitor; boolean monitor;
lispobj initial_function = 0; lispobj initial_function = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment