From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans@cse.psu.edu Subject: Re: [9fans] Alef PPC code generation problem Message-ID: <20020402150339.I6290@cackle.proxima.alt.za> References: <20020402125359.E209F19988@mail.cse.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20020402125359.E209F19988@mail.cse.psu.edu>; from forsyth@vitanuova.com on Tue, Apr 02, 2002 at 01:50:13PM +0100 Date: Tue, 2 Apr 2002 15:03:40 +0200 Topicbox-Message-UUID: 71a39244-eaca-11e9-9e20-41e7f4b1d025 On Tue, Apr 02, 2002 at 01:50:13PM +0100, forsyth@vitanuova.com wrote: > > >>values. I wonder at which stage of code generation the faulty > >>conversion code is applied? It isn't to > >> quad = e - 4.0 * f; > > yes, it is, though: it's the conversion from double to int that is wrong. > it might not generate the set/used warnings--i don't know about that--but > that code in the Alef code generator is wrong to start with. Conceded. I needed the last prod. I kept looking at it from the wrong angle (int -> float) altogether. The reason I didn't catch a wake up is that I have two versions of the compiler (recall the flagged section I mailed you?) and as Murphy would have it, I'd pick the wrong one for the diagnostic I was trying to elicit :-( OK, let me shoehorn the qc code into qal as closely as I can, see if I can make this baby rock. ++L