VFSQRT.V
Vector Float Square Root
VFSQRT.V vd, vs2, vm
Computes the square root of elements in a floating-point vector.
Encoding
Binary Layout
010011
31:26
vm
25
vs2
24:20
00000001
19:12
vd
11:7
1010111
6:0
Operands
-
vd
Destination vector register -
vs2
Source
Example
VFSQRT.V v1, v4, v0.t
Related
More in V
Reference
View in RISC-V Unprivileged ISA Specification ↗
RISC-V ISA Manual
Description
Performs element-wise FP square root on operands, writing results to vd. The number of elements processed is determined by vl, and masking is controlled by vm.
Operation
foreach(i < vl): vd[i] = sqrt(vs2[i]);