vsaddu.vi

Vector Single-Width Saturating Add Unsigned with Immediate

Performs saturating unsigned addition on elements from vector register vs2 and immediate value imm and stores results in vector register vd, using vector mask vm. If the result would overflow the destination, the result is replaced with the closest representable value, and the vxsat bit is set.

Assembly format

vsaddu.vi vd, vs2, imm, vm

Decode Variables

Bits<1> vm = $encoding[25];
Bits<5> vs2 = $encoding[24:20];
signed Bits<5> imm = sext($encoding[19:15], 5);
Bits<5> vd = $encoding[11:7];

Execution

Encoding

svg

Defining extension

Access

M

Always

Containing profiles

  • Mandatory: None

  • Optional: None