vcsr
Vector Control and Status Register
Contains aliases to vxrm and vxsat CSRs
Attributes
Requirement |
|||
|---|---|---|---|
Defining extensions |
|
||
CSR Address |
0xf |
||
Length |
* 32 when CSR[misa].MXL == 0 * 64 when CSR[misa].MXL == 1 |
||
Privilege Mode |
U |
Format
This CSR format changes dynamically.
Figure 1. vcsr Format when CSR[misa].MXL == 0
Figure 2. vcsr Format when CSR[misa].MXL == 1
Software write
This CSR may store a value that is different from what software attempts to write.
When a software write occurs (e.g., through csrrw), the following determines the written value:
VXRM = CSR[vxrm].VALUE = csr_value.VXRM;
return csr_value.VXRM;
VXSAT = CSR[vxsat].VALUE = csr_value.VXSAT;
return csr_value.VXSAT;