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 866982F936 for ; Tue, 19 Sep 2000 20:45:41 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id UAA15996 for axp-list@listman.redhat.com; Tue, 19 Sep 2000 20:45:41 -0400 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id UAA15992 for ; Tue, 19 Sep 2000 20:45:38 -0400 Received: by paralleldata.com from localhost (router,SLMail V2.5); Tue, 19 Sep 2000 19:53:24 -0500 Received: by paralleldata.com from paralleldata.com (24.15.240.182::mail daemon; unverified,SLMail V2.5); Tue, 19 Sep 2000 19:53:19 -0500 Message-ID: <39C8154B.EFB88F97@paralleldata.com> Date: Tue, 19 Sep 2000 20:39:23 -0500 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Alpha/Linux FP denormal processing References: <200009192355.RAA29539@ellpspace.math.ualberta.ca> 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 Michal Jaegermann wrote: > > Brad Lucier wrote: > > > > > > > > OTOH compiling anything with gcc and without optimization is a pure > > > masochism > > > > Huh? This fails with -O2, too: > > > .... > > for (x = 1.0; x != 0.0; x /= y) > .... > > Yes, sure. We know that this is a kernel bug and here optimization > will not help. But we were talking about different case and why > my test runs were ok. > > BTW - for those trying a new variant. Make sure that you are not > using an argument which is too small. :-) > A smart compiler would still remove the divide for this case. Divides are notoriously slow compared to multiplies. The variable is not loop dependent so use a reciprocal and multiply. Does ccc leave the divide there? I wouldn't think so. Wes