On Sun, Mar 20, 2011 at 9:59 AM, Georg-Johann Lay <a...@gjlay.de> wrote:
> The drawback is that this allocates 4 GPRs (AVR is 8-bit machine). However,
> one "d"-reg would be sufficient to copy a const into class "l".

What about doing a split of consts before reload?  The MIPS and rs6000
targets split up their constant generation before reload to get better
code generation; maybe AVR should do the same?  It could also allow
some CSE to happen reducing the number of registers needed in general.

Thanks,
Andrew Pinski

Reply via email to