Handbook
Glossary
return-regs ( -- regs )
CPU architecture description model
Prev:
param-regs ( abi -- regs )
Next:
narrow-vector-rep ( rep -- rep' )
Vocabulary
cpu
.
architecture
Inputs
None
Outputs
regs
an
assoc
Word description
What registers that will be used for function return values of which class.
Definition
USING:
system
;
IN:
cpu.architecture
HOOK:
return-regs
cpu
( -- regs )
Methods
USING:
cpu.architecture
cpu.arm.64.assembler
system
;
M:
arm.64
return-regs
{
{
int-regs
{
X0
X1
X2
X3
X4
X5
X6
X7
X8
}
}
{
float-regs
{
V0
V1
V2
V3
V4
V5
V6
V7
}
}
}
;
USING:
cpu.architecture
cpu.x86.assembler.operands
system
;
M:
x86.64
return-regs
{
{
int-regs
{
RAX
RDX
}
}
{
float-regs
{
XMM0
XMM1
}
}
}
;