xvf32ger
VSX Vector Float32 GER (Rank-1 Update)
Performs a vector floating-point general element-wise reduction with rank-1 update.
Details
The xvf32ger instruction performs a rank-1 update on a 4x4 matrix in the Accumulator (ACC[AT]) using two 4x2 matrices from VSR[XA] and VSR[XB]. It multiplies corresponding elements of the matrices, accumulates the results, and stores them back into ACC[AT].
Pseudocode Operation
Programming Note
The xvf32ger instruction is commonly used for matrix operations, specifically rank-1 updates. Ensure that the input matrices in VSR[XA] and VSR[XB] are correctly aligned and formatted as 4x2 matrices to avoid incorrect results. This operation requires floating-point precision and may raise exceptions if inputs are out of range or if there are NaNs or infinities involved.
Example
Encoding
Operands
-
AT
Accumulator -
XA
Src A (FP32) -
XB
Src B (FP32)