Re: [PATCH] PPC: Enable lightweight exits again

2010-01-06 Thread Marcelo Tosatti
On Mon, Jan 04, 2010 at 10:19:25PM +0100, Alexander Graf wrote: > The PowerPC C ABI defines that registers r14-r31 need to be preserved across > function calls. Since our exit handler is written in C, we can make use of > that > and don't need to reload r14-r31 on every entry/exit cycle. > > This

[PATCH] PPC: Enable lightweight exits again

2010-01-04 Thread Alexander Graf
The PowerPC C ABI defines that registers r14-r31 need to be preserved across function calls. Since our exit handler is written in C, we can make use of that and don't need to reload r14-r31 on every entry/exit cycle. This technique is also used in the BookE code and is called "lightweight exits" t