Handbook
Glossary
(vshuffle) ( a elts rep -- c )
Vocabulary
math
.
vectors
.
simd
.
intrinsics
.
private
Inputs
a
an
object
elts
an
object
rep
an
object
Outputs
c
an
object
Definition
USING:
accessors
cpu.architecture
math
sequences.private
sequences.unrolled.private
;
IN:
math.vectors.simd.intrinsics.private
::
(vshuffle)
( a elts rep -- c )
a rep
byte>rep-array
:>
a' rep
<rep-array>
:>
c' elts rep
rep-length
[|
from to |
from rep
rep-length
1
-
bitand
a'
nth-unsafe
to c'
set-nth-unsafe
]
unrolled-each-index-unsafe
c'
underlying>>
;
inline