Difference between revisions of "Instruction Set/shiftlus"

From Mill Computing Wiki
Jump to: navigation, search
m (Protected "Instruction Set/shiftlus": generated ([Edit=<protect-level-bot>] (indefinite) [Move=<protect-level-bot>] (indefinite)))
Line 5:Line 5:
 
</div>
 
</div>
  
bitwise shift
+
Unsigned bitwise left shift. Saturating.
 +
The bit count by which to shift is an unsigned number.
 +
When a one gets moved out, the result is the highest value for the width.
 +
 
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">shiftlus</b>(<span style="color:#009">[[Domains#u|u]]</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>) &#8594; [[Domains#u|u]] r<sub>0</sub></code>
 
<code style="font-size:130%"><b style="color:#050">shiftlus</b>(<span style="color:#009">[[Domains#u|u]]</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>) &#8594; [[Domains#u|u]] r<sub>0</sub></code>

Revision as of 10:35, 11 January 2015

realizing  exu stream  exu block  compute phase   operation   in the unsigned integer value domain   using saturating overflow behavior   that produces condition codes

aliases: shiftlusv
native on: all

Unsigned bitwise left shift. Saturating. The bit count by which to shift is an unsigned number. When a one gets moved out, the result is the highest value for the width.


shiftlus(u x, bit bits) → u r0

operands: like Shift [xi:x]


Core In Slots Latencies
Tin E0 b,b:b=1 b,h:b=1 b,w:b=1 b,d:b=1 b,q:b=1 bv,bv:bv=1 h,b:h=1 h,h:h=1 h,w:h=1 h,d:h=1 h,q:h=1 hv,hv:hv=1 w,b:w=1 w,h:w=1 w,w:w=1 w,d:w=1 w,q:w=1 wv,wv:wv=1 d,b:d=2 d,h:d=2 d,w:d=2 d,d:d=2 d,q:d=2 dv,dv:dv=2 q,b:q=2 q,h:q=2 q,w:q=2 q,d:q=2 q,q:q=2 qv,qv:qv=2
Copper E0 b,b:b=1 b,h:b=1 b,w:b=1 b,d:b=1 b,q:b=1 bv,bv:bv=1 h,b:h=1 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