Import WAMR Fast JIT (#1343)
Import WAMR Fast JIT which is a lightweight JIT with quick startup, small footprint, relatively good performance (~40% to ~50% of LLVM JIT) and good portability. Platforms supported: Linux, MacOS and Linux SGX. Arch supported: x86-64.
This commit is contained in:
@ -84,6 +84,17 @@ typedef struct WASMExecEnv {
|
||||
void **native_symbol;
|
||||
#endif
|
||||
|
||||
#if WASM_ENABLE_FAST_JIT != 0
|
||||
/**
|
||||
* Cache for
|
||||
* - jit native operations in 32-bit target which hasn't 64-bit
|
||||
* int/float registers, mainly for the operations of double and int64,
|
||||
* such as F64TOI64, F32TOI64, I64 MUL/REM, and so on.
|
||||
* - SSE instructions.
|
||||
**/
|
||||
uint64 jit_cache[2];
|
||||
#endif
|
||||
|
||||
#if WASM_ENABLE_THREAD_MGR != 0
|
||||
/* thread return value */
|
||||
void *thread_ret_value;
|
||||
|
||||
Reference in New Issue
Block a user