FSQRT.S
Float Square Root (Single)
FSQRT.S rd, rs1
Computes the square root of a single-precision floating-point number.
Encoding
Binary Layout
010110000000
31:20
rs1
19:15
rm
14:12
rd
11:7
1010011
6:0
Operands
-
rd
Destination register (integer) -
rs1
Source
Example
FSQRT.S t0, a0
Related
Across architectures
Floating-Point Square Root : how x86, ARM, RISC-V, and PowerISA each do this.
More in F
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Stores a floating-point register to memory at address rs1+sext(offset).
Operation
F[rd] = sqrt(F[rs1]);