mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-23 18:11:25 +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 ``` |
||
---|---|---|
.. | ||
x86-64 | ||
LICENSE_ASMJIT | ||
LICENSE_ZYDIS |