Difference between revisions of "Instruction Set/eql"

From Mill Computing Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:eql}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing  exu stream  exu block&...")
 
Line 5:Line 5:
 
</div>
 
</div>
  
equal
+
Integer equality.
 +
 
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">eql</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">y</span>) &#8594; [[Domains#op|op]] r<sub>0</sub></code>
 
<code style="font-size:130%"><b style="color:#050">eql</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">y</span>) &#8594; [[Domains#op|op]] r<sub>0</sub></code>
 
<div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeIdentity|like Identity [xx:x]]]
 
<div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeIdentity|like Identity [xx:x]]]
 
</div>
 
</div>
<br />
+
Both operands must be the same byte size.<br />
  
 
{| class="mw-collapsible mw-collapsed wikitable" data-expandtext="&#9656;" data-collapsetext="&#9662;"
 
{| class="mw-collapsible mw-collapsed wikitable" data-expandtext="&#9656;" data-collapsetext="&#9662;"
Line 54:Line 55:
 
<div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeIdentity|like Identity [xx:x]]]
 
<div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeIdentity|like Identity [xx:x]]]
 
</div>
 
</div>
<br />
+
Gets the equality condition code of the  ganged operation and puts it on the belt.<br />
  
 
'''alternate encoding:''' [[Encoding#Skinny|skinny]]
 
'''alternate encoding:''' [[Encoding#Skinny|skinny]]

Revision as of 18:46, 26 November 2014

realizing  exu stream  exu block  compute phase   operation   in the logical value domain  

aliases: eqls eqlu
native on: all

Integer equality.


eql(op x, op y) → op r0

operands: like Identity [xx:x]

Both operands must be the same byte size.

Core In Slots Latencies
Tin E0 1
Copper E0 E1 1
Silver E0 E1 E2 E3 1
Gold E0 E1 E2 E3 E4 E5 E6 E7 1
Decimal8 E0 E1 E2 E3 1
Decimal16 E0 E1 E2 E3 1

eql(op x, imm y) → op r0

operands: like Identity [xx:x]


Core In Slots Latencies
Tin E0 1
Copper E0 E1 1
Silver E0 E1 E2 E3 1
Gold E0 E1 E2 E3 E4 E5 E6 E7 1
Decimal8 E0 E1 E2 E3 1
Decimal16 E0 E1 E2 E3 1

eql(conditioncode) → op r0

operands: like Identity [xx:x]

Gets the equality condition code of the ganged operation and puts it on the belt.

alternate encoding: skinny

Core In Slots Latencies
Tin e0 E0 E1 1
Copper e0 E0 E1 1
Silver e0 E0 E1 E2 E3 1
Gold e0 E0 E1 E2 E3 E4 E5 E6 E7 1
Decimal8 e0 E0 E1 E2 E3 1
Decimal16 e0 E0 E1 E2 E3 1