Handbook
Glossary
compose-shuffle-vector-imm ( outer inner -- insn' )
Vocabulary
compiler
.
cfg
.
value-numbering
.
simd
Inputs
outer
an
object
inner
an
object
Outputs
insn'
an
object
Definition
USING:
accessors
compiler.cfg.instructions
kernel
sequences
;
IN:
compiler.cfg.value-numbering.simd
:
compose-shuffle-vector-imm
( outer inner -- insn' )
2dup
[
rep>>
]
bi@
eq?
[
[
[
dst>>
]
[
src>>
]
bi*
]
[
[
shuffle>>
]
bi@
nths
]
[
drop
rep>>
]
2tri
##shuffle-vector-imm
new-insn
]
[
2drop
f
]
if
;