Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "C.Simmendinger" <chrisi@theo1.physik.uni-stuttgart.de>
Subject: -fno-emulate-complex
Date: 1998/11/07	[thread overview]
Message-ID: <36445AB7.A18B1977@theo1.physik.uni-stuttgart.de> (raw)

Hi ;-)

Well, this is a hint for all those,
which make use of g77 and complex numbers:

You'll need to do all calculations in double complex.
(No problem, since the alpha is 64 bit anyway)
I haven't found a bug in the actual results yet.
But i stumbled across a cute bug in the code generation:
With -fno-emulate-complex the compiler (egcs-1.1b)
crashes on

write(*,*) some_double_complex_number

So you'll need a workaround for this.
Having done that and having enabled
-fno-emulate-complex
 you get a speedup of a factor 3-4 on complex
code.


Christian







             reply	other threads:[~1998-11-07  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-07  5:00 C.Simmendinger [this message]
1998-11-07  5:00 ` -fno-emulate-complex C.Simmendinger
1998-11-07  5:00   ` -fno-emulate-complex Toon Moene
1998-11-07  5:00     ` -fno-emulate-complex C.Simmendinger
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