Difference between revisions of "Instruction Set/narrowde"
From Mill Computing Wiki
m (Protected "Instruction Set/narrowde": generated ([Edit=<protect-level-bot>] (indefinite) [Move=<protect-level-bot>] (indefinite))) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:narrowde}} | {{DISPLAYTITLE:narrowde}} | ||
<div style="font-size:80%;line-height:90%;margin-bottom:2em">[[Speculation|realizing]] [[Encoding|exu stream]] [[Decode|exu block]] [[Phasing|compute phase]] operation [[Domains|in the decimal floating point value domain]] [[Rounding|and rounds to nearest, ties toward even adjacent value]]<br /> | <div style="font-size:80%;line-height:90%;margin-bottom:2em">[[Speculation|realizing]] [[Encoding|exu stream]] [[Decode|exu block]] [[Phasing|compute phase]] operation [[Domains|in the decimal floating point value domain]] [[Rounding|and rounds to nearest, ties toward even adjacent value]]<br /> | ||
− | '''native on:''' [[ | + | '''native on:''' [[Assembly|none]]<br /> |
</div> | </div> | ||
Line 13: | Line 13: | ||
---- | ---- | ||
− | <code style="font-size:130%"><b style="color:#050">narrowde</b>(<span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window"> | + | <code style="font-size:130%"><b style="color:#050">narrowde</b>(<span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window">v1</span>, <span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window">v2</span>) → [[Domains#d|d]] r<sub>0</sub></code> |
− | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands# | + | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeNarrowvd|like Narrowvd [DD:½D]]] |
</div> | </div> | ||
<br /> | <br /> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
---- | ---- | ||
− | <code style="font-size:130%"><b style="color:#050">narrowde</b>(<span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window"> | + | <code style="font-size:130%"><b style="color:#050">narrowde</b>(<span style="color:#009">[[Domains#d|d]]</span> <span title="belt operand from ops window">op0</span>, <i><span style="color:#009">[[Immediates#width|width]]</span> <span title="data width and vector length (exu)">width0</span></i>) → [[Domains#d|d]] r<sub>0</sub></code> |
− | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands# | + | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeNarrowd|like Narrowd [dd:½d]]] |
</div> | </div> | ||
<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:04, 23 February 2021
realizing exu stream exu block compute phase operation in the decimal floating point value domain and rounds to nearest, ties toward even adjacent value
native on: none
Half the width of a decimal float value. Rounding to nearest even.
Can produce the IEEE 754 32bit decimal float interchange format.
This is not a Speculable operation. The reason for this is the impossibility to fit all of the NaR payload into values smaller than 32bit. Nominally this would only require the narrowing of 32bit values to be not speculable, but for simplicity reasons in hardware and compiler this is not so. If narrowing should prove a big bottleneck this can be revisited.
operands: like Narrowvd [DD:½D]
narrowde(d op0, width width0) → d r0
operands: like Narrowd [dd:½d]
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable