Handbook
Glossary
rewrite-gather-vector-2 ( insn -- insn/f )
Vocabulary
compiler
.
cfg
.
value-numbering
.
simd
Inputs
insn
an
object
Outputs
insn/f
an
object
Definition
USING:
accessors
combinators
compiler.cfg.value-numbering.graph
compiler.cfg.value-numbering.rewrite
kernel
;
IN:
compiler.cfg.value-numbering.simd
:
rewrite-gather-vector-2
( insn -- insn/f )
dup
[
src1>>
vreg>insn
]
[
src2>>
vreg>insn
]
bi
{
{
[
2dup
[
literal-insn?
]
both?
]
[
fold-gather-vector-2
]
}
[
3drop
f
]
}
cond
;