VFWREDOSUM.VS

Vector Widening Ordered Float Reduction Sum

VFWREDOSUM.VS vd, vs2, vs1, vm

Sums N-bit floats into 2*N-bit scalar accumulator (Ordered).

Details

Performs a widening operation, producing results twice as wide as the source elements. Results are written to vd using 2× the element grouping (EEW). The number of elements and masking are governed by vl and vm.

Pseudocode Operation

vd[0] = vs1[0]; for i: vd[0] += extend(vs2[i]);

Example

VFWREDOSUM.VS v1, v4, v2, v0.t

Encoding

Binary Layout
110011
31:26
vm
25
vs2
24:20
vs1
19:15
001
14:12
vd
11:7
1010111
6:0
 
Format OPFVV
Opcode 0x57
Extension V

Operands

  • vd
    Wide Dest
  • vs2
    Narrow Vec
  • vs1
    Wide Start