Skip to content
Snippets Groups Projects
Commit 6bc57e52 authored by dtc's avatar dtc
Browse files

Fix a typo/bug in the complex single-float move argument VOP with a

destination on the stack.
parent 80853263
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.18 1998/03/04 16:41:53 dtc Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/sparc/float.lisp,v 1.19 1998/03/10 18:50:52 dtc Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -318,9 +318,9 @@ ...@@ -318,9 +318,9 @@
(inst fmovs y-imag x-imag)))) (inst fmovs y-imag x-imag))))
(complex-single-stack (complex-single-stack
(let ((offset (* (tn-offset y) word-bytes))) (let ((offset (* (tn-offset y) word-bytes)))
(let ((real-tn (complex-double-reg-real-tn x))) (let ((real-tn (complex-single-reg-real-tn x)))
(inst stf real-tn nfp offset)) (inst stf real-tn nfp offset))
(let ((imag-tn (complex-double-reg-imag-tn x))) (let ((imag-tn (complex-single-reg-imag-tn x)))
(inst stf imag-tn nfp (+ offset word-bytes)))))))) (inst stf imag-tn nfp (+ offset word-bytes))))))))
(define-move-vop move-complex-single-float-argument :move-argument (define-move-vop move-complex-single-float-argument :move-argument
(complex-single-reg descriptor-reg) (complex-single-reg)) (complex-single-reg descriptor-reg) (complex-single-reg))
......
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