Difference between revisions of "Instruction Set/fmafn"
From Mill Computing Wiki
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:fmafn}} | {{DISPLAYTITLE:fmafn}} | ||
− | <div style="font-size:80%;line-height:90%;margin-bottom:2em">[[Speculation| | + | <div style="font-size:80%;line-height:90%;margin-bottom:2em">[[Speculation|speculable]] [[Encoding|exu stream]] [[Decode|exu block]] [[Phasing|compute phase]] operation [[Domains|in the binary floating point value domain]] [[Rounding|and rounds toward negative infinity]]<br /> |
− | '''native on:''' [[Cores/Silver|Silver | + | '''native on:''' [[Cores/Silver|Silver]] <br /> |
</div> | </div> | ||
− | fused multiply-add | + | 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. | ||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">fmafn</b>(<span style="color:#009">[[Domains#f|f]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#f|f]]</span> <span title="belt operand from ops window">y</span>, <span style="color:#009">[[Domains#f|f]]</span> <span title="belt operand from ops | <code style="font-size:130%"><b style="color:#050">fmafn</b>(<span style="color:#009">[[Domains#f|f]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#f|f]]</span> <span title="belt operand from ops window">y</span>, <span style="color:#009">[[Domains#f|f]]</span> <span title="belt operand from ops | ||
Line 10: | Line 13: | ||
<div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeAddf|like Addf [ff:f]]] | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeAddf|like Addf [ff:f]]] | ||
</div> | </div> | ||
− | + | Returns x*y+z on the belt.<br /> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <br /> | + | |
{| class="mw-collapsible mw-collapsed wikitable" data-expandtext="▸" data-collapsetext="▾" | {| class="mw-collapsible mw-collapsed wikitable" data-expandtext="▸" data-collapsetext="▾" | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
|- | |- | ||
− | | [[Cores/Silver/Encoding#fmafn|Silver]] || E0 E1 || | + | | [[Cores/Silver/Encoding#fmafn|Silver]] || E0 E1 || |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|} | |} | ||
[[Instruction_Set|Instruction Set, alphabetical]], [[Instruction Set by Category]], [http://millcomputing.com/instructions.html?collapse=7#ops Instruction Set, sortable, filterable] | [[Instruction_Set|Instruction Set, alphabetical]], [[Instruction Set by Category]], [http://millcomputing.com/instructions.html?collapse=7#ops Instruction Set, sortable, filterable] |
Latest revision as of 13:59, 23 February 2021
speculable exu stream exu block compute phase operation in the binary floating point value domain and rounds toward negative infinity
native on: Silver
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.
Core | In Slots | Latencies |
---|---|---|
Silver | E0 E1 |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable