From 74c59b7679c19e07fa0866c4aeb1d652856a7ed9 Mon Sep 17 00:00:00 2001
From: Raymond Toy <rtoy@google.com>
Date: Fri, 24 Feb 2012 09:22:58 -0800
Subject: [PATCH] Oops.  Always write the fpu mode to the core file on x86. 
 (Previously only wrote the mode when compiling with sse2.)

---
 src/compiler/generic/new-genesis.lisp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/compiler/generic/new-genesis.lisp b/src/compiler/generic/new-genesis.lisp
index ee417f41c..9523d41fb 100644
--- a/src/compiler/generic/new-genesis.lisp
+++ b/src/compiler/generic/new-genesis.lisp
@@ -2928,9 +2928,8 @@
 
       ;; For x86, identify the core as using either x87 or sse2
       ;; instructions.
-      (cond ((and (eql (c:backend-fasl-file-implementation c:*backend*)
-		       c:x86-fasl-file-implementation)
-		  (c:backend-featurep :sse2))
+      (cond ((eql (c:backend-fasl-file-implementation c:*backend*)
+		  c:x86-fasl-file-implementation)
 	     (write-long 4)
 	     (write-long version)
 	     ;; See the definition of fpu_mode_t in lisp.h for correct
-- 
GitLab