xvbf16ger2

VSX Vector BFloat16 GER (Rank-2 Update)

xvbf16ger2 AT, XA, XB

Performs BFloat16 (Brain Float) matrix multiply accumulate.

Details

The xvbf16ger2 instruction performs a rank-2 update of the accumulator (ACC) using products of bfloat16 values from two VSX registers. It multiplies corresponding elements, sums them, and adds to the accumulator, with saturation if necessary.

Pseudocode Operation

// VSX operation -> vs1

Programming Note

The xvbf16ger2 instruction is used for performing a rank-2 update on the accumulator using bfloat16 values from two VSX registers. Ensure that the input registers are properly aligned and that the operation does not exceed the bounds of the accumulator to avoid saturation issues. This instruction operates at privilege level 0.

Example

xvbf16ger2 acc0, vs2, vs3

Encoding

Binary Layout
60
0
AT
6
XA
11
XB
16
51
21
 
Format XX3-form
Opcode 0xF0000033
Extension MMA
Registers Altered ACC

Operands

  • AT
    Accumulator
  • XA
    Src A (BF16)
  • XB
    Src B (BF16)