Handbook
Glossary
emit-simd-vneg ( 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-vneg
( node -- )
{
{
float-vector-rep
[
[
^load-neg-zero-vector
swap
]
[
^^sub-vector
]
bi
]
}
{
int-vector-rep
[
[
^^zero-vector
swap
]
[
^^sub-vector
]
bi
]
}
}
emit-v-vector-op
;