Previous:Handling Leaf Functions, Up:Register Usage [Contents][Index]
There are special features to handle computers where some of the“registers” form a stack. Stack registers are normally written bypushing onto the stack, and are numbered relative to the top of thestack.
Currently, GCC can only handle one group of stack-like registers, andthey must be consecutively numbered. Furthermore, the existingsupport for stack-like registers is specific to the 80387 floatingpoint coprocessor. If you have a new architecture that usesstack-like registers, you will need to do substantial work onreg-stack.cc and write your machine description to cooperatewith it, as well as defining these macros.
Define this if the machine has any stack-like registers.
This is a cover class containing the stack registers. Define this ifthe machine has any stack-like registers.
The number of the first stack-like register. This one is the topof the stack.
The number of the last stack-like register. This one is the bottom ofthe stack.