On 1/9/2014, 10:30 AM, Richard Earnshaw wrote:
On 09/01/14 15:21, Vladimir Makarov wrote:
Hi, Richard.
This week I've been working on THUMB code size issues. Here is the
prototype of the patch for spilling into HI_REGS instead of memory.
The patch decreases number of generated insns and makes the code faster
as it removes a lot of loads/stores.
I am sending the patch for your evaluation and for getting your
opinion. If you like the code size results, I could create the real
patch next week (the patch here will not work correctly when a user
defines fixed registers by himself).
Thanks in advance, Vlad.
Do you need to take into account HARD_REGNO_NREGS (mode) when doing the
limit check?
In this patch only SImode is permitted. The hooks also will be
different in the final version of the patch.