Difference between revisions of "Instruction Set/callfln"
From Mill Computing Wiki
m (Protected "Instruction Set/callfln": generated ([Edit=<protect-level-bot>] (indefinite) [Move=<protect-level-bot>] (indefinite))) | |||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
</div> | </div> | ||
− | function call | + | Call predicated function with defined number of return values on false. |
+ | |||
+ | Everything that applies to [[Instruction_Set/calln|calln]] applies also here. The difference is the predicate to make it a conditional call. And there is one less possible argument in all the encodings. | ||
+ | |||
+ | <b>related operations:</b> [[Instruction_Set/calln|calln]], [[Instruction_Set/calltrn|calltrn]], [[Instruction_Set/retn|retn]] | ||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">callfln</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="call argument from calls window">q</span>, <i><span style="color:#009">[[Immediates#lit|lit]]</span> <span title="morsel-sized manifest constant">n</span></i>, <span style="color:#009">[[Domains#p|p]]</span> <span title="call argument from | <code style="font-size:130%"><b style="color:#050">callfln</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="call argument from calls window">q</span>, <i><span style="color:#009">[[Immediates#lit|lit]]</span> <span title="morsel-sized manifest constant">n</span></i>, <span style="color:#009">[[Domains#p|p]]</span> <span title="call argument from | ||
Line 18: | Line 23: | ||
{| class="mw-collapsible mw-collapsed wikitable" data-expandtext="▸" data-collapsetext="▾" | {| class="mw-collapsible mw-collapsed wikitable" data-expandtext="▸" data-collapsetext="▾" | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| [[Cores/Silver/Encoding#callfln|Silver]] || F0 F1 F2 || 1 | | [[Cores/Silver/Encoding#callfln|Silver]] || F0 F1 F2 || 1 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Line 47: | Line 42: | ||
{| class="mw-collapsible mw-collapsed wikitable" data-expandtext="▸" data-collapsetext="▾" | {| class="mw-collapsible mw-collapsed wikitable" data-expandtext="▸" data-collapsetext="▾" | ||
! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ! [[Cores|Core]] || [[Slot|In Slots]]|| [[Latency|Latencies]] | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| [[Cores/Silver/Encoding#callfln|Silver]] || F0 F1 F2 || 1 | | [[Cores/Silver/Encoding#callfln|Silver]] || 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] | [[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:03, 23 February 2021
Call predicated function with defined number of return values on false.
Everything that applies to calln applies also here. The difference is the predicate to make it a conditional call. And there is one less possible argument in all the encodings.
related operations: calln, calltrn, retn
callfln(op q, lit n, p target, args args) → ops r0 ...rn
operands: like Inv :
encoding:
callfln(op q, lit n, p target, off argc, count args)
Core | In Slots | Latencies |
---|---|---|
Silver | F0 F1 F2 | 1 |
callfln(op q, lit n, lbl target, args args) → ops r0 ...rn
operands: like Inv :
encoding:
callfln(op q, lit n, off target, count argc)
,
callfln(op q, lit n, off target, count argc, lit argv)
Core | In Slots | Latencies |
---|---|---|
Silver | F0 F1 F2 | 1 |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable