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 82F002EF9E for ; Wed, 20 Sep 2000 04:25:34 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id EAA02481 for axp-list@listman.redhat.com; Wed, 20 Sep 2000 04:25:34 -0400 Received: from mgate2.uni-hannover.de (zzismail@mgate2.uni-hannover.de [130.75.2.5]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id EAA02476 for ; Wed, 20 Sep 2000 04:25:33 -0400 Received: from wega.itp.uni-hannover.de by mgate2.uni-hannover.de with LocalSMTP (PP) with ESMTP; Wed, 20 Sep 2000 10:24:03 +0200 Received: from mirzam.itp.uni-hannover.de (mirzam.itp.uni-hannover.de [130.75.25.94]) by wega.itp.uni-hannover.de (AIX4.3/UCB 8.8.8/8.8.8) with ESMTP id KAA18050; Wed, 20 Sep 2000 10:24:00 +0200 Received: (from kreutzm@localhost) by mirzam.itp.uni-hannover.de (8.9.3/8.9.3) id KAA01671; Wed, 20 Sep 2000 10:24:00 +0200 Date: Wed, 20 Sep 2000 10:24:00 +0200 From: Helge Kreutzmann To: axp-list@redhat.com Cc: Lukas Dobrek , Carsten Luckmann , Thomas Boettner , Martin Mueller Subject: Re: Alpha/Linux FP denormal processing Message-ID: <20000920102400.C1563@itp.uni-hannover.de> Mail-Followup-To: Helge Kreutzmann , axp-list@redhat.com, Lukas Dobrek , Carsten Luckmann , Thomas Boettner , Martin Mueller References: <200009192355.RAA29539@ellpspace.math.ualberta.ca> <39C8154B.EFB88F97@paralleldata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <39C8154B.EFB88F97@paralleldata.com>; from wsb@paralleldata.com on Tue, Sep 19, 2000 at 08:39:23PM -0500 X-Public-Key-URL: http://www.itp.uni-hannover.de/~kreutzm/data/kreutzm.gpg X-homepage: http://www.itp.uni-hannover.de/~kreutzm X-Operating-System: Linux mirzam.itp.uni-hannover.de 2.2.17 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 Hello ! On Tue, Sep 19, 2000 at 08:39:23PM -0500, W Bauske wrote: > > > > > .... > > > for (x = 1.0; x != 0.0; x /= y) > > .... > > > 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. Comparing a XP1000 running Linux Alpha Linux hakan 2.2.17 #1 Tue Sep 5 16:02:08 CEST 2000 alpha unknown with aa: gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) ab: Compaq C V6.2-503 on Linux 2.2.17 alpha with an similar machines (sorry, don't have the excat specs because I seldomly use the du machines and don't know where to look) running OSF1 suker V4.0 1091 alpha with ba: gcc version 2.7-96q3 bb: DEC C V5.8-009 on Digital UNIX V4.0 (Rev. 1091) I get for the three programs (1: *= 0.5; 2: /= 2.0 and 3: x/=y) the following minimal exponent: aa ab ba bb 1 e-308 e-308 e-308 e-308 1 -O2 e-308 e-308 e-308 e-308 1 -O2 -mieee e-324 e-324 ? e-324 1 -mieee e-324 e-324 ? e-324 2 e-308 e-308 e-308 e-308 2 -O2 e-308 e-308 e-308 e-308 2 -O2 -mieee e-324 e-324 ? e-324 2 -mieee e-308 e-324 ? e-324 3 e-308 e-308 e-308 e-308 3 -O2 e-308 e-308 e-308 e-308 3 -O2 -mieee e-308 e-308 ? e-324 3 -mieee e-308 e-308 ? e-324 With the compaq compiler on DU -ieee was used. And our gcc on DU unfortunately does not understand -mieee. Since no ccc test runs were posted I hope this might help. Especially programm three in comparison DU<->Linux indicates the kernel problem. Regards Helge -- Helge Kreutzmann, Dipl.-Phys. kreutzm@itp.uni-hannover.de For gpg-key: finger kreutzm@rigel.itp.uni-hannover.de 64bit GNU powered http://www.itp.uni-hannover.de/~kreutzm Help keep free software "libre": http://www.freepatents.org/