From: "Wes Bauske" <wsb@paralleldata.com>
To: "axp-list@redhat.com" <axp-list@redhat.com>
Subject: Re: good news and bad news on floating-point problems
Date: Thu, 09 Jul 1998 18:25:52 +0000 [thread overview]
Message-ID: <35A50B30.918D41B2@paralleldata.com> (raw)
In-Reply-To: Pine.SUN.3.96L.980709114214.25650A-100000@bethe.phys.ksu.edu
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
next parent reply other threads:[~1998-07-09 18:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.SUN.3.96L.980709114214.25650A-100000@bethe.phys.ksu.edu>
1998-07-09 18:25 ` Wes Bauske [this message]
1998-07-09 23:19 ` good news and bad news on floating-point problems Richard Henderson
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