Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: setjmp, sigsetjmp, siglongjmp,_setjmp



> 
> This should be in port-m68k; I forward it there for convenience. 
> 
 
> c) i386 doesn't save FP, either.
> 
> d) in contrast, the ALPHA code does save it, as far as I can understand
> its assembler code.
> 
> I'd say, 
> 
> 
> 1. it should 
> 
> (and this is a complicated issue for the m68k port, as we 
> 
> 2. might have to save the user invisible context, too, which requires
> conditional code, as we have 2 and a half different Motorola FPUs
> (68881/68882/680[46]0) 
> 
> 3. worse, some SUN3's come with totally different FPU's not from the
> Motorola world.
> 
> This sounds like the clean solution would be to call the kernel to do
> this. 
> 
> JTC? What do the standards say about 1., and maybe 2.?
> 

Then I have to sign up port-m68k,

In SunOS 5.3, it has setcontext and getcontext to save and restore 
machine registers (IU and FPU).

I look through NetBSD manual, there is no where to tell me to save fpu. 
Or I might not browse close enough.

Yu Song

 



Home | Main Index | Thread Index | Old Index