|
|
@ -454,66 +454,67 @@ extern "C" { |
|
|
|
#define JIT_OP_SET_PARAM_FLOAT64 0x0175 |
|
|
|
#define JIT_OP_SET_PARAM_NFLOAT 0x0176 |
|
|
|
#define JIT_OP_SET_PARAM_STRUCT 0x0177 |
|
|
|
#define JIT_OP_PUSH_RETURN_AREA_PTR 0x0178 |
|
|
|
|
|
|
|
/*
|
|
|
|
* Pointer-relative loads and stores. |
|
|
|
*/ |
|
|
|
#define JIT_OP_LOAD_RELATIVE_SBYTE 0x0178 |
|
|
|
#define JIT_OP_LOAD_RELATIVE_UBYTE 0x0179 |
|
|
|
#define JIT_OP_LOAD_RELATIVE_SHORT 0x017A |
|
|
|
#define JIT_OP_LOAD_RELATIVE_USHORT 0x017B |
|
|
|
#define JIT_OP_LOAD_RELATIVE_INT 0x017C |
|
|
|
#define JIT_OP_LOAD_RELATIVE_LONG 0x017D |
|
|
|
#define JIT_OP_LOAD_RELATIVE_FLOAT32 0x017E |
|
|
|
#define JIT_OP_LOAD_RELATIVE_FLOAT64 0x017F |
|
|
|
#define JIT_OP_LOAD_RELATIVE_NFLOAT 0x0180 |
|
|
|
#define JIT_OP_LOAD_RELATIVE_STRUCT 0x0181 |
|
|
|
#define JIT_OP_STORE_RELATIVE_BYTE 0x0182 |
|
|
|
#define JIT_OP_STORE_RELATIVE_SHORT 0x0183 |
|
|
|
#define JIT_OP_STORE_RELATIVE_INT 0x0184 |
|
|
|
#define JIT_OP_STORE_RELATIVE_LONG 0x0185 |
|
|
|
#define JIT_OP_STORE_RELATIVE_FLOAT32 0x0186 |
|
|
|
#define JIT_OP_STORE_RELATIVE_FLOAT64 0x0187 |
|
|
|
#define JIT_OP_STORE_RELATIVE_NFLOAT 0x0188 |
|
|
|
#define JIT_OP_STORE_RELATIVE_STRUCT 0x0189 |
|
|
|
#define JIT_OP_ADD_RELATIVE 0x018A |
|
|
|
#define JIT_OP_LOAD_RELATIVE_SBYTE 0x0179 |
|
|
|
#define JIT_OP_LOAD_RELATIVE_UBYTE 0x017A |
|
|
|
#define JIT_OP_LOAD_RELATIVE_SHORT 0x017B |
|
|
|
#define JIT_OP_LOAD_RELATIVE_USHORT 0x017C |
|
|
|
#define JIT_OP_LOAD_RELATIVE_INT 0x017D |
|
|
|
#define JIT_OP_LOAD_RELATIVE_LONG 0x017E |
|
|
|
#define JIT_OP_LOAD_RELATIVE_FLOAT32 0x017F |
|
|
|
#define JIT_OP_LOAD_RELATIVE_FLOAT64 0x0180 |
|
|
|
#define JIT_OP_LOAD_RELATIVE_NFLOAT 0x0181 |
|
|
|
#define JIT_OP_LOAD_RELATIVE_STRUCT 0x0182 |
|
|
|
#define JIT_OP_STORE_RELATIVE_BYTE 0x0183 |
|
|
|
#define JIT_OP_STORE_RELATIVE_SHORT 0x0184 |
|
|
|
#define JIT_OP_STORE_RELATIVE_INT 0x0185 |
|
|
|
#define JIT_OP_STORE_RELATIVE_LONG 0x0186 |
|
|
|
#define JIT_OP_STORE_RELATIVE_FLOAT32 0x0187 |
|
|
|
#define JIT_OP_STORE_RELATIVE_FLOAT64 0x0188 |
|
|
|
#define JIT_OP_STORE_RELATIVE_NFLOAT 0x0189 |
|
|
|
#define JIT_OP_STORE_RELATIVE_STRUCT 0x018A |
|
|
|
#define JIT_OP_ADD_RELATIVE 0x018B |
|
|
|
|
|
|
|
/*
|
|
|
|
* Array element loads and stores. |
|
|
|
*/ |
|
|
|
#define JIT_OP_LOAD_ELEMENT_SBYTE 0x018B |
|
|
|
#define JIT_OP_LOAD_ELEMENT_UBYTE 0x018C |
|
|
|
#define JIT_OP_LOAD_ELEMENT_SHORT 0x018D |
|
|
|
#define JIT_OP_LOAD_ELEMENT_USHORT 0x018E |
|
|
|
#define JIT_OP_LOAD_ELEMENT_INT 0x018F |
|
|
|
#define JIT_OP_LOAD_ELEMENT_LONG 0x0190 |
|
|
|
#define JIT_OP_LOAD_ELEMENT_FLOAT32 0x0191 |
|
|
|
#define JIT_OP_LOAD_ELEMENT_FLOAT64 0x0192 |
|
|
|
#define JIT_OP_LOAD_ELEMENT_NFLOAT 0x0193 |
|
|
|
#define JIT_OP_STORE_ELEMENT_BYTE 0x0194 |
|
|
|
#define JIT_OP_STORE_ELEMENT_SHORT 0x0195 |
|
|
|
#define JIT_OP_STORE_ELEMENT_INT 0x0196 |
|
|
|
#define JIT_OP_STORE_ELEMENT_LONG 0x0197 |
|
|
|
#define JIT_OP_STORE_ELEMENT_FLOAT32 0x0198 |
|
|
|
#define JIT_OP_STORE_ELEMENT_FLOAT64 0x0199 |
|
|
|
#define JIT_OP_STORE_ELEMENT_NFLOAT 0x019A |
|
|
|
#define JIT_OP_LOAD_ELEMENT_SBYTE 0x018C |
|
|
|
#define JIT_OP_LOAD_ELEMENT_UBYTE 0x018D |
|
|
|
#define JIT_OP_LOAD_ELEMENT_SHORT 0x018E |
|
|
|
#define JIT_OP_LOAD_ELEMENT_USHORT 0x018F |
|
|
|
#define JIT_OP_LOAD_ELEMENT_INT 0x0190 |
|
|
|
#define JIT_OP_LOAD_ELEMENT_LONG 0x0191 |
|
|
|
#define JIT_OP_LOAD_ELEMENT_FLOAT32 0x0192 |
|
|
|
#define JIT_OP_LOAD_ELEMENT_FLOAT64 0x0193 |
|
|
|
#define JIT_OP_LOAD_ELEMENT_NFLOAT 0x0194 |
|
|
|
#define JIT_OP_STORE_ELEMENT_BYTE 0x0195 |
|
|
|
#define JIT_OP_STORE_ELEMENT_SHORT 0x0196 |
|
|
|
#define JIT_OP_STORE_ELEMENT_INT 0x0197 |
|
|
|
#define JIT_OP_STORE_ELEMENT_LONG 0x0198 |
|
|
|
#define JIT_OP_STORE_ELEMENT_FLOAT32 0x0199 |
|
|
|
#define JIT_OP_STORE_ELEMENT_FLOAT64 0x019A |
|
|
|
#define JIT_OP_STORE_ELEMENT_NFLOAT 0x019B |
|
|
|
|
|
|
|
/*
|
|
|
|
* Block operations. |
|
|
|
*/ |
|
|
|
#define JIT_OP_MEMCPY 0x019B |
|
|
|
#define JIT_OP_MEMMOVE 0x019C |
|
|
|
#define JIT_OP_MEMSET 0x019D |
|
|
|
#define JIT_OP_MEMCPY 0x019C |
|
|
|
#define JIT_OP_MEMMOVE 0x019D |
|
|
|
#define JIT_OP_MEMSET 0x019E |
|
|
|
|
|
|
|
/*
|
|
|
|
* Allocate memory from the stack. |
|
|
|
*/ |
|
|
|
#define JIT_OP_ALLOCA 0x019E |
|
|
|
#define JIT_OP_ALLOCA 0x019F |
|
|
|
|
|
|
|
/*
|
|
|
|
* The number of opcodes in the above list. |
|
|
|
*/ |
|
|
|
#define JIT_OP_NUM_OPCODES 0x019F |
|
|
|
#define JIT_OP_NUM_OPCODES 0x01A0 |
|
|
|
|
|
|
|
/*
|
|
|
|
* Opcode information. |
|
|
|