BFMulAddH

ScarletNX's fixup nx.sail

A bfloat16 is the single of its bits over 16 zeros, so BFMLAL's product is added as the singles' is

val BFMulAddH : forall 'N, 'N == 32. (bits('N), bits(div('N, 2)), bits(div('N, 2)), FPCRType) -> bits('N)

function BFMulAddH (addend, op1, op2, fpcr) = FPMulAdd(addend, op1 @ Zeros(16), op2 @ Zeros(16), fpcr)

Used by


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.