pub struct SmmlaOperation<'c> { /* private fields */ }
Expand description
A smmla
operation. Matrix-matrix multiply and accumulate op.
SMMLA: Signed integer matrix multiply-accumulate.
This function maps to the SMMLA instruction, and it takes signless integer operands that the operation interprets as signed. It partitions the inputs into 128-bit quadwords, with the first input containing a row-by-row 2×2 matrix of 32-bit integers, the second input containing a row-by-row 2×8 matrix of 8-bit integers, and the third input containing a column-by-column 8×2 matrix of 8-bit integers. For each quadword, they multiply the second input matrix by the third input matrix using natural arithmetic and then add the result to the first input using modular arithmetic.
Source: https://developer.arm.com/documentation/100987/0000
Implementations§
source§impl<'c> SmmlaOperation<'c>
impl<'c> SmmlaOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> SmmlaOperationBuilder<'c, Unset, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> SmmlaOperationBuilder<'c, Unset, Unset, Unset, Unset>
Creates a builder.