From: Joachim Wesner <joachim.wesner@frankfurt.netsurf.de>
Subject: Re: Problem with goto's saxpy and daxpy
Date: 1998/11/26 [thread overview]
Message-ID: <365DD95C.63B4C2C7@frankfurt.netsurf.de> (raw)
In-Reply-To: 365DD36C.59DB9D3@hia.nrc.ca
Tony Hoffmann wrote:
>
> I found that goto's saxpy and daxpy were not working when I built
> the LAPACK
> RPM package on my benchmark machine. The code appears to check float
> register 3 and take an exit branchline if equal to zero. (at least I
> assume that what
> fbeq $f3, $Exit does.). Anyways commenting the instruction out appears
> to
> fix the problem. saxpy and daxpy then work correctly.
>
> Am I missing something here?
Yep, it seems to be a typing error.
I looked in the code and it seems that it has to be $f30 instead of $f3.
This way he checks if da equals zero, which essentually is a NOP for
xAXPY, so the code can return immediately.
$f3 usually is a register, that has to be retained from the calling
routine (the code does save it), and as long as it not happens to have a
value of zero by accident, the code worked.
Joachim Wesner
next prev parent reply other threads:[~1998-11-26 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-26 5:00 Problem with goto's saxpy and daxpy Tony Hoffmann
1998-11-26 5:00 ` Joachim Wesner [this message]
1998-11-27 5:00 ` Johannes G.D. Hausmann
1998-11-27 5:00 ` Joachim Wesner
1998-11-28 5:00 ` Johannes G.D. Hausmann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox