fmafn
From Mill Computing Wiki
realizing exu stream exu block compute phase operation in the binary floating point value domain and rounds toward negative infinity
Binary floating point fused multiply-add. As usual for those, it yields a higher precision than doing it separately, and is faster too. Rounds towards negative infinity.
operands: like Addf [ff:f]
Returns x*y+z on the belt.
encoding:
fmafn(f x)
,
exuArgs(op arg0, op arg1)
Core | In Slots | [▸] Latencies |
---|
fmafn(f x, f y, f z, f w) → f r0, f r1
operands: like Fmasf [ff:f]
This is a fused multiply-add-subtract. An excellent way to make full use of all Functional Units in the 2 Slots.
r0 is x*y+z*w
r1 is x*y-z*w
encoding:
fmafn(f x, f y)
,
exuArgs(op arg0, op arg1)
Core | In Slots | [▸] Latencies |
---|
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable