From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a226fb52248ec6fc X-Google-Attributes: gid111c93,public From: Joachim Wesner Subject: Re: Problem with goto's saxpy and daxpy Date: 1998/11/26 Message-ID: <365DD95C.63B4C2C7@frankfurt.netsurf.de>#1/1 X-Deja-AN: 416026609 Content-Transfer-Encoding: 7bit References: <365DD36C.59DB9D3@hia.nrc.ca> Content-Type: text/plain; charset=us-ascii X-Trace: 26 Nov 1998 23:43:11 -0100, deck-201.frankfurt.netsurf.de Organization: OMNILINK -- your link to the Net MIME-Version: 1.0 Newsgroups: comp.os.linux.alpha 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