OAR

RTEMS 4.0.0 On-Line Library


Calling Conventions Floating Point Registers

PREV UP NEXT Bookshelf RTEMS SPARC Applications Supplement

2.2.2: Floating Point Registers

The SPARC V7 architecture includes thirty-two, thirty-two bit registers. These registers may be viewed as follows:

The floating point status register (fpsr) specifies the behavior of the floating point unit for rounding, contains its condition codes, version specification, and trap information.

A queue of the floating point instructions which have started execution but not yet completed is maintained. This queue is needed to support the multiple cycle nature of floating point operations and to aid floating point exception trap handlers. Once a floating point exception has been encountered, the queue is frozen until it is emptied by the trap handler. The floating point queue is loaded by launching instructions. It is emptied normally when the floating point completes all outstanding instructions and by floating point exception handlers with the store double floating point queue (stdfq) instruction.


PREV UP NEXT Bookshelf RTEMS SPARC Applications Supplement

Copyright © 1988-1998 OAR Corporation