Skip to content

Commit b01ae11

Browse files
authored
Implement float comparison, conversion and numeric opcodes (#1170)
1 parent 4746eaa commit b01ae11

File tree

9 files changed

+1295
-140
lines changed

9 files changed

+1295
-140
lines changed

core/iwasm/common/wasm_exec_env.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ wasm_exec_env_create_internal(struct WASMModuleInstanceCommon *module_inst,
7373
#if WASM_ENABLE_MEMORY_TRACING != 0
7474
wasm_runtime_dump_exec_env_mem_consumption(exec_env);
7575
#endif
76+
7677
return exec_env;
7778

7879
#if WASM_ENABLE_THREAD_MGR != 0

core/iwasm/common/wasm_exec_env.h

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,15 @@ typedef struct WASMExecEnv {
8585
#endif
8686

8787
#if WASM_ENABLE_FAST_JIT != 0
88-
#if defined(BUILD_TARGET_X86_32)
89-
/* Cache for jit native operations in 32-bit target which hasn't 64-bit
90-
int/float registers, mainly for the operations of double and int64,
91-
such as F64TOI64, F32TOI64, I64 MUL/REM, and so on. */
88+
/**
89+
* Cache for
90+
* - jit native operations in 32-bit target which hasn't 64-bit
91+
* int/float registers, mainly for the operations of double and int64,
92+
* such as F64TOI64, F32TOI64, I64 MUL/REM, and so on.
93+
* - SSE instructions.
94+
**/
9295
uint64 jit_cache[2];
9396
#endif
94-
#endif
9597

9698
#if WASM_ENABLE_THREAD_MGR != 0
9799
/* thread return value */

0 commit comments

Comments
 (0)