Difference between revisions of "Instruction Set/carry"
From Mill Computing Wiki
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:carry}} | {{DISPLAYTITLE:carry}} | ||
− | <div style="font-size:80%;line-height:90%;margin-bottom:2em">[[Speculation| | + | <div style="font-size:80%;line-height:90%;margin-bottom:2em">[[Speculation|speculable]] [[Encoding|exu stream]] [[Decode|exu block]] [[Phasing|compute phase]] operation [[Domains|in the logical value domain]] <br /> |
− | '''native on:''' [[Cores| | + | '''native on:''' [[Cores/Tin|Tin]] [[Cores/Copper|Copper]] [[Cores/Gold|Gold]] <br /> |
</div> | </div> | ||
Line 10: | Line 10: | ||
---- | ---- | ||
− | <code style="font-size:130%"><b style="color:#050">carry</b>( | + | <code style="font-size:130%"><b style="color:#050">carry</b>() → [[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> | + | '''native on:''' [[Cores/Copper|Copper]] [[Cores/Tin|Tin]] [[Cores/Gold|Gold]] </div> |
<br /> | <br /> | ||
+ | '''encoding:''' | ||
+ | <code style="font-size:100%"><b style="color:#050">carry</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">op0</span>)</code> | ||
+ | <br /> | ||
{| class="mw-collapsible mw-collapsed wikitable" data-expandtext="▸" data-collapsetext="▾" | {| class="mw-collapsible mw-collapsed wikitable" data-expandtext="▸" data-collapsetext="▾" | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
|- | |- | ||
− | | [[Cores/Tin/Encoding#carry|Tin]] || | + | | [[Cores/Tin/Encoding#carry|Tin]] || E1 || |
|- | |- | ||
− | | [[Cores/Copper/Encoding#carry|Copper]] || | + | | [[Cores/Copper/Encoding#carry|Copper]] || E1 || |
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Gold/Encoding#carry|Gold]] || E1 || |
+ | |} | ||
+ | |||
+ | ---- | ||
+ | <code style="font-size:130%"><b style="color:#050">carry</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">op0</span>) → [[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]]] | ||
+ | '''native on:''' [[Assembly|none]]</div> | ||
+ | <br /> | ||
+ | |||
+ | '''encoding:''' | ||
+ | <code style="font-size:100%"><b style="color:#050">carry</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">op0</span>)</code> | ||
+ | <br /> | ||
+ | {| class="mw-collapsible mw-collapsed wikitable" data-expandtext="▸" data-collapsetext="▾" | ||
+ | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Tin/Encoding#carry|Tin]] || || |
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Copper/Encoding#carry|Copper]] || || |
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Gold/Encoding#carry|Gold]] || || |
|} | |} | ||
[[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:13, 23 February 2021
Gets the carry/borrow flag or condition code of the ganged operation and puts it on the belt.
This is always available for condition code producing operations, regardless of overflow behavior.
related operations: eql, neq, gtr, geq, lss, leq, overflow, fault
carry() → op r0
encoding:
carry(op op0)
Core | In Slots | Latencies |
---|---|---|
Tin | E1 | |
Copper | E1 | |
Gold | E1 |
operands: like Identity [xx:x]
native on: none
encoding:
carry(op op0)
Core | In Slots | Latencies |
---|---|---|
Tin | ||
Copper | ||
Gold |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable