Difference between revisions of "Instruction Set/carry"
From Mill Computing Wiki
(Created page with "{{DISPLAYTITLE:carry}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing exu stream [[Decode|exu block]...") | |||
| (4 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/Tin|Tin]] [[Cores/Copper|Copper]] [[Cores/Gold|Gold]] <br /> | |
| − | '''native on:''' [[Cores| | + | |
</div> | </div> | ||
| − | carry/borrow | + | Gets the carry/borrow flag or condition code of the ganged operation and puts it on the belt. |
| + | <br />This is always available for condition code producing operations, regardless of overflow behavior. | ||
| + | |||
| + | <b>related operations:</b> [[Instruction_Set/eql|eql]], [[Instruction_Set/neq|neq]], [[Instruction_Set/gtr|gtr]], [[Instruction_Set/geq|geq]], [[Instruction_Set/lss|lss]], [[Instruction_Set/leq|leq]], [[Instruction_Set/overflow|overflow]], [[Instruction_Set/fault|fault]] | ||
| + | |||
---- | ---- | ||
| − | <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# | + | | [[Cores/Tin/Encoding#carry|Tin]] || E1 || |
|- | |- | ||
| − | | [[Cores/Copper/Encoding# | + | | [[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] | ||
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