Handbook
Glossary
emit-slp-tree ( tree emitted output -- vreg )
Vocabulary
compiler
.
cfg
.
slp
Inputs
tree
an
object
emitted
an
object
output
an
object
Outputs
vreg
an
object
Definition
USING:
accessors
assocs
compiler.cfg.instructions
compiler.cfg.registers
cpu.architecture
kernel
sequences
;
IN:
compiler.cfg.slp
::
emit-slp-tree
( tree emitted output -- vreg )
tree
pair>>
emitted
[|
pair |
next-vreg
:>
dst tree
opcode>>
[|
opcode |
tree
children>>
first
emitted output
emit-slp-tree
tree
children>>
second
emitted output
emit-slp-tree
:>
( a b ) opcode
new
dst
>>dst
a
>>src1
b
>>src2
ulonglong-2-rep
>>rep
output
push
]
[
dst pair
first2
ulonglong-2-rep
##gather-int-vector-2
new-insn
output
push
]
if*
dst
]
cache
;