Subject: Re: Floating Point Instruction Register And As
To: Ken Nakata <kenn@synap.ne.jp>
From: David Leonard <leonard@csee.uq.edu.au>
List: port-mac68k
Date: 06/23/1999 11:57:33
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
--
David Leonard                           David.Leonard@csee.uq.edu.au
Dept of Comp. Sci. and Elec. Engg   _   Room:78-624  Ph:+61 7 336 52447
The University of Queensland       |+|  http://www.csee.uq.edu.au/~leonard/
QLD 4072  AUSTRALIA               ~` '~ E2A24DC6446E5779D7AFC41AA04E6401

I may seem idle, but at a cellular level I'm really quite busy.