Difference between revisions of "Instruction Set/fmadz"
From Mill Computing Wiki
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:fmadz}} | {{DISPLAYTITLE:fmadz}} | ||
− | <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 decimal floating point value domain]] [[Rounding|and rounds toward zero]]<br /> |
− | '''native on:''' [[ | + | '''native on:''' [[Assembly|none]]<br /> |
</div> | </div> | ||
− | fused multiply-add | + | Decimal floating point fused multiply-add. |
+ | As usual for those, it yields a higher precision than doing it separately, and is faster too. | ||
+ | Rounds towards zero. | ||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">fmadz</b>(<span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window">y</span>, <span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops | <code style="font-size:130%"><b style="color:#050">fmadz</b>(<span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window">y</span>, <span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops | ||
Line 10: | Line 13: | ||
<div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeAddd|like Addd [dd:d]]] | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeAddd|like Addd [dd:d]]] | ||
</div> | </div> | ||
− | + | Returns x*y+z on the belt.<br /> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <br /> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
[[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 14:06, 23 February 2021
speculable exu stream exu block compute phase operation in the decimal floating point value domain and rounds toward zero
native on: none
Decimal floating point fused multiply-add. As usual for those, it yields a higher precision than doing it separately, and is faster too. Rounds towards zero.
operands: like Addd [dd:d]
Returns x*y+z on the belt.
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable