About Regmove !!

tm tm@mail.kloo.net
Mon Nov 11 18:11:00 GMT 2002


>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






More information about the Gcc mailing list