Difference between revisions of "Instruction Set/shiftl"
From Mill Computing Wiki
(Created page with "{{DISPLAYTITLE:shiftl}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing exu stream Decode|exu block...") | |||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:shiftl}} | {{DISPLAYTITLE:shiftl}} | ||
− | <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]] [[Condition Code|that produces condition codes]]<br /> |
− | '''aliases:''' shiftls shiftlu | + | '''aliases:''' shiftls shiftlu shiftls2 shiftlu2 <br /> |
'''native on:''' [[Cores|all]]<br /> | '''native on:''' [[Cores|all]]<br /> | ||
</div> | </div> | ||
− | + | Bitwise left shift. | |
+ | The bit count by which to shift is an unsigned number. No overflows happen. Any bits moved beyond the width of the first argument just quietly disappear. | ||
+ | |||
+ | |||
+ | <b>related operations:</b> [[Instruction_Set/shiftr|shiftrs]], [[Instruction_Set/shiftr|shiftru]] | ||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">shiftl</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</span>, <i><span style="color:#009">[[Immediates#bit|bit]]</span> <span title="bit number">bits</span></i>) → [[Domains#op|op]] r<sub>0</sub></code> | <code style="font-size:130%"><b style="color:#050">shiftl</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</span>, <i><span style="color:#009">[[Immediates#bit|bit]]</span> <span title="bit number">bits</span></i>) → [[Domains#op|op]] r<sub>0</sub></code> | ||
Line 15: | Line 20: | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
|- | |- | ||
− | | [[Cores/Tin/Encoding# | + | | [[Cores/Tin/Encoding#shiftl|Tin]] || E0 || |
|- | |- | ||
− | | [[Cores/Copper/Encoding# | + | | [[Cores/Copper/Encoding#shiftl|Copper]] || E0 || |
|- | |- | ||
− | | [[Cores/Silver/Encoding# | + | | [[Cores/Silver/Encoding#shiftl|Silver]] || E0 E1 || |
|- | |- | ||
− | | [[Cores/Gold/Encoding# | + | | [[Cores/Gold/Encoding#shiftl|Gold]] || E0 || |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|} | |} | ||
Line 37: | Line 38: | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
|- | |- | ||
− | | [[Cores/Tin/Encoding# | + | | [[Cores/Tin/Encoding#shiftl|Tin]] || E0 || |
|- | |- | ||
− | | [[Cores/Copper/Encoding# | + | | [[Cores/Copper/Encoding#shiftl|Copper]] || E0 || |
|- | |- | ||
− | | [[Cores/Silver/Encoding# | + | | [[Cores/Silver/Encoding#shiftl|Silver]] || E0 E1 || |
|- | |- | ||
− | | [[Cores/Gold/Encoding# | + | | [[Cores/Gold/Encoding#shiftl|Gold]] || E0 || |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|} | |} | ||
+ | |||
+ | |||
+ | [[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 logical value domain that produces condition codes
aliases: shiftls shiftlu shiftls2 shiftlu2
native on: all
Bitwise left shift. The bit count by which to shift is an unsigned number. No overflows happen. Any bits moved beyond the width of the first argument just quietly disappear.
related operations: shiftrs, shiftru
shiftl(op x, bit bits) → op r0
operands: like Shift [xi:x]
Core | In Slots | Latencies |
---|---|---|
Tin | E0 | |
Copper | E0 | |
Silver | E0 E1 | |
Gold | E0 |
operands: like Shift [xi:x]
Core | In Slots | Latencies |
---|---|---|
Tin | E0 | |
Copper | E0 | |
Silver | E0 E1 | |
Gold | E0 |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable