[Gc] Re: Saving all register of Boehm's Stop-World of hypermodern i686, is it reliable?

Bruce Hoult bruce at hoult.org
Sat Feb 10 15:27:04 PST 2007


On 2/11/07, Hans Boehm <Hans.Boehm at hp.com> wrote:
> Sometimes setjmp has also been used in this way, but that sometimes
> doesn't save a sufficient part of the register set.

Do you have an example of what setjmp misses?

Of course it typically doesn't save the volatile/caller save registers
(e.g. r0-r3 on ARM/Thumb, r3-r10/r12 (depending on ABI) on PPC), but
that's fine because it's a function call so the compiler doesn't leave
live values in those anyway.


More information about the Gc mailing list