Difference between revisions of "Instruction Set/divs"

From Mill Computing Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:divs}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing  exu stream  exu block...")
 
Line 4:Line 4:
 
</div>
 
</div>
  
divide for quotient
+
Signed integer division for quotient.
 +
 
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">divs</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>) &#8594; [[Domains#s|s]] r<sub>0</sub></code>
 
<code style="font-size:130%"><b style="color:#050">divs</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>) &#8594; [[Domains#s|s]] r<sub>0</sub></code>

Revision as of 18:48, 26 November 2014

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

native on: none

Signed integer division for quotient.


divs(s x, s y) → s r0

operands: like Identity [xx:x]



divs(s x, imm y) → s r0

operands: like Identity [xx:x]