BFMMLA (vector)

Data processing (scalar floating-point and Advanced SIMD)

fixed bit field field the encoding fixes should be

Vector bfmmla

313029282726252423222120191817161514131211109876543210
01101110010Rm111011RnRd

01101110010xxxxx111011xxxxxxxxxx

Decode Sail

if not_bool(HaveBF16Ext()) then {
    throw(Error_Undefined())
};
let 'n = UInt(Rn);
let 'm = UInt(Rm);
let 'd = UInt(Rd);
execute_aarch64_instrs_vector_bfmmla(d, m, n)

Operation Sail

CheckFPAdvSIMDEnabled64();
let op1 : bits(128) = V_read(n, 128);
let op2 : bits(128) = V_read(m, 128);
let acc : bits(128) = V_read(d, 128);
V_set(d, 128) = BFMatMulAdd(acc, op1, op2)

Made from ScarletNX's Sail at 166ad3910f80. sail-arm's definitions are Arm's ASL in Sail (BSD 3-Clause Clear, license); ScarletNX's fixups are GPL-3.0-or-later.