Xregs= r – HP SunSoft Pascal 4.0 User Manual

Page 84

Advertising
background image

60

Pascal 4.0 User’s Guide

3

-xregs=

r

(Solaris 2.x only) The

-xregs=

r

option 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

The default is

-xregs=appl,float

.

Table 3-7

The

-xregs

Values

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.

Advertising