Handbook
Glossary
rewrite-gather-vector-2 ( insn -- insn/f )
Vocabulary
compiler
.
cfg
.
gvn
.
simd
Inputs
insn
an
object
Outputs
insn/f
an
object
Definition
USING:
accessors
combinators
compiler.cfg.gvn.graph
compiler.cfg.gvn.rewrite
kernel
;
IN:
compiler.cfg.gvn.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
;