Register Guide
RISC-V fa1 / f11 Register: Floating argument/return-value register
f11/fa1 is a floating-point register used by F/D/Q/Zfh instructions for operands and results. Under the hardware floating-point calling convention, fa1 is also used for FP arguments and return values.
ABI name: fa1; physical register: f11.
Save rule: Caller.
Read it through its psABI role first, then inspect how each instruction reads or writes it.
Physical Name f11ABI Name fa1Save Rule Caller
Role
Floating argument/return-value register
Convention
Caller-saved
Remember This First
The calling convention listed for this entry is: Caller-saved.
psABI Floating-Point Register Reference
ABI register
f11/fa1 is a floating-point register used by F/D/Q/Zfh instructions for operands and results. Under the hardware floating-point calling convention, fa1 is also used for FP arguments and return values.
Preserved across calls: Caller
RISC-V psABI floating-point register conventionWhen It Fits Best
- - Use it according to the documented role: Floating argument/return-value register.
- - Consult the applicable ISA or ABI specification for concrete read, write, or execution semantics.
When Not To Use It This Way
- - Do not apply the integer temporary-register t* rules to this entry.
- - Do not infer behavior not defined by this page or the applicable specification from the ABI name.
What Happens Around A Call
1
The calling convention listed for this entry is: Caller-saved.
2
The save rule listed for this entry is: Caller.
Read The Documented Role
Examples explain the rule, not a complete program# f11 / fa1
# Floating argument/return-value register
# Caller-saved