3.7.3 Adder Based Operations



Vector Signed Comparisons

Mnemonic Format Unit Semantics Description
ltbv aO ia 8{ a.bv = (a.bv < y.bv) } Less than Byte Vector
lebv aO ia 8{ a.bv = (a.bv <= y.bv) } Less or Equal Byte Vector
ltubv aO ia 8{ a.bv = (a.bv < (int)y.ubv) } Less than Unsigned Byte Vector
leubv aO ia 8{ a.bv = (a.bv <= (int)y.ubv) } Less or Equal Unsigned Byte Vector
lthv aO ia 4{ a.hv = (a.bv < y.hv) } Less than Halfword Vector
lehv aO ia 4{ a.hv = (a.bv <= y.hv) } Less or Equal Halfword Vector
ltuhv aO ia 4{ a.hv = (a.bv < (int)y.uhv) } Less than Unsigned Halfword Vector
leuhv aO ia 4{ a.hv = (a.bv <= (int)y.uhv) } Less or Equal Unsigned Halfword Vector


Vector Unsigned Comparisons

Mnemonic Format Unit Semantics Description
ultubv aO ia 8{ a.bv = (a.ubv < y.ubv) } Unsigned Less Than Unsigned Byte Vector
ultuhv aO ia 4{ a.hv = (a.ubv < y.uhv) } Unsigned Less Than Unsigned Halfword Vector
uleubv aO ia 8{ a.bv = (a.ubv <= y.ubv) } Unsigned Less or Equal Unsigned Byte Vector
uleuhv aO ia 4{ a.hv = (a.ubv <= y.uhv) } Unsigned Less or Equal Unsigned Halfword Vector


Vector Addition

Mnemonic Format Unit Semantics Description
addbv aO ia 8{ a.bv += y.bv } Add Byte Vector
addhv aO ia 4{ a.hv += y.hv } Add Halfword Vector
addubv aO ia 8{ a.bv += y.ubv } Add Unsigned Byte Vector
adduhv aO ia 4{ a.hv += y.uhv } Add Unsigned Halfword Vector
subbv aO ia 8{ a.bv -= y.bv } Subtract Byte Vector
subhv aO ia 4{ a.hv -= y.hv } Subtract Halfword Vector
sububv aO ia 8{ a.bv -= y.ubv } Subtract Unsigned Byte Vector
subuhv aO ia 4{ a.hv -= y.uhv } Subtract Unsigned Halfword Vector


Signed Comparisons with Memory Vector

Mnemonic Format Unit Semantics Description
ltmbv aM ia 8{ a.bv = (a.bv < vlong(y.i+disp).bv) } Less than Byte Vector
lembv aM ia 8{ a.bv = (a.bv <= vlong(y.i+disp).bv) } Less or Equal Byte Vector
ltmubv aM ia 8{ a.bv = (a.bv < (int)vlong(y.i+disp).ubv) } Less than Unsigned Byte Vector
lemubv aM ia 8{ a.bv = (a.bv <= (int)vlong(y.i+disp).ubv) } Less or Equal Unsigned Byte Vector
ltmhv aM ia 4{ a.hv = (a.bv < vlong(y.i+disp).hv) } Less than Halfword Vector
lemhv aM ia 4{ a.hv = (a.bv <= vlong(y.i+disp).hv) } Less or Equal Halfword Vector
ltmuhv aM ia 4{ a.hv = (a.bv < (int)vlong(y.i+disp).uhv) } Less than Unsigned Halfword Vector
lemuhv aM ia 4{ a.hv = (a.bv <= (int)vlong(y.i+disp).uhv) } Less or Equal Unsigned Halfword Vector


Unsigned Comparisons with Memory Vector

Mnemonic Format Unit Semantics Description
ultmubv aM ia 8{ a.bv = (a.ubv < vlong(y.i+disp).ubv) } Unsigned Less Than Unsigned Byte Vector
ultmuhv aM ia 4{ a.hv = (a.ubv < vlong(y.i+disp).uhv) } Unsigned Less Than Unsigned Halfword Vector
ulemubv aM ia 8{ a.bv = (a.ubv <= vlong(y.i+disp).ubv) } Unsigned Less or Equal Unsigned Byte Vector
ulemuhv aM ia 4{ a.hv = (a.ubv <= vlong(y.i+disp).uhv) } Unsigned Less or Equal Unsigned Halfword Vector


Addition of Memory Vector

Mnemonic Format Unit Semantics Description
addmbv aM ia 8{ a.bv += vlong(y.i+disp).bv } Add Byte Vector
addmhv aM ia 4{ a.hv += vlong(y.i+disp).hv } Add Halfword Vector
addmubv aM ia 8{ a.bv += vlong(y.i+disp).ubv } Add Unsigned Byte Vector
addmuhv aM ia 4{ a.hv += vlong(y.i+disp).uhv } Add Unsigned Halfword Vector
submbv aM ia 8{ a.bv -= vlong(y.i+disp).bv } Subtract Byte Vector
submhv aM ia 4{ a.hv -= vlong(y.i+disp).hv } Subtract Halfword Vector
submubv aM ia 8{ a.bv -= vlong(y.i+disp).ubv } Subtract Unsigned Byte Vector
submuhv aM ia 4{ a.hv -= vlong(y.i+disp).uhv } Subtract Unsigned Halfword Vector