3.7.2 Logical Operations



Vector Bitwise Logical Operation

Mnemonic Format Unit Semantics Description
andbv aO lu 8{ a.bv &= y.bv } And Byte Vector
andhv aO lu 4{ a.hv &= y.hv } And Halfword Vector
andubv aO lu 8{ a.bv &= y.ubv } And Unsigned Byte Vector
anduhv aO lu 4{ a.hv &= y.uhv } And Unsigned Halfword Vector
bicbv aO lu 8{ a.bv &= ~y.bv } Bit Clear Byte Vector
bichv aO lu 4{ a.hv &= ~y.hv } Bit Clear Halfword Vector
bicubv aO lu 8{ a.bv &= ~y.ubv } Bit Clear Unsigned Byte Vector
bicuhv aO lu 4{ a.hv &= ~y.uhv } Bit Clear Unsigned Halfword Vector
bisbv aO lu 8{ a.bv |= y.bv } Bit Set Byte Vector
bishv aO lu 4{ a.hv |= y.hv } Bit Set Halfword Vector
bisubv aO lu 8{ a.bv |= y.ubv } Bit Set Byte Unsigned Vector
bisuhv aO lu 4{ a.hv |= y.uhv } Bit Set Halfword Unsigned Vector
xorbv aO lu 8{ a.bv ^= y.bv } Exclusive Or Byte Vector
xorhv aO lu 4{ a.hv ^= y.hv } Exclusive Or Halfword Vector
xorubv aO lu 8{ a.bv ^= y.ubv } Exclusive Or Unsigned Byte Vector
xoruhv aO lu 4{ a.hv ^= y.uhv } Exclusive Or Unsigned Halfword Vector


Bitwise Logical Operation with Memory Vector

Mnemonic Format Unit Semantics Description
andmbv aM lu 8{ a.bv &= vlong(y.i+disp).bv } And Byte Vector
andmhv aM lu 4{ a.hv &= vlong(y.i+disp).hv } And Halfword Vector
andmubv aM lu 8{ a.bv &= vlong(y.i+disp).ubv } And Unsigned Byte Vector
andmuhv aM lu 4{ a.hv &= vlong(y.i+disp).uhv } And Unsigned Halfword Vector
bicmbv aM lu 8{ a.bv &= ~vlong(y.i+disp).bv } Bit Clear Byte Vector
bicmhv aM lu 4{ a.hv &= ~vlong(y.i+disp).hv } Bit Clear Halfword Vector
bicmubv aM lu 8{ a.bv &= ~vlong(y.i+disp).ubv } Bit Clear Unsigned Byte Vector
bicmuhv aM lu 4{ a.hv &= ~vlong(y.i+disp).uhv } Bit Clear Unsigned Halfword Vector
bismbv aM lu 8{ a.bv |= vlong(y.i+disp).bv } Bit Set Byte Vector
bismhv aM lu 4{ a.hv |= vlong(y.i+disp).hv } Bit Set Halfword Vector
bismubv aM lu 8{ a.bv |= vlong(y.i+disp).ubv } Bit Set Byte Unsigned Vector
bismuhv aM lu 4{ a.hv |= vlong(y.i+disp).uhv } Bit Set Halfword Unsigned Vector
xormbv aM lu 8{ a.bv ^= vlong(y.i+disp).bv } Exclusive Or Byte Vector
xormhv aM lu 4{ a.hv ^= vlong(y.i+disp).hv } Exclusive Or Halfword Vector
xormubv aM lu 8{ a.bv ^= vlong(y.i+disp).ubv } Exclusive Or Unsigned Byte Vector
xormuhv aM lu 4{ a.hv ^= vlong(y.i+disp).uhv } Exclusive Or Unsigned Halfword Vector