Difference between revisions of "Instruction Set/longjmpl"
From Mill Computing Wiki
| Line 4: | Line 4: | ||
</div> | </div> | ||
| − | + | target:p | |
| + | Restore a context saved with [[Instruction_Set/setjmp|setjmp]] and continue from there. | ||
| + | |||
| + | The target parameter is not a true pointer, but an opaque index into [[Spiller]] data structures. | ||
| + | |||
| + | <b>related operations:</b> [[Instruction_Set/setjmp|setjmp]] | ||
| + | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">longjmpl</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from opsWindow">op0</span>) → [[Domains#op|op]] r<sub>0</sub></code> | <code style="font-size:130%"><b style="color:#050">longjmpl</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from opsWindow">op0</span>) → [[Domains#op|op]] r<sub>0</sub></code> | ||
| Line 16: | Line 22: | ||
| [[Cores/Tin/Encoding#longjmpl|Tin]] || F0 || 1 | | [[Cores/Tin/Encoding#longjmpl|Tin]] || F0 || 1 | ||
|- | |- | ||
| − | | [[Cores/Copper/Encoding#longjmpl|Copper]] || F0 | + | | [[Cores/Copper/Encoding#longjmpl|Copper]] || F0 || 1 |
|- | |- | ||
| [[Cores/Silver/Encoding#longjmpl|Silver]] || F0 F1 F2 || 1 | | [[Cores/Silver/Encoding#longjmpl|Silver]] || F0 F1 F2 || 1 | ||
|- | |- | ||
| − | | [[Cores/Gold/Encoding#longjmpl|Gold]] || F0 | + | | [[Cores/Gold/Encoding#longjmpl|Gold]] || F0 || 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:00, 23 February 2021
target:p Restore a context saved with setjmp and continue from there.
The target parameter is not a true pointer, but an opaque index into Spiller data structures.
related operations: setjmp
operands: like Longjmp pp:p
| 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