Difference between revisions of "Instruction Set/retnfl"

From Mill Computing Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:retnfl}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing  flow stream Decode|flow blo...")
 
 
(3 intermediate revisions by the same user not shown)
Line 4:Line 4:
 
</div>
 
</div>
  
return from function
+
Conditionally returns values and control to the caller on false.
 +
 
 +
Returns count as branches, which means with coniditional returns the [[First Winner Rule]] applies.
 +
 
 +
<b>related operations:</b> [[Instruction_Set/retn]]
 +
 
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">retnfl</b>(<span style="color:#009">[[Domains#pred|pred]]</span> <span title="late-evaluated 1-bit predicate from belt">q</span>, <span style="color:#009">[[Domains#ops|ops]]</span> <span title="one or more return arguments">vs</span>) &#8594; [[Domains|ops]] r<sub>0</sub> ...</code>
 
<code style="font-size:130%"><b style="color:#050">retnfl</b>(<span style="color:#009">[[Domains#pred|pred]]</span> <span title="late-evaluated 1-bit predicate from belt">q</span>, <span style="color:#009">[[Domains#ops|ops]]</span> <span title="one or more return arguments">vs</span>) &#8594; [[Domains|ops]] r<sub>0</sub> ...</code>
Line 25:Line 30:
 
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]]
 
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]]
 
|-
 
|-
| [[Cores/Tin/Encoding#1069|Tin]] || F0 || 1
+
| [[Cores/Tin/Encoding#retnfl|Tin]] || F0 || 1
 
|-
 
|-
| [[Cores/Copper/Encoding#1069|Copper]] || F0 F1 || 1
+
| [[Cores/Copper/Encoding#retnfl|Copper]] || F0 || 1
 
|-
 
|-
| [[Cores/Silver/Encoding#1069|Silver]] || F0 F1 F2 || 1
+
| [[Cores/Silver/Encoding#retnfl|Silver]] || F0 F1 F2 || 1
 
|-
 
|-
| [[Cores/Gold/Encoding#1069|Gold]] || F0 F1 F2 F3 || 1
+
| [[Cores/Gold/Encoding#retnfl|Gold]] || F0 || 1
|-
+
| [[Cores/Decimal8/Encoding#1069|Decimal8]] || F0 F1 F2 || 1
+
|-
+
| [[Cores/Decimal16/Encoding#1069|Decimal16]] || F0 F1 F2 || 1
+
 
|}
 
|}
 +
 +
 +
[[Instruction_Set|Instruction Set, alphabetical]], [[Instruction Set by Category]], [http://millcomputing.com/instructions.html?collapse=7#ops Instruction Set, sortable, filterable]

Latest revision as of 14:13, 23 February 2021

realizing  flow stream  flow block  transfer phase   operation  

native on: all

Conditionally returns values and control to the caller on false.

Returns count as branches, which means with coniditional returns the First Winner Rule applies.

related operations: Instruction_Set/retn


retnfl(pred q, ops vs) → ops r0 ...

operands: like Inv :


encoding: retnfl(pred q, off vs, count c) , retnfl(pred q, off vs, count c, lit vs) , retnfl(pred q, off vs, count c, lit vs, lit vs)

Core In Slots Latencies
Tin F0 1
Copper F0 1
Silver F0 F1 F2 1
Gold F0 1


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