Difference between revisions of "Instruction Set/extract"
From Mill Computing Wiki
(Created page with "{{DISPLAYTITLE:extract}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing exu stream Decode|exu bloc...") | |||
Line 4: | Line 4: | ||
</div> | </div> | ||
− | + | Extract a vector element to a scalar value operand. | |
+ | |||
+ | <b>related operations:</b> [[Instruction_Set/alternate|alternate]], [[Instruction_Set/shuffle|shuffle]], [[Instruction_Set/vec|vec]], [[Instruction_Set/inject|inject]] | ||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">extract</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">v</span>, <span style="color:#009">[[Domains#i|i]]</span> <span title="belt operand from ops window">i</span>) → [[Domains#op|op]] r<sub>0</sub></code> | <code style="font-size:130%"><b style="color:#050">extract</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">v</span>, <span style="color:#009">[[Domains#i|i]]</span> <span title="belt operand from ops window">i</span>) → [[Domains#op|op]] r<sub>0</sub></code> | ||
Line 14: | Line 17: | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
|- | |- | ||
− | | [[Cores/Tin/Encoding# | + | | [[Cores/Tin/Encoding#extract|Tin]] || E0 || 1 |
|- | |- | ||
− | | [[Cores/Copper/Encoding# | + | | [[Cores/Copper/Encoding#extract|Copper]] || E0 E1 || 1 |
|- | |- | ||
− | | [[Cores/Silver/Encoding# | + | | [[Cores/Silver/Encoding#extract|Silver]] || E0 E1 E2 E3 || 1 |
|- | |- | ||
− | | [[Cores/Gold/Encoding# | + | | [[Cores/Gold/Encoding#extract|Gold]] || E0 E1 E2 E3 E4 E5 E6 E7 || 1 |
|- | |- | ||
− | | [[Cores/Decimal8/Encoding# | + | | [[Cores/Decimal8/Encoding#extract|Decimal8]] || E0 E1 E2 E3 || 1 |
|- | |- | ||
− | | [[Cores/Decimal16/Encoding# | + | | [[Cores/Decimal16/Encoding#extract|Decimal16]] || E0 E1 E2 E3 || 1 |
|} | |} | ||
Line 36: | Line 39: | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
|- | |- | ||
− | | [[Cores/Tin/Encoding# | + | | [[Cores/Tin/Encoding#extract|Tin]] || E0 || 1 |
|- | |- | ||
− | | [[Cores/Copper/Encoding# | + | | [[Cores/Copper/Encoding#extract|Copper]] || E0 E1 || 1 |
|- | |- | ||
− | | [[Cores/Silver/Encoding# | + | | [[Cores/Silver/Encoding#extract|Silver]] || E0 E1 E2 E3 || 1 |
|- | |- | ||
− | | [[Cores/Gold/Encoding# | + | | [[Cores/Gold/Encoding#extract|Gold]] || E0 E1 E2 E3 E4 E5 E6 E7 || 1 |
|- | |- | ||
− | | [[Cores/Decimal8/Encoding# | + | | [[Cores/Decimal8/Encoding#extract|Decimal8]] || E0 E1 E2 E3 || 1 |
|- | |- | ||
− | | [[Cores/Decimal16/Encoding# | + | | [[Cores/Decimal16/Encoding#extract|Decimal16]] || E0 E1 E2 E3 || 1 |
|} | |} | ||
+ | |||
+ | |||
+ | [[Instruction_Set|Instruction Set, alphabetical]], [[Instruction Set by Category]], [http://millcomputing.com/instructions.html?collapse=7#ops Instruction Set, sortable, filterable] |
Revision as of 02:38, 16 December 2014
Extract a vector element to a scalar value operand.
related operations: alternate, shuffle, vec, inject
operands: like Extractx Xx:x
Core | In Slots | Latencies |
---|---|---|
Tin | E0 | 1 |
Copper | E0 E1 | 1 |
Silver | E0 E1 E2 E3 | 1 |
Gold | E0 E1 E2 E3 E4 E5 E6 E7 | 1 |
Decimal8 | E0 E1 E2 E3 | 1 |
Decimal16 | E0 E1 E2 E3 | 1 |
operands: like Extract XX:x
Core | In Slots | Latencies |
---|---|---|
Tin | E0 | 1 |
Copper | E0 E1 | 1 |
Silver | E0 E1 E2 E3 | 1 |
Gold | E0 E1 E2 E3 E4 E5 E6 E7 | 1 |
Decimal8 | E0 E1 E2 E3 | 1 |
Decimal16 | E0 E1 E2 E3 | 1 |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable