Language Implementation
Table 7-3
Return Value Class Matching
Return Value Use
not used
used
1
A bullet (
Table 7-4
Argument Category to Parameter Class Matching and Coercion
Argument
Category
Integer Constant
(0-31)
Other Integer
Constant
Floating Constant
(0.0 or 1.0)
Other Floating
Constant
General-register
Variable
Memory
General-register
Temporary
Floating Register
Temporary
1
A bullet (
coercion possible. A movr instruction for coercion indicates that movr, movrl, or movre can be
used.
Return Class void
•
-
•
) indicates a match. A hyphen (
Parameter
const
•
•
•
-
-
-
-
-
•
) indicates a match with no coercion needed. A hyphen (
1
ftmpreg
•
•
-
) indicates no match.
Class
ftmpreg
freglit
ldconst,
ldconst,
movr
movr
ldconst,
ldconst,
movr
movr
•
movr
ldconst,
ldconst,
movr
movr
movr
movr
ld, movr
ld, movr
movr
movr
•
•
-
) indicates no match and no
7
tmpreg
•
•
1
tmpreg
reglit
•
ldconst
ldconst
ldconst
movr
movr
ldconst
ldconst
•
mov
ld
ld
•
•
movr
movr
7-75