Handbook
Glossary
signed-rep ( rep -- rep' )
CPU architecture description model
Prev:
scalar-rep-of ( rep -- rep' )
Next:
widen-vector-rep ( rep -- rep' )
Vocabulary
cpu
.
architecture
Inputs
rep
a
representation
Outputs
rep'
a
representation
Word description
Maps any representation to its signed counterpart, if it has one.
Definition
USING:
assocs
kernel
;
IN:
cpu.architecture
:
signed-rep
( rep -- rep' )
{
{
uint-4-rep
int-4-rep
}
{
ulonglong-2-rep
longlong-2-rep
}
{
ushort-8-rep
short-8-rep
}
{
uchar-16-rep
char-16-rep
}
{
uchar-scalar-rep
char-scalar-rep
}
{
ushort-scalar-rep
short-scalar-rep
}
{
uint-scalar-rep
int-scalar-rep
}
{
ulonglong-scalar-rep
longlong-scalar-rep
}
}
?at
drop
;
foldable
flushable