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