vmadc.vi

Vector integer add-with-carry-out immediate

This instruction is defined by:

Encoding

svg

Synopsis

Add each element from vector register vs2 to the immediate value imm, and write the respective carry-out to mask register vd. There is no carry-in. vd.mask[i] = carry_out(vs2[i] + imm)

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