Register Guide

RISC-V vcsr / vcsr Register: Vector Control/Status CSR

vcsr (CSR 0x00F) provides unified access to the vxrm rounding-mode and vxsat saturation fields.

ABI name: vcsr; physical register: vcsr.
Save rule: Not preserved across calls (vxrm/vxsat fields).
Read it through its psABI role first, then inspect how each instruction reads or writes it.
Physical Name vcsrABI Name vcsrSave Rule Not preserved across calls (vxrm/vxsat fields)
Role
Vector Control/Status CSR
Convention
psABI: vxrm/vxsat fields are not preserved across calls
Remember This First
The calling convention listed for this entry is: psABI: vxrm/vxsat fields are not preserved across calls.
RISC-V Vector ISA Reference

ABI register

vcsr (CSR 0x00F) provides unified access to the vxrm rounding-mode and vxsat saturation fields.

Preserved across calls: Not preserved across calls (vxrm/vxsat fields)
RISC-V Unprivileged ISA Manual, V extension

When It Fits Best

  • - Use it according to the documented role: Vector Control/Status 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: psABI: vxrm/vxsat fields are not preserved across calls.

2

The save rule listed for this entry is: Not preserved across calls (vxrm/vxsat fields).

Read The Documented Role

Examples explain the rule, not a complete program
# vcsr / vcsr
# Vector Control/Status CSR
# psABI: vxrm/vxsat fields are not preserved across calls