Difference between revisions of "Instruction Set/alternate"

From Mill Computing Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:alternate}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing  exu stream Decode|exu bl...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1:Line 1:
 
{{DISPLAYTITLE:alternate}}
 
{{DISPLAYTITLE:alternate}}
<div style="font-size:80%;line-height:90%;margin-bottom:2em">[[Speculation|realizing]]&nbsp;&nbsp;[[Encoding|exu stream]]&nbsp;&nbsp;[[Decode|exu block]]&nbsp;&nbsp;[[Phasing|compute phase]]&nbsp;&nbsp; operation&nbsp;&nbsp; [[Domains|in the logical value domain]]&nbsp;&nbsp;<br />
+
<div style="font-size:80%;line-height:90%;margin-bottom:2em">[[Speculation|speculable]]&nbsp;&nbsp;[[Encoding|exu stream]]&nbsp;&nbsp;[[Decode|exu block]]&nbsp;&nbsp;[[Phasing|compute phase]]&nbsp;&nbsp; operation&nbsp;&nbsp; [[Domains|in the logical value domain]]&nbsp;&nbsp;<br />
 
'''native on:''' [[Cores|all]]<br />
 
'''native on:''' [[Cores|all]]<br />
 
</div>
 
</div>
  
interlace two vectors
+
Interlace two Vectors.
 +
i.e. take two vectors [a b c d] and [1 2 3 4] and produce two vectors [a 1 b 2] and [c 3 d 4].
 +
The actual number of vector elements is dependent on the scalar domain width and the vector operand width of the specific core.
 +
 
 +
<b>related operations:</b> [[Instruction_Set/shuffle|shuffle]], [[Instruction_Set/vec|vec]], [[Instruction_Set/inject|inject]], [[Instruction_Set/extract|extract]]
 +
 
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">alternate</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">v1</span>, <span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">v2</span>) &#8594; [[Domains#op|op]] r<sub>0</sub>, [[Domains#op|op]] r<sub>1</sub></code>
 
<code style="font-size:130%"><b style="color:#050">alternate</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">v1</span>, <span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">v2</span>) &#8594; [[Domains#op|op]] r<sub>0</sub>, [[Domains#op|op]] r<sub>1</sub></code>
Line 14:Line 19:
 
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]]
 
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]]
 
|-
 
|-
| [[Cores/Tin/Encoding#212|Tin]] || E0 || 2 2
+
| [[Cores/Tin/Encoding#alternate|Tin]] || E0 ||  
 
|-
 
|-
| [[Cores/Copper/Encoding#212|Copper]] || E0 E1 || 2 2
+
| [[Cores/Copper/Encoding#alternate|Copper]] || E0 ||  
 
|-
 
|-
| [[Cores/Silver/Encoding#212|Silver]] || E0 E1 E2 E3 || 2 2
+
| [[Cores/Silver/Encoding#alternate|Silver]] || E0 E1 E2 E3 ||  
 
|-
 
|-
| [[Cores/Gold/Encoding#212|Gold]] || E0 E1 E2 E3 E4 E5 E6 E7 || 2 2
+
| [[Cores/Gold/Encoding#alternate|Gold]] || E0 ||  
|-
+
| [[Cores/Decimal8/Encoding#212|Decimal8]] || E0 E1 E2 E3 || 2 2
+
|-
+
| [[Cores/Decimal16/Encoding#212|Decimal16]] || E0 E1 E2 E3 || 2 2
+
 
|}
 
|}
 +
 +
 +
[[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 13:57, 23 February 2021

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

native on: all

Interlace two Vectors. i.e. take two vectors [a b c d] and [1 2 3 4] and produce two vectors [a 1 b 2] and [c 3 d 4]. The actual number of vector elements is dependent on the scalar domain width and the vector operand width of the specific core.

related operations: shuffle, vec, inject, extract


alternate(op v1, op v2) → op r0, op r1

operands: like Alternate XX:XX


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