This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]