From: Helge Kreutzmann <kreutzm@itp.uni-hannover.de>
To: axp-list@redhat.com
Cc: Lukas Dobrek <dobrek@itp.uni-hannover.de>,
Carsten Luckmann <luckmann@itp.uni-hannover.de>,
Thomas Boettner <boettner@itp.uni-hannover.de>,
Martin Mueller <mmueller@itp.uni-hannover.de>
Subject: Re: Alpha/Linux FP denormal processing
Date: Wed, 20 Sep 2000 10:24:00 +0200 [thread overview]
Message-ID: <20000920102400.C1563@itp.uni-hannover.de> (raw)
In-Reply-To: <39C8154B.EFB88F97@paralleldata.com>; from wsb@paralleldata.com on Tue, Sep 19, 2000 at 08:39:23PM -0500
Hello !
On Tue, Sep 19, 2000 at 08:39:23PM -0500, W Bauske wrote:
<snip>
> > >
> > ....
> > > 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/
next prev parent reply other threads:[~2000-09-20 8:25 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-16 23:58 OT: gcc on DU5 Larry Snyder
2000-09-17 1:15 ` Peter Petrakis
2000-09-17 17:26 ` J Bacher
2000-09-18 3:29 ` Peter Rival
2000-09-17 16:21 ` Larry Snyder
2000-09-17 23:15 ` Richard Henderson
2000-09-19 0:59 ` Alpha/Linux FP denormal processing Uncle George
2000-09-19 1:54 ` Brad Lucier
2000-09-19 9:29 ` Uncle George
2000-09-19 13:03 ` Greg Lindahl
2000-09-19 16:48 ` Richard Henderson
2000-09-19 14:16 ` Brad Lucier
2000-09-19 14:31 ` Uncle George
2000-09-19 16:25 ` Michal Jaegermann
2000-09-19 17:27 ` Jeff Sturm
2000-09-19 17:43 ` Michal Jaegermann
2000-09-19 19:10 ` Uncle George
2000-09-19 19:30 ` Michal Jaegermann
2000-09-19 19:46 ` Brad Lucier
2000-09-19 20:03 ` Uncle George
2000-09-19 20:16 ` Brad Lucier
2000-09-19 21:09 ` Michal Jaegermann
2000-09-19 21:48 ` Brad Lucier
2000-09-19 22:41 ` Uncle George
2000-09-20 7:00 ` Christian Iseli
2000-09-19 22:09 ` Brad Lucier
2000-09-19 22:42 ` Michal Jaegermann
2000-09-19 23:02 ` Brad Lucier
2000-09-19 23:55 ` Michal Jaegermann
2000-09-20 1:39 ` W Bauske
2000-09-20 8:24 ` Helge Kreutzmann [this message]
2000-09-20 0:12 ` Brad Lucier
2000-09-20 7:53 ` Uncle George
2000-09-19 20:33 ` Michal Jaegermann
2000-09-19 16:52 ` Richard Henderson
2000-09-20 2:23 ` Richard Henderson
2000-09-20 3:58 ` David S. Miller
2000-09-21 21:17 ` Richard Henderson
2000-09-21 21:50 ` David S. Miller
2000-09-22 2:25 ` Did MySQL ever get the port completed? Rich Peters
2000-09-22 5:27 ` Rich Peters
2000-09-22 5:27 ` Rich Peters
2000-09-19 12:10 ` Alpha/Linux FP denormal processing Jeff Sturm
-- strict thread matches above, loose matches on Subject: below --
2000-09-19 21:26 Arkadiy Chapkis - Arc
2000-09-19 23:06 ` Uncle George
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox