This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Painful problems with -fpic implementation on powerpc-sysv
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: Painful problems with -fpic implementation on powerpc-sysv
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 26 Aug 1998 01:11:02 -0600
- cc: Geoff Keating <geoffk at ozemail dot com dot au>, egcs at cygnus dot com, Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Reply-To: law at cygnus dot com
In message <9808211609.AA36466@marc.watson.ibm.com>you write:
> The movdf define_splits to load a const_double into an FPR
> currently have "... && reload_completed" as a final condition. Would
> changing this to "... && (reload_in_progress || reload_completed)" have a
> positive effect? This might allow reload to create the constant in GPRs
> and move it via the stack instead of creating a GOT symbol, depending on
> what reload is trying to accomplish when these failures are occurring.
This could work for cases where one is trying to build up a constant,
but would not work if (for example) reload decided try and put
(const (plus (symbol_ref) (offset)) into the constant pool. Yes, this
does really happen and it is painful.
jeff