Webcentive RISC-V Reference

fscsr

Pseudo-op

Extension
F
XLEN
RV32 and RV64
Operand fields
rs1, rd
Length
32-bit

Encoding

listed in riscv-opcodes as a pseudo-op of csrrw

3120191514121176210
000000000011rs1001rd1110011

Match 0x00301073, mask 0xfff0707f. Source: $pseudo_op rv_zicsr::csrrw fscsr rd rs1 31..20=0x003 14..12=1 6..2=0x1C 1..0=3 in riscv-opcodes/extensions/rv_f.

FieldBitsriscv-opcodes name
rs119:15rs1
rd11:7rd

Description

Encoding only. riscv-opcodes lists fscsr as a pseudo-op of csrrw: the same encoding as csrrw with the fixed fields shown above.

Specification and related pages