Difference between revisions of "Instruction Set/neq"

From Mill Computing Wiki
Jump to: navigation, search
Line 5:Line 5:
 
</div>
 
</div>
  
not equal
+
Integer inequality comparison.
 +
All comparison operations produce 0 or 1 values of the operand width.
 +
 
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">neq</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">neq</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>
Line 55:Line 57:
 
</div>
 
</div>
 
Gets the inequality condition code of the ganged operation and puts it on the belt.
 
Gets the inequality condition code of the ganged operation and puts it on the belt.
<b>related operations:</b> [[Instruction_Set/eql|eql]], [[Instruction_Set/gtr|gtr]], [[Instruction_Set/geq|geq]], [[Instruction_Set/lss|lss]], [[Instruction_Set/leq|leq]], [[Instruction_Set/carry|carry]], [[Instruction_Set/overflows|overflows]], [[Instruction_Set/fault|fault]]
+
 
 +
<b>related operations:</b> [[Instruction_Set/eql|eql]], [[Instruction_Set/gtr|gtr]], [[Instruction_Set/geq|geq]], [[Instruction_Set/lss|lss]], [[Instruction_Set/leq|leq]], [[Instruction_Set/carry|carry]], [[Instruction_Set/overflow|overflow]], [[Instruction_Set/fault|fault]]
 
<br />
 
<br />
  

Revision as of 17:09, 16 December 2014

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

aliases: neqs nequ
native on: all

Integer inequality comparison. All comparison operations produce 0 or 1 values of the operand width.


neq(op x, op 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

neq(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

neq(conditioncode) → op r0

operands: like Identity [xx:x]

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

related operations: eql, gtr, geq, lss, leq, carry, overflow, fault

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


Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable