CMB. For example, cross compiling to the
DEC Alpha will generate Alpha32Compiler and Alpha32UnixCMB.
The Alpha32Compiler interface is identical to the Compiler
interface, but substructures in Alpha32Compiler are specific
to the target being cross compiled to.
PowerPC notes
The generated code could be improved in a number of ways:
- There are three registers that are wasted. This will be fixed
in the next round of runtime system, interface changes.
- Without out-of-order execution, the generated code pays a
high penalty for branches. The following sequence is typically
generated:
mtlr r
blr
or
cmp cr, r1, r2
bt cr, lab
or
and. r1, r2, r3
bt cr0, lab
In all cases, scheduling the assignment of the link register or the
setting of the condition code register far away from the branch would
improve the situation dramatically. Various possibilities for
accomplishing this are being investigated.
Lal George
Last modified: Mon Mar 22 16:28:20 EST 1999