From: Daniel B. <da...@us...> - 2004-06-27 18:20:59
|
Update of /cvsroot/sbcl/sbcl/src/compiler/x86-64 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10227 Added Files: Tag: when-all-you-have-is-a-hammer-branch float.lisp Log Message: and you --- NEW FILE: float.lisp --- ;;;; floating point support for the x86 ;;;; This software is part of the SBCL system. See the README file for ;;;; more information. ;;;; ;;;; This software is derived from the CMU CL system, which was ;;;; written at Carnegie Mellon University and released into the ;;;; public domain. The software is in the public domain and is ;;;; provided with absolutely no warranty. See the COPYING and CREDITS ;;;; files for more information. (in-package "SB!VM") (macrolet ((ea-for-xf-desc (tn slot) `(make-ea :qword :base ,tn :disp (- (* ,slot n-word-bytes) other-pointer-lowtag)))) (defun ea-for-sf-desc (tn) [...2799 lines suppressed...] ;;; arguments towards a FP register, which can help avoid consing at ;;; inappropriate locations (defknown double-float-reg-bias (double-float) (values)) (define-vop (double-float-reg-bias) (:translate double-float-reg-bias) (:args (x :scs (double-reg double-stack) :load-if nil)) (:arg-types double-float) (:policy :fast-safe) (:note "inline dummy FP register bias") (:ignore x) (:generator 0)) (defknown single-float-reg-bias (single-float) (values)) (define-vop (single-float-reg-bias) (:translate single-float-reg-bias) (:args (x :scs (single-reg single-stack) :load-if nil)) (:arg-types single-float) (:policy :fast-safe) (:note "inline dummy FP register bias") (:ignore x) (:generator 0)) |