pmxvi8ger4
Prefixed Masked VSX Vector Integer 8-bit GER
Masked version of 8-bit integer MMA.
Details
The pmxvi8ger4 instruction performs a masked accumulation of eight outer products using 8-bit signed integer values from two VSX registers, VSR[XA] and VSR[XB], and updates the Accumulator ACC[AT]. The operation is performed only on elements where the corresponding mask bits in XMSK, YMSK, and PMSK are set.
Pseudocode Operation
Programming Note
This instruction is useful for performing efficient matrix multiplication on 8-bit signed integers with masking. Ensure that the mask registers (XMSK, YMSK, PMSK) are correctly set to control which elements participate in the accumulation. The operation requires VSX registers, so ensure they are properly aligned and accessible at the privilege level required by your application. Be cautious of potential overflow when accumulating products, as the result is chopped to 32 bits.
Example
Encoding
Operands
-
AT
Accumulator -
XA
Src A -
XB
Src B -
XMSK
Mask A -
YMSK
Mask B