Skip to content
Snippets Groups Projects
Commit 4c964a5c authored by dtc's avatar dtc
Browse files

Few fixes to the sparc complex-float support.

parent 232b5aad
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain. ;;; Carnegie Mellon University, and has been placed in the public domain.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/float.lisp,v 1.13 1998/01/21 05:10:19 dtc Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/float.lisp,v 1.14 1998/01/21 10:10:06 dtc Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
:offset (tn-offset x))) :offset (tn-offset x)))
(defun complex-double-reg-imag-tn (x) (defun complex-double-reg-imag-tn (x)
(make-random-tn :kind :normal :sc (sc-or-lose 'double-reg *backend*) (make-random-tn :kind :normal :sc (sc-or-lose 'double-reg *backend*)
:offset (1+ (tn-offset x)))) :offset (+ (tn-offset x) 2)))
(define-move-function (load-complex-single 2) (vop x y) (define-move-function (load-complex-single 2) (vop x y)
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain. ;;; Carnegie Mellon University, and has been placed in the public domain.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/vm.lisp,v 1.8 1998/01/21 05:10:17 dtc Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/vm.lisp,v 1.9 1998/01/21 10:10:05 dtc Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -149,10 +149,11 @@ ...@@ -149,10 +149,11 @@
(double-stack non-descriptor-stack (double-stack non-descriptor-stack
:element-size 2 :alignment 2) ; double floats. :element-size 2 :alignment 2) ; double floats.
#+complex-float #+complex-float
(complex-single-stack stack :element-size 2) ; complex-single-floats ;; complex-single-floats
(complex-single-stack non-descriptor-stack :element-size 2)
#+complex-float #+complex-float
(complex-double-stack stack ;; complex-double-floats.
:element-size 4 :alignment 2) ; complex-double-floats. (complex-double-stack non-descriptor-stack :element-size 4 :alignment 2)
;; **** Things that can go in the integer registers. ;; **** Things that can go in the integer registers.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment