Handbook
Glossary
rep>add-sub ( -- value )
Vocabulary
compiler
.
cfg
.
intrinsics
.
simd
Inputs
None
Outputs
value
an
object
Definition
USING:
cpu.architecture
specialized-arrays.instances.alien.c-types.char
specialized-arrays.instances.alien.c-types.double
specialized-arrays.instances.alien.c-types.float
specialized-arrays.instances.alien.c-types.int
specialized-arrays.instances.alien.c-types.longlong
specialized-arrays.instances.alien.c-types.short
;
IN:
compiler.cfg.intrinsics.simd
CONSTANT:
rep>add-sub
{
{
float-4-rep
float-array{
-0.0 0.0 -0.0 0.0
}
}
{
double-2-rep
double-array{
-0.0 0.0
}
}
{
char-16-rep
char-array{
-1
0
-1
0
-1
0
-1
0
-1
0
-1
0
-1
0
-1
0
}
}
{
short-8-rep
short-array{
-1 0 -1 0 -1 0 -1 0
}
}
{
int-4-rep
int-array{
-1 0 -1 0
}
}
{
longlong-2-rep
longlong-array{
-1 0
}
}
}
inline