On Thu, 2011-12-01 at 07:42 -0800, Richard Henderson wrote:
> I didn't notice CR registers being saved in the linux setjmp function,
> but perhaps I just missed it?

I believe the setjmp/getcontext functions save the entire CR rather than
just the non-volatile CR fields.  Looking at the glibc code, I do see:

  mfcr r0

followed by a store of r0.

Peter



Reply via email to