Handbook
Glossary
vector-rep
Vocabulary
cpu
.
architecture
Definition
IN:
cpu.architecture
UNION:
vector-rep
int-vector-rep
float-vector-rep
;
Methods
USING:
cpu.architecture
cpu.x86
cpu.x86.assembler
kernel
;
M:
vector-rep
copy-register*
drop
MOVDQA
;
USING:
cpu.architecture
kernel
;
M:
vector-rep
reg-class-of
drop
float-regs
;
USING:
cpu.architecture
kernel
;
M:
vector-rep
rep-size
drop
16
;
USING:
byte-arrays
compiler.cfg.instructions
compiler.cfg.registers
compiler.cfg.representations.conversion
compiler.constants
cpu.architecture
layouts
math
;
M::
vector-rep
rep>tagged
( dst src rep -- )
tagged-rep
next-vreg-rep
:>
temp dst 16 2
cells
+
byte-array
int-rep
next-vreg-rep
##allot,
temp 16
tag-fixnum
##load-tagged,
temp dst 1
byte-array
type-number
##set-slot-imm,
src dst
byte-array-offset
rep
f
##store-memory-imm,
;
USING:
compiler.cfg.instructions
compiler.cfg.representations.conversion
compiler.constants
cpu.architecture
kernel
;
M:
vector-rep
tagged>rep
[
byte-array-offset
]
dip
f
##load-memory-imm,
;