Contents
Page-10
Prev
Next
Page+10
Index
SPARC Features
The SPARC architecture has features that improve the
performance of
generated code:
- Register windows, a stack frame of
integer registers on a CPU register stack, greatly improve the speed
of subroutine call. A register window is divided into sections:
Input, Local, and Output registers. When a subroutine call is made,
the Output registers of the caller become the Input registers of the callee.
- Parameter transmission is easy: just load a parameter
into an Output register
- No need to save and restore integer registers, since the Local
and Output registers are in a new part of the stack.