avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] split movhi to 2 movqi


From: Georg-Johann Lay
Subject: Re: [avr-gcc-list] split movhi to 2 movqi
Date: Fri, 20 May 2011 15:07:42 +0200
User-agent: Thunderbird 2.0.0.24 (X11/20100302)

Ilya Lesokhin schrieb:
> i want to try to do it after the IRA phase, does anyone know if it makes
> sence, and if so, is there a macro which tells me that i'm after that phase?

reload_completed will tell you.

You can use a splitter or a peephole, put neither of them looks
tempting because handling it pre-reload will reduce the register
pressure. Handling post-reload cannot reduce the register pressure.
The high part will still be allocated and not used, but you don't get
that resource back.

To use slit you have to use a combine pattern. Note that combine won't
try mem_volatile_p, so it's useless to try memory_operand in a combine
pattern.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]