frflags
Read FP exception flags
Reads the FP exception flags into t1.
Used in
- Floating point and the F and D extensionsRISC-V assembly
Forms
Operands
t1- Any integer register,
x0tox31, or its named alias, such aszero,t0ort6.
# Initialize fflags, then use frflags to read its old value or update it.
.text
li t3, 0
csrw t3, fflags
frflags t1
# t1=0 because fflags was cleared immediately above.