This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: About Regmove !!
- From: tm <tm at mail dot kloo dot net>
- To: matz at suse dot de
- Cc: joern dot rennecke at superh dot com, gcc at gcc dot gnu dot org
- Date: Mon, 11 Nov 2002 17:34:44 -0800 (PST)
- Subject: Re: About Regmove !!
>Hi,
>
>On Fri, 8 Nov 2002, Ranjit Singh wrote:
>
>> I am curious to know whether new reg-allocator will remove regmove
>> pass.
>
>It will.
>
>> It has reg-to-reg copy elimination built in its algorithm.
>
>Yep.
>
>Ciao,
>Michael.
Erm. Regmove does more than simple register-to-register copy elimination.
It also optimizes for address inheritance, which is critical for many
processors with short displacement addressing, such as the SH4.
Does new-regalloc do address inheritance optimization? If not, can we
retain the portion of regmove which implements this optimization?
Toshi