From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 25794 invoked from network); 9 Jul 1998 18:25:31 -0000 Received: from smtp.paralleldata.com (HELO paralleldata.com) (38.153.145.2) by mail2.redhat.com with SMTP; 9 Jul 1998 18:25:31 -0000 Received: by paralleldata.com from localhost (router,SLMail V2.5); Thu, 09 Jul 1998 13:26:12 -0500 Received: by paralleldata.com from paralleldata.com (208.252.119.31::mail daemon; unverified,SLMail V2.5); Thu, 09 Jul 1998 13:26:10 -0500 Sender: "Wsb" Message-ID: <35A50B30.918D41B2@paralleldata.com> Date: Thu, 09 Jul 1998 18:25:52 +0000 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: "axp-list@redhat.com" Subject: Re: good news and bad news on floating-point problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jesse Goldman wrote: > > Attempts result in errors like: > > g77 -c -O -fno-automatic -fno-second-underscore -fugly-complex -g > -mieee-with-inexact -I/root/cernlib98/src/pawlib/paw > -I/root/cernlib98/src/paw -I/root/cernlib98/src/paw/code > -I/root/cernlib98/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX > -DCERNLIB_LNX -o archive/pafeyn.o pafeyn.F > pafeyn.F: In subroutine `pafeyn': > pafeyn.F:274: internal error--unrecognizable insn: > (insn 1082 1081 1083 (set (reg:DF 452) > (le:DF (float_extend:DF (reg:SF 448)) > (float_extend:DF (reg:SF 449)))) -1 (insn_list 1077 (insn_list > 1081 (nil))) > (expr_list:REG_DEAD (reg:SF 448) > (nil))) > ../../gcc/toplev.c:1138: Internal compiler error in function fatal_insn > > Sometimes, I can avoid this by subtituting a -mfp-trap-mode=u for the > -mieee option, but then it doesn't catch all the exceptions! For the time > being, I've resigned myself to fixing such problems manually (working > under the assumption that "good" code shouldn't try to take logarithms of > 0!) but this is slow. Does anyone know what these errors mean? > This reminds me of the stuff under gcc/config/alpha/alpha.md. That file describes the instruction set of an Alpha processor. Maybe your flag asked g77/gcc to use an instruction mode that is not defined correctly? Alpha instructions have several suffixes that can be added to an instruction for FP exception handling. I've been looking at Alpha assembler the past couple days trying to figure out just how egcs is slowing things down and what, if anything can be done to alter the scheduling rules. Course this from a guy who writes C/FORTRAN for a living, not compilers... Think I can write better assembler though than egcs is generating for the important loops in my code by hand if I can't sort out what the egcs scheduler is doing. Haven't had to do ASM programming for a long time though. Wes