Re: [ARM] Avoid spilling ip for nested APCS frames

2013-06-06 Thread Richard Earnshaw
On 31/05/13 18:59, Eric Botcazou wrote: The ARM/VxWorks port uses APCS frames and therefore ip to establish frames with a frame pointer. Now, for nested functions, ip is also the static chain register so it needs to be preserved when the frame is being established. There is code to that effect

[ARM] Avoid spilling ip for nested APCS frames

2013-05-31 Thread Eric Botcazou
The ARM/VxWorks port uses APCS frames and therefore ip to establish frames with a frame pointer. Now, for nested functions, ip is also the static chain register so it needs to be preserved when the frame is being established. There is code to that effect trying to save ip into r3 if the latter