Difference between revisions of "Instruction Set/neqp"
From Mill Computing Wiki
Line 4: | Line 4: | ||
</div> | </div> | ||
− | + | Pointer inequality. | |
+ | The highest 3 bits of pointers are reserved for user purposes like garbage collection, and as such are ignored in pointer comparisons. | ||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">neqp</b>(<span style="color:#009">[[Domains#p|p]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#p|p]]</span> <span title="belt operand from ops window">y</span>) → [[Domains#p|p]] r<sub>0</sub></code> | <code style="font-size:130%"><b style="color:#050">neqp</b>(<span style="color:#009">[[Domains#p|p]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#p|p]]</span> <span title="belt operand from ops window">y</span>) → [[Domains#p|p]] r<sub>0</sub></code> | ||
Line 31: | Line 33: | ||
<div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeEqlp|like Eqlp pp:p]] | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeEqlp|like Eqlp pp:p]] | ||
</div> | </div> | ||
+ | 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/overflow|overflow]], [[Instruction_Set/fault|fault]] | ||
<br /> | <br /> | ||
Revision as of 17:09, 16 December 2014
Pointer inequality. The highest 3 bits of pointers are reserved for user purposes like garbage collection, and as such are ignored in pointer comparisons.
operands: like Eqlp pp:p
Core | In Slots | Latencies |
---|---|---|
Tin | E0 | 2 |
Copper | E0 E1 | 2 |
Silver | E0 E1 E2 E3 | 2 |
Gold | E0 E1 E2 E3 E4 E5 E6 E7 | 2 |
Decimal8 | E0 E1 E2 E3 | 2 |
Decimal16 | E0 E1 E2 E3 | 2 |
neqp(conditioncode) → p r0
operands: like Eqlp pp:p
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 | 2 |
Copper | e0 | 2 |
Silver | e0 | 2 |
Gold | e0 | 2 |
Decimal8 | e0 | 2 |
Decimal16 | e0 | 2 |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable