Handbook
Glossary
>rep-array ( seq rep -- array )
Vocabulary
math
.
vectors
.
simd
.
intrinsics
.
private
Inputs
seq
an
object
rep
an
object
Outputs
array
an
object
Definition
USING:
alien.c-types
alien.data
combinators
cpu.architecture
;
IN:
math.vectors.simd.intrinsics.private
:
>rep-array
( seq rep -- array )
{
{
char-16-rep
[
char
>c-array
]
}
{
uchar-16-rep
[
uchar
>c-array
]
}
{
short-8-rep
[
short
>c-array
]
}
{
ushort-8-rep
[
ushort
>c-array
]
}
{
int-4-rep
[
int
>c-array
]
}
{
uint-4-rep
[
uint
>c-array
]
}
{
longlong-2-rep
[
longlong
>c-array
]
}
{
ulonglong-2-rep
[
ulonglong
>c-array
]
}
{
float-4-rep
[
float
>c-array
]
}
{
double-2-rep
[
double
>c-array
]
}
}
case
;
inline