(root)/trunk/ – Rev 1915
Rev 1914 |
Rev 1916 |
Go to most recent revision |
Last modification |
Compare with Previous |
View Log
| Download
| RSS feed
Last modification
- Rev 1915 2006-10-08 22:09:28
- Author: jermar
- Log message:
- A quote from from SPARC V9 specification:
The Y register is deprecated; it is provided only for compatibility with previous versions
of the architecture. It should not be used in new SPARC-V9 software. It is
recommended that all instructions that reference the Y register (i.e., SMUL,
SMULcc, UMUL, UMULcc, MULScc, SDIV, SDIVcc, UDIV, UDIVcc, RDY, and
WRY) be avoided. See the appropriate pages in Appendix A, “Instruction Definitions,”
for suitable substitute instructions.
Still gcc is generating code which uses Y and some of the instructions above.
This change modifies the preemptible_handler() to preserve the Y register
across preemption.