Handbook
Glossary
x86.32
Factor handbook
»
The implementation
»
System interface
»
Processor detection
Prev:
cpu ( -- class )
Next:
x86.64
Vocabulary
system
Definition
IN:
system
SINGLETON:
x86.32
Methods
USING:
cpu.architecture
cpu.x86.sse
system
;
M:
x86.32
%scalar>integer
%scalar>integer-32
;
USING:
cpu.architecture
cpu.x86.sse
system
;
M:
x86.32
%select-vector
%select-vector-32
;
USING:
cpu.architecture
cpu.x86.features
cpu.x86.sse
system
;
M:
x86.32
%select-vector-reps
{
{
sse4.1?
{
uchar-16-rep
char-16-rep
ushort-8-rep
short-8-rep
uint-4-rep
int-4-rep
}
}
}
available-reps
;
USING:
combinators
cpu.x86
kernel
sequences
system
;
M:
x86.32
has-small-reg?
{
{
8
[
have-byte-regs
member-eq?
]
}
{
16
[
drop
t
]
}
{
32
[
drop
t
]
}
}
case
;
USING:
alien
alien.c-types
cpu.x86.assembler
cpu.x86.features
system
;
M:
x86.32
instruction-count
longlong
{
}
cdecl
[
RDTSC
]
alien-assembly
;