Difference between revisions of "Instruction Set/divRems"

From Mill Computing Wiki
Jump to: navigation, search
Line 1:Line 1:
 
{{DISPLAYTITLE:divRems}}
 
{{DISPLAYTITLE:divRems}}
 
<div style="font-size:80%;line-height:90%;margin-bottom:2em">[[Speculation|speculable]]&nbsp;&nbsp;[[Encoding|exu stream]]&nbsp;&nbsp;[[Decode|exu block]]&nbsp;&nbsp;[[Phasing|compute phase]]&nbsp;&nbsp; operation&nbsp;&nbsp; [[Domains|in the signed integer value domain]]&nbsp;&nbsp; [[Condition Code|that produces condition codes]]<br />
 
<div style="font-size:80%;line-height:90%;margin-bottom:2em">[[Speculation|speculable]]&nbsp;&nbsp;[[Encoding|exu stream]]&nbsp;&nbsp;[[Decode|exu block]]&nbsp;&nbsp;[[Phasing|compute phase]]&nbsp;&nbsp; operation&nbsp;&nbsp; [[Domains|in the signed integer value domain]]&nbsp;&nbsp; [[Condition Code|that produces condition codes]]<br />
'''native on:''' [[Assembly|none]]<br />
+
'''native on:''' [[Cores/Silver|Silver]] <br />
 
</div>
 
</div>
  
Line 13:Line 13:
 
</div>
 
</div>
 
<br />
 
<br />
 +
 +
{| class="mw-collapsible mw-collapsed wikitable" data-expandtext="&#9656;" data-collapsetext="&#9662;"
 +
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]]
 +
|-
 +
| [[Cores/Silver/Encoding#divRems|Silver]] || E0 || b,b:b,b=6,6 bv,bv:bv,bv=6,6 h,h:h,h=6,6 hv,hv:hv,hv=6,6 w,w:w,w=6,6 wv,wv:wv,wv=6,6 d,d:d,d=8,8 dv,dv:dv,dv=8,8 q,q:q,q=8,8 qv,qv:qv,qv=8,8
 +
|}
  
 
----
 
----
Line 19:Line 25:
 
</div>
 
</div>
 
<br />
 
<br />
 +
 +
{| class="mw-collapsible mw-collapsed wikitable" data-expandtext="&#9656;" data-collapsetext="&#9662;"
 +
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]]
 +
|-
 +
| [[Cores/Silver/Encoding#divRems|Silver]] || E0 || b,b:b,b=6,6 bv,bv:bv,bv=6,6 h,h:h,h=6,6 hv,hv:hv,hv=6,6 w,w:w,w=6,6 wv,wv:wv,wv=6,6 d,d:d,d=8,8 dv,dv:dv,dv=8,8 q,q:q,q=8,8 qv,qv:qv,qv=8,8
 +
|}
  
  
 
[[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]

Revision as of 00:25, 23 March 2015

speculable  exu stream  exu block  compute phase   operation   in the signed integer value domain   that produces condition codes

native on: Silver

Signed integer division for quotient and remainder.

related operations: divs, rems, rdivs, roots, rroots


divRems(s x, s y) → s r0, s r1

operands: like DivRem [xx:xx]


Core In Slots Latencies
Silver E0 b,b:b,b=6,6 bv,bv:bv,bv=6,6 h,h:h,h=6,6 hv,hv:hv,hv=6,6 w,w:w,w=6,6 wv,wv:wv,wv=6,6 d,d:d,d=8,8 dv,dv:dv,dv=8,8 q,q:q,q=8,8 qv,qv:qv,qv=8,8

divRems(s x, imm y) → s r0, s r1

operands: like DivRem [xx:xx]


Core In Slots Latencies
Silver E0 b,b:b,b=6,6 bv,bv:bv,bv=6,6 h,h:h,h=6,6 hv,hv:hv,hv=6,6 w,w:w,w=6,6 wv,wv:wv,wv=6,6 d,d:d,d=8,8 dv,dv:dv,dv=8,8 q,q:q,q=8,8 qv,qv:qv,qv=8,8


Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable