First integer register number. zero register.
Moduleghc-10.0.0.20260917GHC2024
GHC.CmmToAsm.RV64.Regs
- 2 types
- 42 values
- Packageghc-10.0.0.20260917
- Exports44
- LanguageGHC2024
- LicenceBSD-3-Clause
- SourceRegs.hs
Registers
36 declarationsreturn address register
return address register
Last integer register number. Used as TMP (IP) register.
Last integer register number. Used as TMP (IP) register.
Last integer register number. Used as TMP (IP) register.
First floating point register.
First floating point register.
Last floating point register.
Last floating point register.
All machine register numbers.
Registers available to the register allocator.
These are all registers minus those with a fixed role in RISCV ABI (zero, lr, sp, gp, tp, fp, tmp) and GHC RTS (Base, Sp, Hp, HpLim, R1..R8, F1..F6, D1..D6.)
Integer argument registers according to the calling convention
Floating point argument registers according to the calling convention
Addressing modes
1 declarationAddressing modes
Constructors
AddrRegImm Reg ImmA register plus some immediate integer, e.g.
8(sp)or-16(sp). The offset needs to fit into 12bits.AddrReg RegA register
Immediates
7 declarationsregSqueeze_class reg Calculate the maximum number of register colors that could be denied to a node of this class due to having this reg as a neighbour.