Handbook
Glossary
float-rep
Vocabulary
cpu
.
architecture
Definition
IN:
cpu.architecture
SINGLETON:
float-rep
Methods
USING:
compiler.cfg.builder.alien.params
cpu.architecture
kernel
layouts
math
namespaces
;
M:
float-rep
alloc-stack-param
stack-params
get
swap
rep-size
[
cell
align
stack-params
+@
]
keep
float-right-align-on-stack?
[
+
]
[
drop
]
if
;
USING:
cpu.architecture
cpu.x86
cpu.x86.assembler
kernel
;
M:
float-rep
copy-memory*
drop
MOVSS
;
USING:
cpu.architecture
cpu.x86
cpu.x86.assembler
kernel
;
M:
float-rep
copy-register*
drop
MOVAPS
;
USING:
cpu.architecture
kernel
;
M:
float-rep
reg-class-of
drop
float-regs
;
USING:
cpu.architecture
kernel
;
M:
float-rep
rep-size
drop
4
;
USING:
compiler.cfg.instructions
compiler.cfg.registers
compiler.cfg.representations.conversion
cpu.architecture
;
M::
float-rep
rep>tagged
( dst src rep -- )
double-rep
next-vreg-rep
:>
temp temp src
##single>double-float,
dst temp
double-rep
rep>tagged
;
USING:
compiler.cfg.instructions
compiler.cfg.registers
compiler.cfg.representations.conversion
cpu.architecture
;
M::
float-rep
tagged>rep
( dst src rep -- )
double-rep
next-vreg-rep
:>
temp temp src
double-rep
tagged>rep
dst temp
##double>single-float,
;