This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Reload bug for PRE/POST INC/DEC targets, need advice
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: Reload bug for PRE/POST INC/DEC targets, need advice
- From: Toshiyasu Morita <tm at netcom dot com>
- Date: Sat, 22 Jan 2000 16:02:13 -0800 (PST)
- Cc: taruna at cygnus dot com
I wrote in a previous message:
> 1) Properly record r9 as containing pseudo 2973.
>
> This doesn't appear to be possible because the information that r9 currently
> contains pseudo 2973 isn't retained anywhere by reload?
>
> 2) Record the equivalence only if r9 is being copied to its assigned stack slot.
>
> The only problem I see is that reg_equiv_memory_location looks like:
>
> (mem:SI (plus:SI (reg:SI 14 r14)
> (const int 720)))
>
> but our insn rtx contains:
>
> (mem:SI (plus:SI (reg:SI 14 r14)
> (const_int 700))
> (const_int 20)
I thought of another method:
3) Disable reload inheritance for is_modified_p() insns.
Toshi