Handbook
Glossary
parallel-copy ( mapping -- insns )
Parallel copy
Next:
parallel-copy-rep ( mapping -- insns )
Vocabulary
compiler
.
cfg
.
parallel-copy
Inputs
mapping
assoc
of { dst src } virtual register pairs
Outputs
insns
an
array
Word description
Creates
##copy
instructions.
Definition
USING:
compiler.cfg.instructions
compiler.cfg.registers
cpu.architecture
kernel
make
;
IN:
compiler.cfg.parallel-copy
:
parallel-copy
( mapping -- insns )
[
next-vreg
[
[
drop
]
]
dip
[
]
curry
compose
[
any-rep
##copy,
]
parallel-mapping
]
{
}
make
;