Re: [RS6000] out-of-line save/restore conditions

2012-05-21 Thread David Edelsohn
On Mon, May 21, 2012 at 1:14 AM, Alan Modra amo...@gmail.com wrote: Currently, powerpc-linux gcc -Os -mno-multiple uses out-of-line gpr save and restore functions when saving/restoring just one gpr.  That's quite silly since the function call requires more instructions and is slower than an

[RS6000] out-of-line save/restore conditions

2012-05-20 Thread Alan Modra
Currently, powerpc-linux gcc -Os -mno-multiple uses out-of-linux gpr save and restore functions when saving/restoring just one gpr. That's quite silly since the function call requires more instructions and is slower than an inline save/restore. The only case where it might win is when no fprs