vmsbc.vvm

Vector integer subtract-with-borrow-in-out vector

Subtract from each element of vector register vs2 the respective element from vector register vs1 and the respective borrow-in from vector register v0, and write the respective borrow-out to mask register vd. The borrow is defined to be 1 iff the difference, prior to truncation, is negative. vd.mask[i] = borrow_out(vs2[i] - vs1[i] - v0.mask[i])

Assembly format

vmsbc.vvm vd, vs2, vs1, v0

Decode Variables

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

Execution

Encoding

svg

Defining extension

Access

M

Always

Containing profiles

  • Mandatory: None

  • Optional: None