From d7aa7ba521bfba2b8c0d3d4cf28ee609530f16cb Mon Sep 17 00:00:00 2001
From: dtc <dtc>
Date: Mon, 30 Mar 1998 02:41:17 +0000
Subject: [PATCH] Fix a bug in the log1p-pentium VOP.

---
 compiler/x86/float.lisp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/x86/float.lisp b/compiler/x86/float.lisp
index 2048a58b2..db8388e35 100644
--- a/compiler/x86/float.lisp
+++ b/compiler/x86/float.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/float.lisp,v 1.26 1998/03/21 07:54:38 dtc Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/float.lisp,v 1.27 1998/03/30 02:41:17 dtc Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -2995,7 +2995,7 @@
 	     (inst fldln2)
 	     (inst fldd (make-random-tn :kind :normal
 					:sc (sc-or-lose 'double-reg *backend*)
-					:offset (- (tn-offset x) 2))))))
+					:offset (1- (tn-offset x)))))))
 	((double-stack descriptor-reg)
 	 (inst fstp fr0)
 	 (inst fstp fr0)
@@ -4015,7 +4015,7 @@
 	     (inst fldln2)
 	     (inst fldd (make-random-tn :kind :normal
 					:sc (sc-or-lose 'double-reg *backend*)
-					:offset (- (tn-offset x) 2))))))
+					:offset (1- (tn-offset x)))))))
 	((long-stack descriptor-reg)
 	 (inst fstp fr0)
 	 (inst fstp fr0)
-- 
GitLab