pmxvf32gernp
Prefixed Masked VSX Vector 32-bit Floating-Point GER (rank-1 update) Negative multiply, Positive accumulate
Performs a masked vector operation with negative multiplication and positive accumulation.
Details
Performs a masked 4×4 generalized outer product (rank-1 update GER) on 32-bit floating-point elements, using negative multiplication and positive accumulation ('np' suffix). The XMSK and YMSK operands control which rows and columns participate in the operation. This is a prefixed VSX instruction requiring VSX and prefix support.
Pseudocode Operation
Programming Note
This instruction is used for performing masked vector operations on single-precision floating-point values, specifically a GER (rank-1 update) operation with negative multiplication and positive accumulation. Ensure that the VSX feature is enabled in the MSR register to avoid exceptions. The instruction processes 4x4 elements, checking masks before performing operations. Be cautious of potential overflow or underflow conditions, as they can trigger exceptions and set flags in the FPSCR register.
Example
Encoding
Operands
-
AT
Target Accumulator Register -
XA
Source Accumulator Register Index A -
XB
Source Accumulator Register Index B -
XMSK
Mask for Source Accumulator Register A -
YMSK
Mask for Source Accumulator Register B