From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,bbd898e3fc696902,start X-Google-Attributes: gid111c93,public From: "C.Simmendinger" Subject: -fno-emulate-complex Date: 1998/11/07 Message-ID: <36445AB7.A18B1977@theo1.physik.uni-stuttgart.de>#1/1 X-Deja-AN: 409360404 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany) Mime-Version: 1.0 Reply-To: chrisi@theo1.physik.uni-stuttgart.de Newsgroups: comp.os.linux.alpha 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