vmsbc.vx

Vector integer subtract-with-borrow-out scalar

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

Assembly format

vmsbc.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