Subject: Re: Floating Point Instruction Register And As
To: David Leonard <david.leonard@csee.uq.edu.au>
From: Andy Finnell <andyf@vei.net>
List: port-mac68k
Date: 06/23/1999 00:17:26
David Leonard wrote:
> 
> On Wed, 23 Jun 1999, Ken Nakata wrote:
> 
> > However, you can see how they are actually used by reading
> > src/sys/arch/mac68k/mac68k/locore.s.  For instance, the file has the
> > following two instructions:
> >
> >       fmovem  fp0-fp7,a2@(216)        | save FP general registers
> >       fmovem  fpcr/fpsr/fpi,a2@(312)  | save FP control registers
> >
> > "fpi" here is your "fpiar", I think.
> 
> IIRC, touching fpcr in user mode gets you SIGILL
> 
> d

It seems to be working for me.  the floating point test (for pthreads)
still comes out indeterminate, but I don't get any crashes, etc.

	-andy