Difference between revisions of "Instruction Set/subsw"
From Mill Computing Wiki
Line 9: | Line 9: | ||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">subsw</b>(<span style="color:#009">[[Domains#s|s]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#s|s]]</span> <span title="belt operand from ops window">y</span>) → [[Domains#s|s]] r<sub>0</sub></code> | <code style="font-size:130%"><b style="color:#050">subsw</b>(<span style="color:#009">[[Domains#s|s]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#s|s]]</span> <span title="belt operand from ops window">y</span>) → [[Domains#s|s]] r<sub>0</sub></code> | ||
− | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands# | + | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeWidening|like Widening xx:2x]] |
</div> | </div> | ||
<br /> | <br /> | ||
Line 16: | Line 16: | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
|- | |- | ||
− | | [[Cores/Tin/Encoding#subsw|Tin]] || E0 || | + | | [[Cores/Tin/Encoding#subsw|Tin]] || E0 || |
|- | |- | ||
− | | [[Cores/Copper/Encoding#subsw|Copper]] || E0 | + | | [[Cores/Copper/Encoding#subsw|Copper]] || E0 || |
|- | |- | ||
− | | [[Cores/Silver/Encoding#subsw|Silver]] || E0 E1 E2 E3 || | + | | [[Cores/Silver/Encoding#subsw|Silver]] || E0 E1 E2 E3 || |
|- | |- | ||
− | | [[Cores/Gold/Encoding#subsw|Gold]] || E0 | + | | [[Cores/Gold/Encoding#subsw|Gold]] || E0 || |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|} | |} | ||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">subsw</b>(<span style="color:#009">[[Domains#s|s]]</span> <span title="belt operand from ops window">x</span>, <i><span style="color:#009">[[Immediates#imm|imm]]</span> <span title="small immediate constant of per-slot varying range">y</span></i>) → [[Domains#s|s]] r<sub>0</sub></code> | <code style="font-size:130%"><b style="color:#050">subsw</b>(<span style="color:#009">[[Domains#s|s]]</span> <span title="belt operand from ops window">x</span>, <i><span style="color:#009">[[Immediates#imm|imm]]</span> <span title="small immediate constant of per-slot varying range">y</span></i>) → [[Domains#s|s]] r<sub>0</sub></code> | ||
− | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands# | + | <div style="font-size:80%;line-height:90%;margin-bottom:2em">'''operands:''' [[Operands#likeWidening|like Widening xx:2x]] |
</div> | </div> | ||
<br /> | <br /> | ||
Line 38: | Line 34: | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
|- | |- | ||
− | | [[Cores/Tin/Encoding#subsw|Tin]] || E0 || | + | | [[Cores/Tin/Encoding#subsw|Tin]] || E0 || |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Copper/Encoding#subsw|Copper]] || E0 || |
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Silver/Encoding#subsw|Silver]] || E0 E1 E2 E3 || |
|- | |- | ||
− | | [[Cores/ | + | | [[Cores/Gold/Encoding#subsw|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:05, 23 February 2021
speculable exu stream exu block compute phase operation in the signed integer value domain using widening overflow behavior that produces condition codes
native on: all
Widening signed integer subtraction. When a result value overflows, it is widened.
operands: like Widening xx:2x
Core | In Slots | Latencies |
---|---|---|
Tin | E0 | |
Copper | E0 | |
Silver | E0 E1 E2 E3 | |
Gold | E0 |
operands: like Widening xx:2x
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