X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fhppa%2Ffloat.lisp;h=649c922d8b53a412c7c6974a1517d1dbedce63e9;hb=b3c5951a9d24468a2a471fd6769d0e6b687c08f3;hp=9e805792436515d06a06a2447a47db54c3eac2ba;hpb=0d74ed478e7f3af5d3292153726373763631aa8e;p=sbcl.git diff --git a/src/compiler/hppa/float.lisp b/src/compiler/hppa/float.lisp index 9e80579..649c922 100644 --- a/src/compiler/hppa/float.lisp +++ b/src/compiler/hppa/float.lisp @@ -39,7 +39,7 @@ (inst fsts x offset base)) ((and (< offset (ash 1 13)) (> offset 0)) - ; FIX-lav, ok with GC to use lip-tn for arbitrary offsets ? + ;; FIXME-lav, ok with GC to use lip-tn for arbitrary offsets ? (inst ldo offset zero-tn lip-tn) ;(note-next-instruction vop :internal-error) (inst fstx x lip-tn base)) @@ -132,10 +132,10 @@ :offset (1+ (tn-offset x)))) (defun complex-double-reg-real-tn (x) - (make-random-tn :kind :normal :sc (sc-or-lose 'double-reg) + (make-random-tn :kind :normal :sc (sc-or-lose 'complex-double-reg) :offset (tn-offset x))) (defun complex-double-reg-imag-tn (x) - (make-random-tn :kind :normal :sc (sc-or-lose 'double-reg) + (make-random-tn :kind :normal :sc (sc-or-lose 'complex-double-reg) :offset (1+ (tn-offset x)))) (macrolet @@ -362,12 +362,12 @@ (double-stack y) (double-int-carg-reg temp))) (offset (* (tn-offset stack-tn) n-word-bytes))) - ; save 8 bytes of stack to two register, - ; write down float in stack and load it back - ; into result register. Notice the result hack, - ; we are writing to one extra register. - ; Double float argument convention uses two registers, - ; but we only know about one (thanks to c-call). + ;; save 8 bytes of stack to two register, + ;; write down float in stack and load it back + ;; into result register. Notice the result hack, + ;; we are writing to one extra register. + ;; Double float argument convention uses two registers, + ;; but we only know about one (thanks to c-call). (inst ldw offset nfp old1) (inst ldw (+ offset n-word-bytes) nfp old2) (str-float x offset nfp) ; writes 8 bytes @@ -496,7 +496,7 @@ (define-vop (,dname double-float-compare) (:translate ,translate) (:variant ,condition ,complement))))) - ;FIX-lav: let 'inst cmp' translate keywords into raw binary instead of giving it here + ;; FIXME-lav: let 'inst cmp' translate keywords into raw binary instead of giving it here (frob < #b01001 #b10101 #b10001 #b01101 >/single-float >/double-float) (frob = #b00101 #b11001 eql/single-float eql/double-float))