vmadc.vx

Vector integer add-with-carry-out scalar

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

Assembly format

vmadc.vx vd, vs2, xs1

Decode Variables

Bits<5> vs2 = $encoding[24:20];
Bits<5> xs1 = $encoding[19:15];
Bits<5> vd = $encoding[11:7];

Execution

Encoding

svg

Defining extension

Access

M

Always

Containing profiles

  • Mandatory: None

  • Optional: None