From 50f18f47ca9112f6bfda1b88eeb52467e6af57b7 Mon Sep 17 00:00:00 2001 From: dtc <dtc> Date: Fri, 19 Nov 1999 14:55:53 +0000 Subject: [PATCH] Use only one of :sparc-v7, :sparc-v8, or :sparc-v9 when building to get the desired features. From Raymond Toy. --- code/irrat.lisp | 4 ++-- compiler/sparc/float.lisp | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/code/irrat.lisp b/code/irrat.lisp index da834b062..7cfe94c92 100644 --- a/code/irrat.lisp +++ b/code/irrat.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/irrat.lisp,v 1.29 1999/06/23 14:05:17 dtc Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/irrat.lisp,v 1.30 1999/11/19 14:55:53 dtc Exp $") ;;; ;;; ********************************************************************** ;;; @@ -75,7 +75,7 @@ #-x86 (def-math-rtn "log" 1) #-x86 (def-math-rtn "log10" 1) (def-math-rtn "pow" 2) -#-(or x86 sparc-v7) (def-math-rtn "sqrt" 1) +#-(or x86 sparc-v7 sparc-v8 sparc-v9) (def-math-rtn "sqrt" 1) (def-math-rtn "hypot" 2) #-(or hpux x86) (def-math-rtn "log1p" 1) diff --git a/compiler/sparc/float.lisp b/compiler/sparc/float.lisp index d07d70b9e..97243cf43 100644 --- a/compiler/sparc/float.lisp +++ b/compiler/sparc/float.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/float.lisp,v 1.25 1999/11/18 14:25:39 dtc Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/float.lisp,v 1.26 1999/11/19 14:55:47 dtc Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1272,7 +1272,9 @@ (:results (y :scs (double-reg))) (:translate %sqrt) (:policy :fast-safe) - (:guard (backend-featurep :sparc-v7)) + (:guard (or (backend-featurep :sparc-v7) + (backend-featurep :sparc-v8) + (backend-featurep :sparc-v9))) (:arg-types double-float) (:result-types double-float) (:note "inline float arithmetic") -- GitLab