VMX (AltiVec) Instructions
319 PowerISA instructions in this extension - showing 19 per page, page 4 of 4 - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| vsubudm | vsubudm vD, vA, vB | VX-form | Subtracts the contents of two vector registers and places the result in a third vector register, modulo operation. |
| vsubuhm | vsubuhm vD, vA, vB | VX-form | Subtracts 8 halfwords modulo 65536. |
| vsubuhs | vsubuhs vD, vA, vB | VX-form | Subtracts 8 unsigned halfwords with saturation. |
| vsubuqm | vsubuqm vD, vA, vB | VA-form | Subtracts the contents of two vector registers and places the result in another vector register, modulo operation. |
| vsubuwm | vsubuwm vD, vA, vB | VA-form | Subtracts the contents of two vector registers and updates the result in another vector register. |
| vsubuws | vsubuws vD, vA, vB | VX-form | Subtracts the contents of two vector registers and saturates the result if it underflows. |
| vsum2sws | vsum2sws vD, vA, vB | VA-form | Adds the contents of two vector registers and updates the saturation flag. |
| vsum4sbs | vsum4sbs vD, vA, vB | VA-form | Adds the contents of four signed byte elements from two vector registers and saturates the result. |
| vsum4shs | vsum4shs vD, vA, vB | VA-form | Sums every 2 halfwords into a word. |
| vsum4ubs | vsum4ubs vD, vA, vB | VA-form | Sums the unsigned byte elements of two vector registers and saturates the result. |
| vsumsws | vsumsws vD, vA, vB | VA-form | Adds the contents of four word elements of one vector register to a single word element of another vector register and saturates the result. |
| vupkhpx | vupkhpx vD, vB | VX-form | Unpacks high 4 pixels to 4 words. |
| vupkhsb | vupkhsb vD, vB | VX-form | Unpacks the high signed byte from each element of a vector register into halfwords of another vector register. |
| vupkhsh | vupkhsh vD, vB | VX-form | Unpacks the high signed halfwords from a vector register into a new vector register. |
| vupkhsw | vupkhsw VRT,VRB | VX-form | Unpacks the high signed words from a vector register into a doubleword format. |
| vupklpx | vupklpx vD, vB | VX-form | Unpacks low 4 pixels to 4 words. |
| vupklsb | vupklsb vD, vB | VX-form | Unpacks low 8 signed bytes to 8 signed halfwords. |
| vupklsh | vupklsh vD, vB | VX-form | Unpacks low 4 signed halfwords to 4 signed words. |
| vxor | vxor vD, vA, vB | VX-form | Bitwise XOR of two 128-bit vectors. |