vadd.vi

Vector-immediate integer addition

This instruction is defined by:

Encoding

svg

Synopsis

Adds immediate value to elements from vector register vs2 according to mask vm and stores results in vector register vd. Element width is determined by SEW setting.

Access

M HS U VS VU

Always

Always

Always

Always

Always

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

  • Pruned, XLEN == 64

  • Original