Difference between revisions of "Instruction Set/rems"

From Mill Computing Wiki
Jump to: navigation, search
m (Protected "Instruction Set/rems": generated ([Edit=<protect-level-bot>] (indefinite) [Move=<protect-level-bot>] (indefinite)))
Line 4:Line 4:
 
</div>
 
</div>
  
divide for remainder
+
Signed integer modulo for remainder.
 +
 
 +
<b>related operations:</b> [[Instruction_Set/divs|divs]], [[Instruction_Set/divRems|divRems]], [[Instruction_Set/rdivs|rdivs]], [[Instruction_Set/roots|roots]], [[Instruction_Set/rroots|rroots]]
 +
 
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">rems</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">rems</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 10:41, 19 January 2015

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

native on: none

Signed integer modulo for remainder.

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


rems(s x, s y) → s r0

operands: like Identity [xx:x]



rems(s x, imm y) → s r0

operands: like Identity [xx:x]



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