Difference between revisions of "Instruction Set/flip"
From Mill Computing Wiki
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:flip}} | {{DISPLAYTITLE:flip}} | ||
− | <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 /> |
'''aliases:''' flips flipu <br /> | '''aliases:''' flips flipu <br /> | ||
'''native on:''' [[Cores|all]]<br /> | '''native on:''' [[Cores|all]]<br /> | ||
</div> | </div> | ||
− | + | Bit complement. | |
+ | |||
+ | The dyadic operations change the single indexed bit. | ||
+ | |||
+ | <b>related operations:</b> [[Instruction_Set/set|set]], [[Instruction_Set/clear|clear]], [[Instruction_Set/test|test]] | ||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">flip</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</span>) → [[Domains#op|op]] r<sub>0</sub></code> | <code style="font-size:130%"><b style="color:#050">flip</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</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]]] | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeIdentity|like Identity [xx:x]]] | ||
</div> | </div> | ||
+ | Flips all bits, i.e. this is the bit complement. | ||
<br /> | <br /> | ||
+ | '''encoding:''' | ||
+ | <code style="font-size:100%"><b style="color:#050">flip</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</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]] | ||
Line 17: | Line 26: | ||
| [[Cores/Tin/Encoding#flip|Tin]] || E0 || 1 | | [[Cores/Tin/Encoding#flip|Tin]] || E0 || 1 | ||
|- | |- | ||
− | | [[Cores/Copper/Encoding#flip|Copper]] || E0 | + | | [[Cores/Copper/Encoding#flip|Copper]] || E0 || 1 |
|- | |- | ||
| [[Cores/Silver/Encoding#flip|Silver]] || E0 E1 E2 E3 || 1 | | [[Cores/Silver/Encoding#flip|Silver]] || E0 E1 E2 E3 || 1 | ||
|- | |- | ||
− | | [[Cores/Gold/Encoding#flip|Gold]] || E0 | + | | [[Cores/Gold/Encoding#flip|Gold]] || E0 || 1 |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|} | |} | ||
Line 34: | Line 39: | ||
<br /> | <br /> | ||
+ | '''encoding:''' | ||
+ | <code style="font-size:100%"><b style="color:#050">flip</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</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#flip|Tin]] || E0 || | + | | [[Cores/Tin/Encoding#flip|Tin]] || E0 || |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Copper/Encoding#flip|Copper]] || E0 || |
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Silver/Encoding#flip|Silver]] || E0 E1 E2 E3 || |
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Gold/Encoding#flip|Gold]] || E0 || |
|} | |} | ||
Line 56: | Line 60: | ||
<br /> | <br /> | ||
+ | '''encoding:''' | ||
+ | <code style="font-size:100%"><b style="color:#050">flip</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</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#flip|Tin]] || E0 || | + | | [[Cores/Tin/Encoding#flip|Tin]] || E0 || |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Copper/Encoding#flip|Copper]] || E0 || |
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Silver/Encoding#flip|Silver]] || E0 E1 E2 E3 || |
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Gold/Encoding#flip|Gold]] || E0 || |
|} | |} | ||
[[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:11, 23 February 2021
speculable exu stream exu block compute phase operation in the logical value domain
aliases: flips flipu
native on: all
Bit complement.
The dyadic operations change the single indexed bit.
related operations: set, clear, test
operands: like Identity [xx:x]
Flips all bits, i.e. this is the bit complement.
encoding:
flip(op x)
Core | In Slots | Latencies |
---|---|---|
Tin | E0 | 1 |
Copper | E0 | 1 |
Silver | E0 E1 E2 E3 | 1 |
Gold | E0 | 1 |
operands: like Shift [xi:x]
encoding:
flip(op x)
Core | In Slots | Latencies |
---|---|---|
Tin | E0 | |
Copper | E0 | |
Silver | E0 E1 E2 E3 | |
Gold | E0 |
operands: like Shift [xi:x]
encoding:
flip(op x)
Core | In Slots | Latencies |
---|---|---|
Tin | E0 | |
Copper | E0 | |
Silver | E0 E1 E2 E3 | |
Gold | E0 |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable