(vbmatmul2x4+) ( a b accumulator -- result )


Vocabulary
math.vectors.simd.extensions

Inputs
aan object
ban object
accumulatoran object


Outputs
resultan object


Definition


Methods

M:: object (vbmatmul2x4+) ( a b accumulator -- result )
4 <iota> [| lane |
lane 2 /i 4 * :> row lane 2 mod 4 *
:> column lane accumulator nth row a nth row 1 + a nth
column b nth column 1 + b nth bfloat-dot-add row 2 +
a nth row 3 + a nth column 2 + b nth column 3 + b nth
bfloat-dot-add
] float-4 new map-as ;