Difference between revisions of "Instruction Set/classifyf"

From Mill Computing Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:classifyf}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing  exu stream Decode|exu bl...")
 
Line 4:Line 4:
 
</div>
 
</div>
  
floating point kind
+
Produce an enum value to classify binary floating points into normal values, subnormals, infinities and NaNs etc.
 +
 
 +
The exact list is:
 +
 
 +
* signaling NaN,
 +
* quiet NaN,
 +
* negative Infinity,
 +
* negative Normal,
 +
* negative Subnormal,
 +
* negative Zero,
 +
* positive Zero,
 +
* positive Subnormal,
 +
* positive Normal,
 +
* positive Infinity
 +
 
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">classifyf</b>(<span style="color:#009">[[Domains#f|f]]</span> <span title="belt operand from ops window">x</span>) &#8594; [[Domains#f|f]] r<sub>0</sub></code>
 
<code style="font-size:130%"><b style="color:#050">classifyf</b>(<span style="color:#009">[[Domains#f|f]]</span> <span title="belt operand from ops window">x</span>) &#8594; [[Domains#f|f]] r<sub>0</sub></code>

Revision as of 18:48, 26 November 2014

realizing  exu stream  exu block  compute phase   operation   in the binary floating point value domain  

native on: Silver Gold

Produce an enum value to classify binary floating points into normal values, subnormals, infinities and NaNs etc.

The exact list is:

  • signaling NaN,
  • quiet NaN,
  • negative Infinity,
  • negative Normal,
  • negative Subnormal,
  • negative Zero,
  • positive Zero,
  • positive Subnormal,
  • positive Normal,
  • positive Infinity

classifyf(f x) → f r0

operands: like Addf [ff:f]


Core In Slots Latencies
Silver E0 E1 w:w=3 wv:wv=3 d:d=4 dv:dv=4 q:q=5 qv:qv=5
Gold E0 E1 E2 E3 w:w=3 wv:wv=3 d:d=4 dv:dv=4 q:q=5 qv:qv=5