Register Guide
RISC-V vxrm / vxrm Register: Vector Fixed-Point Rounding Mode CSR
vxrm is a vector fixed-point rounding-mode CSR. Its 2-bit field selects rnu (round-to-nearest-up), rne (round-to-nearest-even), rdn (round-down), or rod (round-to-odd).
ABI name: vxrm; physical register: vxrm.
Save rule: Caller.
Read it through its psABI role first, then inspect how each instruction reads or writes it.
Physical Name vxrmABI Name vxrmSave Rule Caller
Role
Vector Fixed-Point Rounding Mode CSR
Convention
Caller-saved
Remember This First
The calling convention listed for this entry is: Caller-saved.
RISC-V Vector ISA Reference
ABI register
vxrm is a vector fixed-point rounding-mode CSR. Its 2-bit field selects rnu (round-to-nearest-up), rne (round-to-nearest-even), rdn (round-down), or rod (round-to-odd).
Preserved across calls: Caller
RISC-V Unprivileged ISA Manual, V extensionWhen It Fits Best
- - Use it according to the documented role: Vector Fixed-Point Rounding Mode CSR.
- - 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# vxrm / vxrm
# Vector Fixed-Point Rounding Mode CSR
# Caller-saved