vadc.vim

Vector integer add-with-carry-in immediate

This instruction is defined by:

Encoding

svg

Synopsis

Add each element from vector register vs2 to the immediate value imm and the respective carry-in from vector register v0, and write the result to vector register vd. vd[i] = vs2[i] + imm + v0.mask[i]

Access

M HS U VS VU

Always

Always

Always

Always

Always

Decode Variables

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