Difference between revisions of "Instruction Set/fmad"
From Mill Computing Wiki
(Created page with "{{DISPLAYTITLE:fmad}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing exu stream exu block...") | |||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:fmad}} | {{DISPLAYTITLE:fmad}} | ||
− | <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 use current dynamic rounding mode]]<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. | ||
+ | Uses current rounding behaviour. | ||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">fmad</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">fmad</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] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 14:10, 23 February 2021
speculable exu stream exu block compute phase operation in the decimal floating point value domain and rounds use current dynamic rounding mode
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. Uses current rounding behaviour.
operands: like Addd [dd:d]
Returns x*y+z on the belt.
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable