Handbook
Glossary
alien-vector ( c-ptr n rep -- value )
Hardware vector arithmetic (SIMD)
ยป
Low-level SIMD primitives
Next:
set-alien-vector ( value c-ptr n rep -- )
Vocabulary
math
.
vectors
.
simd
.
intrinsics
Inputs
c-ptr
an
object
n
an
object
rep
an
object
Outputs
value
an
object
Definition
USING:
alien
alien.data
cpu.architecture
kernel
;
IN:
math.vectors.simd.intrinsics
:
alien-vector
( c-ptr n rep -- value )
[
swap
<displaced-alien>
]
dip
rep-size
memory>byte-array
;