3.6.3 Integer Adder Based Operations

The vector instructions only have the register-with-register form, not the register-with-immediate forms. Vector instructions are almost always used within loops, and immediate values can be pre-loaded into registers outside of the loop.

Signed Comparisons

Mnemonic Format Unit Semantics Description
ltwv bR ia 2{ x.wv = (x.wv < y.wv) } Less than Word Vector
ltfv bR ia 2{ x.wv = (x.fv < y.fv) } Less Than Float Vector
lewv bR ia 2{ x.wv = (x.wv < y.wv) } Less than Word Vector
lefv bR ia 2{ x.wv = (x.fv <= y.fv) } Less or Equal Float Vector


Unsigned Comparisons

Mnemonic Format Unit Semantics Description
ultwv bR ia 2{ x.uwv = (x.uwv < y.uwv) } Less than Word Vector
ulewv bR ia 2{ x.uwv = (x.uwv < y.uwv) } Less than Word Vector


Integer Addition

Mnemonic Format Unit Semantics Description
addwv bR ia 2{ x.wv += y.wv } Add Word Vector
subwv bR ia 2{ x.wv -= y.wv } Subtract Word Vector