From 0d7696773d583d978432979ad55731316c7b409c Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Wed, 24 Feb 2010 01:43:22 +0000 Subject: [PATCH] Fix critical bug in vop for multiplying a complex single-float by a single-float. --- compiler/x86/float-sse2.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/x86/float-sse2.lisp b/compiler/x86/float-sse2.lisp index 0c756f22c..307175fdc 100644 --- a/compiler/x86/float-sse2.lisp +++ b/compiler/x86/float-sse2.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/float-sse2.lisp,v 1.10 2009/10/28 22:48:11 rtoy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/x86/float-sse2.lisp,v 1.11 2010/02/24 01:43:22 rtoy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -2033,7 +2033,7 @@ (unless (location= y r) (inst movaps r y)) ; r = yi|yr or 0|0|yi|yr (inst ,fmul r t0))))))) - (complex-*-float single mulps movlhps 4) + (complex-*-float single mulps unpcklps 4) (complex-*-float double mulpd unpcklpd 4)) ;; Divide a complex by a real -- GitLab