3

-xregs=r

(Solaris 2.x only) The -xregs=roption specifies the usage of registers for the generated code.

r is a comma-separated list that consists of one or more of the following: [no%]appl, [no%]float.

Example: -xregs=appl,no%float

Table 3-7 The -xregsValues

Value Meaning

appl Allow using the registers g2, g3, and g4.

In the SPARC ABI, these registers are described as application registers. Using these registers can increase performance because fewer load and store instructions are needed. However, such use can conflict with some old library programs written in assembly code.

no%appl Do not use the appl registers.

float Allow using the floating-point registers as specified in the SPARC ABI. You can use these registers even if the program contains no floating- point code.

no%float Do not use the floating-point registers.

With this option, a source program cannot contain any floating-point code.

The default is -xregs=appl,float.

60

Pascal 4.0 User’s Guide