Handbook
Glossary
emit-simd-vsad ( node -- )
Vocabulary
compiler
.
cfg
.
intrinsics
.
simd
Inputs
node
an
object
Outputs
None
Definition
USING:
compiler.cfg.hats
compiler.cfg.intrinsics.simd.backend
cpu.architecture
kernel
;
IN:
compiler.cfg.intrinsics.simd
:
emit-simd-vsad
( node -- )
{
[
[
^^sad-vector
dup
{
2 3 0 1
}
int-4-rep
^^shuffle-vector-imm
int-4-rep
^^add-vector
]
[
widen-vector-rep
^^vector>scalar
]
bi
]
}
emit-vv-vector-op
;