vmsbc.vxm

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

Subtract from each element of vector register vs2 the scalar register xs1 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] - x[xs1] - v0.mask[i])

Assembly format

vmsbc.vxm vd, vs2, xs1, v0

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