Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* -fno-emulate-complex
@ 1998-11-07  5:00 C.Simmendinger
  1998-11-07  5:00 ` -fno-emulate-complex C.Simmendinger
  0 siblings, 1 reply; 4+ messages in thread
From: C.Simmendinger @ 1998-11-07  5:00 UTC (permalink / 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







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-11-07  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-07  5:00 -fno-emulate-complex C.Simmendinger
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox