From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 4FB662F023 for ; Tue, 3 Oct 2000 06:21:14 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id e93ALE913318 for axp-list@listman.redhat.com; Tue, 3 Oct 2000 06:21:14 -0400 Received: from pop3.dvic.com (IDENT:root@[63.237.68.6]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id e93ALDD13313 for ; Tue, 3 Oct 2000 06:21:13 -0400 Received: from voicenet.com ([63.237.68.248]) by pop3.dvic.com (8.9.3/8.8.7) with ESMTP id GAA14955 for ; Tue, 3 Oct 2000 06:17:01 -0400 Message-ID: <39D9B363.50D96B34@voicenet.com> Date: Tue, 03 Oct 2000 05:22:27 -0500 From: Uncle George Organization: GatWorks X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.16 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: a cvtts/s of a denorm ->0.0 References: <39D4DE43.4DF4DCF7@voicenet.com> <20001001143543.B15792@twiddle.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors I guess a much larger picture should be examined. Shouldn't the fp results match those from the linux/i386 port ? right now I know that a 0.0/denorm is a nan on linux/alpha. is is 0.0 on an i386 This can be changed to look just like the i386 by setting a bit in the FPCR register, but its not just done ( probably not even explained !) I also remem there was a rounding switch in the gcc/egcs ( egcs more likely ). I dont/didn't see it in help. One of those alpha rounding modes requires both the FPCR set, as well as a bit | 2 set in the fp instructions to get going. I'm not just sure what FP rounding mode will give me results that are just like the i386. So should alpha programs under alpha/linux produce the same FP results as the i386/linux ( under the same conditions ( ie 64 bit float number (& not the 80bit thats possible on the i386 )) /gat Richard Henderson wrote: > On Fri, Sep 29, 2000 at 01:24:03PM -0500, Uncle George wrote: > > It seems that the conversion of a double/denorm value into a > > float/denorm gets truncated into 0.0. > > Of course. That's the way rounding works. > > r~ > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list