FSQRT.S

Float Square Root (Single)

FSQRT.S rd, rs1

Computes the square root of a single-precision floating-point number.

Details

Stores a floating-point register to memory at address rs1+sext(offset).

Pseudocode Operation

F[rd] = sqrt(F[rs1]);

Example

FSQRT.S t0, a0

Encoding

Binary Layout
010110000000
31:20
rs1
19:15
rm
14:12
rd
11:7
1010011
6:0
 
Format I-Type (Float)
Opcode 0x58000053
Extension F

Operands

  • rd
    Destination register (integer)
  • rs1
    Source