Difference between revisions of "Instruction Set/con"
From Mill Computing Wiki
| Line 4: | Line 4: | ||
</div> | </div> | ||
| − | + | immediate constant | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#constant|constant]]</span> <span title="manifest constant">v</span></i>) → [[Domains#op|op]] r<sub>0</sub></code> | <code style="font-size:130%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#constant|constant]]</span> <span title="manifest constant">v</span></i>) → [[Domains#op|op]] r<sub>0</sub></code> | ||
| Line 16: | Line 12: | ||
'''encoding:''' | '''encoding:''' | ||
| − | <code style="font-size:100%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#off|off]]</span> <span title="manifest constant">v</span></i>, <i><span style="color:#009">[[Immediates#width|width]]</span> <span title="data width and | + | <code style="font-size:100%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#off|off]]</span> <span title="manifest constant">v</span></i>, <i><span style="color:#009">[[Immediates#width|width]]</span> <span title="data width and vector length (flow)">w</span></i>)</code> |
, | , | ||
| − | <code style="font-size:100%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#off|off]]</span> <span title="manifest constant">v</span></i>, <i><span style="color:#009">[[Immediates#width|width]]</span> <span title="data width and | + | <code style="font-size:100%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#off|off]]</span> <span title="manifest constant">v</span></i>, <i><span style="color:#009">[[Immediates#width|width]]</span> <span title="data width and vector length (flow)">w</span></i>, <i><span style="color:#009">[[Immediates#lit|lit]]</span> <span title="morsel-sized manifest |
constant">v</span></i>)</code> | constant">v</span></i>)</code> | ||
, | , | ||
| − | <code style="font-size:100%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#off|off]]</span> <span title="manifest constant">v</span></i>, <i><span style="color:#009">[[Immediates#width|width]]</span> <span title="data width and | + | <code style="font-size:100%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#off|off]]</span> <span title="manifest constant">v</span></i>, <i><span style="color:#009">[[Immediates#width|width]]</span> <span title="data width and vector length (flow)">w</span></i>, <i><span style="color:#009">[[Immediates#lit|lit]]</span> <span title="morsel-sized manifest |
| + | constant">v</span></i>, <i><span style="color:#009">[[Immediates#lit|lit]]</span> <span title="morsel-sized manifest constant">v</span></i>)</code> | ||
, | , | ||
| − | <code style="font-size:100%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#off|off]]</span> <span title="manifest constant">v</span></i>, <i><span style="color:#009">[[Immediates#width|width]]</span> <span title="data width and | + | <code style="font-size:100%"><b style="color:#050">con</b>(<i><span style="color:#009">[[Immediates#off|off]]</span> <span title="manifest constant">v</span></i>, <i><span style="color:#009">[[Immediates#width|width]]</span> <span title="data width and vector length (flow)">w</span></i>, <i><span style="color:#009">[[Immediates#lit|lit]]</span> <span title="morsel-sized manifest |
| + | constant">v</span></i>, <i><span style="color:#009">[[Immediates#lit|lit]]</span> <span title="morsel-sized manifest constant">v</span></i>, <i><span style="color:#009">[[Immediates#lit|lit]]</span> <span title="morsel-sized manifest constant">v</span></i>)</code> | ||
<br /> | <br /> | ||
| Line 29: | Line 27: | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
|- | |- | ||
| − | | [[Cores/Tin/Encoding#con|Tin]] || F0 | + | | [[Cores/Tin/Encoding#con|Tin]] || F0 || |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|- | |- | ||
| − | | [[Cores/ | + | | [[Cores/Copper/Encoding#con|Copper]] || F0 || |
|- | |- | ||
| − | | [[Cores/ | + | | [[Cores/Silver/Encoding#con|Silver]] || F0 F1 F2 || |
|- | |- | ||
| − | | [[Cores/ | + | | [[Cores/Gold/Encoding#con|Gold]] || F0 || |
|} | |} | ||
[[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:01, 23 February 2021
immediate constant
operands: like IdentityNoSIMD xx:x
encoding:
con(off v, width w)
,
con(off v, width w, lit v)
,
con(off v, width w, lit v, lit v)
,
con(off v, width w, lit v, lit v, lit v)
| Core | In Slots | Latencies |
|---|---|---|
| Tin | F0 | |
| Copper | F0 | |
| Silver | F0 F1 F2 | |
| Gold | F0 |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable