frcsr
Read FP CSR
Reads the FP control and status register (fcsr) into t1.
Also written as: frsr
Forms
Operands
t1- Any integer register,
x0tox31, or its named alias, such aszero,t0ort6.
# Initialize fcsr, then use frcsr to read its old value or update it.
.text
li t3, 0
csrw t3, fcsr
frcsr t1
# t1=0 because fcsr was cleared immediately above.