mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-23 01:51:13 +00:00
![]() - use native functions to do f.eq and f.ne - only use ZF=0 and CF=0 to do f.lt and f.gt - only use CF=0 to do f.le and f.ge could use comiss and setCC to replace comiss and jmpCC be able to pass f32_cmp and f64_cmp ``` cmp_eq: xor eax, eax ucomisd xmm0, xmm1 mov edx, 0 setnp al cmovne eax, edx ret cmp_ne: xor eax, eax ucomisd xmm0, xmm1 mov edx, 1 setp al cmovne eax, edx ret ``` |
||
---|---|---|
.. | ||
jit_emit_compare.c | ||
jit_emit_compare.h | ||
jit_emit_const.c | ||
jit_emit_const.h | ||
jit_emit_control.c | ||
jit_emit_control.h | ||
jit_emit_conversion.c | ||
jit_emit_conversion.h | ||
jit_emit_exception.c | ||
jit_emit_exception.h | ||
jit_emit_function.c | ||
jit_emit_function.h | ||
jit_emit_memory.c | ||
jit_emit_memory.h | ||
jit_emit_numberic.c | ||
jit_emit_numberic.h | ||
jit_emit_parametric.c | ||
jit_emit_parametric.h | ||
jit_emit_table.c | ||
jit_emit_table.h | ||
jit_emit_variable.c | ||
jit_emit_variable.h |