6#ifndef IMPULSE_CONTRACTS_CHUNK2_HPP
7#define IMPULSE_CONTRACTS_CHUNK2_HPP
18 OP_SET_UNION,
"OP_SET_UNION",
"Set Union (BitSet / Node IDs / Node Vectors / Lane Frontier)",
19 0x00, 0x00, 0x00, 0x00000000u,
30 OP_SET_INTERSECT,
"OP_SET_INTERSECT",
"Set Intersect (BitSet / Node IDs / Node Vectors / Lane Frontier)",
31 0x00, 0x00, 0x00, 0x00000000u,
42 OP_SET_DIFFERENCE,
"OP_SET_DIFFERENCE",
"Set Difference (BitSet / Node IDs / Node Vectors / Lane Frontier)",
43 0x00, 0x00, 0x00, 0x00000000u,
55 0x00, 0x00, 0x00, 0x00000000u,
67 OP_VECTOR_MUL_ATTR,
"OP_VECTOR_MUL_ATTR",
"Scale vector by scalar float immediate (flags=0)",
68 0x01, 0x00, 0x01, 0x3F800000u,
72 false,
false, 0,
true,
true
75 OP_VECTOR_MUL_ATTR,
"OP_VECTOR_MUL_ATTR",
"Multiply vector by attribute slot (flags=1)",
76 0x01, 0x01, 0x01, 0x00000000u,
81 false,
false, 0,
true,
true
87 0x00, 0x00, 0x00, 0x00000000u,
97 OP_VECTOR_DIV,
"OP_VECTOR_DIV",
"Element-wise vector division",
98 0x00, 0x00, 0x00, 0x00000000u,
104 false,
false, 0,
true,
true
110 0x00, 0x00, 0x00, 0x00000000u,
116 false,
false, 0,
true,
true
121 OP_FLOAT_VECTOR_SCALE,
"OP_FLOAT_VECTOR_SCALE",
"In-place float vector scale by immediate (flags=0)",
122 0x01, 0x00, 0x01, 0x3F800000u,
126 false,
false, 0,
true,
false
130 0x01, 0x01, 0x01, 0x00000000u,
135 false,
false, 0,
true,
false
140 OP_L1_NORM_DIFF,
"OP_L1_NORM_DIFF",
"L1 norm difference between vectors or scalars",
141 0x00, 0x00, 0x00, 0x00000000u,
153 0x00, 0x00, 0x00, 0x00000000u,
158 false,
false, 0,
false,
true
163 OP_COALESCE,
"OP_COALESCE",
"Coalesce two values or vectors",
164 0x00, 0x00, 0x00, 0x00000000u,
170 false,
false, 0,
true,
true
176 0x00, 0x00, 0x00, 0x00000000u,
187 0x00, 0x00, 0x00, 0x00000000u,
199 OP_CC_AFFOREST,
"OP_CC_AFFOREST",
"Connected Components Afforest Algorithm",
200 0x00, 0x00, 0x00, 0x00000000u,
204 false,
false, 0,
true,
true
209 OP_MXV,
"OP_MXV",
"Matrix-Vector Multiply (unmasked, rel=0, plus-times)",
210 0xFF, 0x00, 0xFF, 0x00000000u,
215 false,
false, 0,
true,
true
220 OP_VXM,
"OP_VXM",
"Vector-Matrix Multiply (unmasked, rel=0, plus-times)",
221 0xFF, 0x00, 0xFF, 0x00000000u,
226 false,
false, 0,
true,
true
231 OP_EWISE_ADD,
"OP_EWISE_ADD",
"Element-wise vector addition",
232 0x00, 0x00, 0x00, 0x00000000u,
238 false,
false, 0,
true,
true
243 OP_EWISE_MULT,
"OP_EWISE_MULT",
"Element-wise vector multiplication",
244 0x00, 0x00, 0x00, (
static_cast<uint32_t
>(
BINARY_OP_MUL) << 16),
250 false,
false, 0,
true,
true
255 OP_REDUCE,
"OP_REDUCE",
"Vector Scalar Reduction (SUM)",
256 0x00, 0x00, 0x00, 0x00000000u,
261 false,
false, 0,
true,
true
264 OP_REDUCE,
"OP_REDUCE",
"Vector Argmin Reduction (ARGMIN)",
276 0x00, 0x00, 0x00, 0x00000000u,
280 false,
false, 0,
false,
false
286 0x00, 0x00, 0x00, 0x00000000u,
290 false,
false, 0,
false,
false
296 0x00, 0x00, 0x00, 0x00000000u,
300 false,
false, 0,
false,
false
306 0x00, 0x00, 0x00, 0x00000000u,
310 false,
false, 0,
false,
false
316 0x00, 0x00, 0x00, 0x00000000u,
320 false,
false, 0,
false,
false
326 0x80, 0x00, 0x80, 0x00000000u,
332 false,
false, 0,
true,
true
339 OP_JMP,
"OP_JMP",
"Unconditional Jump",
340 0x00, 0x00, 0x00, 0x00000001u,
344 false,
false, 0,
false,
false
349 OP_JZ,
"OP_JZ",
"Jump if Zero Flag Set",
350 0x00, 0x00, 0x00, 0x00000001u,
354 false,
false, 0,
false,
false
359 OP_JNZ,
"OP_JNZ",
"Jump if Zero Flag Clear",
360 0x00, 0x00, 0x00, 0x00000001u,
364 false,
false, 0,
false,
false
369 OP_LOOP_DECR,
"OP_LOOP_DECR",
"Loop Counter Decrement and Branch",
370 0x00, 0x00, 0x00, 0x00000001u,
379 OP_STABLE_CHECK,
"OP_STABLE_CHECK",
"Fixed-point stability subset check",
380 0x00, 0x00, 0x00, 0x00000000u,
390 OP_CALL,
"OP_CALL",
"Function Call",
391 0x00, 0x00, 0x00, 0x00000001u,
395 false,
false, 0,
false,
false
400 OP_RET,
"OP_RET",
"Function Return",
401 0x00, 0x00, 0x00, 0x00000000u,
405 false,
false, 0,
false,
false
411 0x00, 0x00, 0x00, 0x00000000u,
415 false,
false, 0,
false,
false
421 0x00, 0x00, 0x00, 0x00000000u,
425 false,
false, 0,
false,
false
430 OP_THROW,
"OP_THROW",
"User Exception Throw",
431 0x00, 0x00, 0x00, 0x00000000u,
435 false,
false, 0,
false,
false
440 OP_ASSERT,
"OP_ASSERT",
"Register Value Assertion",
441 0x01, 0x00, 0x01, 2u,
446 false,
false, 0,
false,
false
451 OP_TRAP,
"OP_TRAP",
"Debugger Trap",
452 0x00, 0x00, 0x00, 0x00000000u,
456 false,
false, 0,
false,
false
#define IMP_TYPE_BIT(t)
Definition impulse_opcode_contracts.hpp:28
#define OP_STABLE_CHECK
Definition impulse_vm.h:138
#define OP_RET
Definition impulse_vm.h:140
#define OP_SET_UNION
Definition impulse_vm.h:98
#define OP_BRANDES_BACKWARD
Definition impulse_vm.h:125
#define BINARY_OP_ARGMIN
Definition impulse_vm.h:279
#define OP_EWISE_ADD
Definition impulse_vm.h:119
#define OP_CALL
Definition impulse_vm.h:139
#define OP_EXTRACT_VALIDITY
Definition impulse_vm.h:111
#define OP_VECTOR_MUL_ATTR
Definition impulse_vm.h:102
#define OP_BRANDES_FORWARD
Definition impulse_vm.h:124
#define OP_VECTOR_STR_CONCAT
Definition impulse_vm.h:105
#define OP_MXV
Definition impulse_vm.h:117
#define OP_JZ
Definition impulse_vm.h:135
#define OP_VECTOR_DIV
Definition impulse_vm.h:104
#define OP_REDUCE
Definition impulse_vm.h:121
#define OP_JNZ
Definition impulse_vm.h:136
#define BINARY_OP_MUL
Definition impulse_vm.h:274
#define IMPULSE_VM_FLAG_ST
Definition impulse_vm.h:35
#define OP_CC_HOOK_COMPRESS
Definition impulse_vm.h:122
#define OP_DELTA_STEP_RELAX
Definition impulse_vm.h:126
#define OP_READ_EDGE_WEIGHT
Definition impulse_vm.h:127
@ TYPE_DOUBLE
Definition impulse_vm.h:293
@ TYPE_BITSET_HANDLE
Definition impulse_vm.h:288
@ TYPE_FRONTIER_STATE
Definition impulse_vm.h:299
@ TYPE_INT64
Definition impulse_vm.h:285
@ TYPE_NODE_VECTOR
Definition impulse_vm.h:289
@ TYPE_NULL
Definition impulse_vm.h:284
@ TYPE_FLOAT
Definition impulse_vm.h:292
@ TYPE_BOOLEAN
Definition impulse_vm.h:291
@ TYPE_NODE_ID
Definition impulse_vm.h:286
@ TYPE_LANE_FRONTIER
Definition impulse_vm.h:300
@ TYPE_UINT64_VECTOR
Definition impulse_vm.h:298
@ TYPE_STRING_VECTOR
Definition impulse_vm.h:295
@ TYPE_FLOAT_VECTOR
Definition impulse_vm.h:296
#define OP_EWISE_MULT
Definition impulse_vm.h:120
#define OP_JMP
Definition impulse_vm.h:134
#define OP_L1_NORM_DIFF
Definition impulse_vm.h:107
#define OP_TRAP
Definition impulse_vm.h:148
#define IMPULSE_VM_FLAG_ZF
Definition impulse_vm.h:31
#define OP_ASSERT
Definition impulse_vm.h:147
#define OP_THROW
Definition impulse_vm.h:146
#define OP_SET_INTERSECT
Definition impulse_vm.h:99
#define OP_LEAVE_FRAME
Definition impulse_vm.h:143
#define OP_VXM
Definition impulse_vm.h:118
#define OP_ENTER_FRAME
Definition impulse_vm.h:142
#define OP_PROJECT_STATE
Definition impulse_vm.h:109
#define OP_SET_DIFFERENCE
Definition impulse_vm.h:100
#define OP_VECTOR_TIME_VALID_AT
Definition impulse_vm.h:112
#define OP_VECTOR_REDUCE_SUM
Definition impulse_vm.h:103
#define OP_SET_CARDINALITY
Definition impulse_vm.h:101
#define OP_TC_SWEEP_BATCH
Definition impulse_vm.h:123
#define OP_LOOP_DECR
Definition impulse_vm.h:137
#define OP_COALESCE
Definition impulse_vm.h:110
#define OP_CC_AFFOREST
Definition impulse_vm.h:116
#define OP_FLOAT_VECTOR_SCALE
Definition impulse_vm.h:106
Definition contracts_chunk1.hpp:12
constexpr uint32_t IMP_TYPES_NODE_VEC
Definition impulse_opcode_contracts.hpp:33
constexpr uint32_t IMP_TYPES_NUMERIC_VEC
Definition impulse_opcode_contracts.hpp:35
@ DST_REG
Definition impulse_opcode_contracts.hpp:55
@ PAYLOAD_BYTE1
Definition impulse_opcode_contracts.hpp:58
@ PAYLOAD_LOW8
Definition impulse_opcode_contracts.hpp:56
@ PAYLOAD_HIGH16
Definition impulse_opcode_contracts.hpp:61
@ PAYLOAD_LOW16
Definition impulse_opcode_contracts.hpp:57
@ NONE
Definition impulse_opcode_contracts.hpp:54
constexpr uint32_t IMP_TYPES_FLOAT_OR_DBL
Definition impulse_opcode_contracts.hpp:34
constexpr uint32_t IMP_TYPES_NONE
Definition impulse_opcode_contracts.hpp:30
void append_chunk2_contracts(std::vector< ImpulseOpcodeVariantContract > &list)
Definition contracts_chunk2.hpp:13
constexpr uint32_t IMP_TYPES_ANY
Definition impulse_opcode_contracts.hpp:31
constexpr uint32_t IMP_TYPES_INT_OR_NODE
Definition impulse_opcode_contracts.hpp:32
constexpr uint32_t IMP_TYPES_SOURCE_SET
Definition impulse_opcode_contracts.hpp:37