Difference between revisions of "Instruction Set/setjmp"

From Mill Computing Wiki
Jump to: navigation, search
 
Line 4:Line 4:
 
</div>
 
</div>
  
place a restore point on the spiller stack
+
 
 +
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>() &#8594; [[Domains#op|op]] r<sub>0</sub></code>
 
<code style="font-size:130%"><b style="color:#050">setjmp</b>() &#8594; [[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 F1 || 1
+
| [[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 F1 F2 F3 || 1
+
| [[Cores/Gold/Encoding#setjmp|Gold]] || F0 || 1
|-
+
| [[Cores/Decimal8/Encoding#setjmp|Decimal8]] || F0 F1 F2 || 1
+
|-
+
| [[Cores/Decimal16/Encoding#setjmp|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]
 
[[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

speculable  flow stream  flow block  compute phase   operation  

native on: all


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