vcsr

Vector Control and Status Register

Contains aliases to vxrm and vxsat CSRs

Attributes

CSR Address

0xf

Defining extension

V

Length

64-bit

Privilege Mode

U

Format

vcsr format
Figure 1. vcsr format

Field Summary

Name Location Type Reset Value

VXRM

2:1

RW-RH

UNDEFINED_LEGAL

VXSAT

0

RW-RH

UNDEFINED_LEGAL

Fields

VXRM

Location

vcsr[2:1]

Description

See vxrm.

Type

RW-RH

Read-Write Restricted with Hardware update

Field is writable by software. Only certain values are legal. Writing an illegal value into the field is ignored, such that the field retains its prior state. Hardware also updates the field without an explicit software write.)

Reset value

UNDEFINED_LEGAL

Software write

This field has special behavior when written by software (e.g., through csrrw).

When software tries to write csr_value, the field will be written with the return value of the function below.

CSR[vxrm].VALUE = csr_value.VXRM;
return csr_value.VXRM;

VXSAT

Location

vcsr[0]

Description

See vxsat.

Type

RW-RH

Read-Write Restricted with Hardware update

Field is writable by software. Only certain values are legal. Writing an illegal value into the field is ignored, such that the field retains its prior state. Hardware also updates the field without an explicit software write.)

Reset value

UNDEFINED_LEGAL

Software write

This field has special behavior when written by software (e.g., through csrrw).

When software tries to write csr_value, the field will be written with the return value of the function below.

CSR[vxsat].VALUE = csr_value.VXSAT;
return csr_value.VXSAT;