the integer multiply-add of values A, B and C's first components, of A's type (B's and C's bitcast to it), into R
function Imad() -> unit = {
let kind = KindOf(A);
let b = if KindOf(B) != kind then { if kind == K_INT then AsI32(At(B, 0)) else AsU32(At(B, 0)) } else At(B, 0);
let c = if KindOf(C) != kind then { if kind == K_INT then AsI32(At(C, 0)) else AsU32(At(C, 0)) } else At(C, 0);
Reset(R, 1, kind);
Put(R, 0, IAddT(IMulT(At(A, 0), b), c))
}Made from ScarletNX's Sail at 166ad3910f80. The Sail and the encodings' file are ScarletNX's (GPL-3.0-or-later); its encodings are from Vita3K's usse_translator_entry.cpp (GPL-2.0-or-later).