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
0101100
31:25
00000
24:20
rs1
19:15
rm
rd
14:10
1010011
9:3
 
Format I-Type (Float)
Opcode 0x53
Extension F

Operands

  • rd
    Destination register (integer)
  • rs1
    Source