Difference between revisions of "Instruction Set/divRemu"

From Mill Computing Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:divRemu}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing  exu stream Decode|exu bloc...")
 
Line 4:Line 4:
 
</div>
 
</div>
  
divide for quotient and remainder
+
Unsigned integer division for quotient and remainder.
 +
 
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">divRemu</b>(<span style="color:#009">[[Domains#u|u]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#u|u]]</span> <span title="belt operand from ops window">y</span>) &#8594; [[Domains#u|u]] r<sub>0</sub>, [[Domains#u|u]] r<sub>1</sub></code>
 
<code style="font-size:130%"><b style="color:#050">divRemu</b>(<span style="color:#009">[[Domains#u|u]]</span> <span title="belt operand from ops window">x</span>, <span style="color:#009">[[Domains#u|u]]</span> <span title="belt operand from ops window">y</span>) &#8594; [[Domains#u|u]] r<sub>0</sub>, [[Domains#u|u]] r<sub>1</sub></code>

Revision as of 18:48, 26 November 2014

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

native on: none

Unsigned integer division for quotient and remainder.


divRemu(u x, u y) → u r0, u r1

operands: like DivRem [xx:xx]



divRemu(u x, imm y) → u r0, u r1

operands: like DivRem [xx:xx]