Difference between revisions of "Instruction Set/setjmp"
From Mill Computing Wiki
Line 4: | Line 4: | ||
</div> | </div> | ||
− | + | ||
+ | Save the current execution context into the spiller space and return an identifier. | ||
+ | |||
+ | The context can be restored and execution continued with the [[Instruction_Set/longjmpl|longjmpl]] operation. | ||
+ | |||
+ | <b>related operations:</b> [[Instruction_Set/longjmpl|longjmpl]] | ||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">setjmp</b>() → [[Domains#op|op]] r<sub>0</sub></code> | <code style="font-size:130%"><b style="color:#050">setjmp</b>() → [[Domains#op|op]] r<sub>0</sub></code> | ||
Line 16: | Line 22: | ||
| [[Cores/Tin/Encoding#setjmp|Tin]] || F0 || 1 | | [[Cores/Tin/Encoding#setjmp|Tin]] || F0 || 1 | ||
|- | |- | ||
− | | [[Cores/Copper/Encoding#setjmp|Copper]] || F0 | + | | [[Cores/Copper/Encoding#setjmp|Copper]] || F0 || 1 |
|- | |- | ||
| [[Cores/Silver/Encoding#setjmp|Silver]] || F0 F1 F2 || 1 | | [[Cores/Silver/Encoding#setjmp|Silver]] || F0 F1 F2 || 1 | ||
|- | |- | ||
− | | [[Cores/Gold/Encoding#setjmp|Gold]] || F0 | + | | [[Cores/Gold/Encoding#setjmp|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:13, 23 February 2021
Save the current execution context into the spiller space and return an identifier.
The context can be restored and execution continued with the longjmpl operation.
related operations: longjmpl
setjmp() → op r0
operands: like IdentityNoSIMD xx:x
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