diff --git a/code/irrat.lisp b/code/irrat.lisp index da834b0628ff90310f45de49b3da958acd0537e2..7cfe94c92d2eb636f349c0df0f0bb0009b519901 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 d07d70b9e49224c7d576049b5d1e14dab6b1f6ed..97243cf43a77b3917580afca5dbb218101dfdf58 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")