wasm-micro-runtime/core/iwasm/fast-jit
liang.he b3a27e7257
Fix issues of fnn.cmp (#1204)
- 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
```
2022-06-03 10:02:51 +08:00
..
cg Fix issues of fnn.cmp (#1204) 2022-06-03 10:02:51 +08:00
fe Fix issues of fnn.cmp (#1204) 2022-06-03 10:02:51 +08:00
iwasm_fast_jit.cmake Implement opcode memory.grow and fix zydis compile error (#1123) 2022-04-27 20:02:38 +08:00
jit_codecache.c Implement op_call for fast-jit (#1075) 2022-04-10 18:41:23 +08:00
jit_codecache.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_codegen.c Implement part of codegen, add asmjit and zydis (#1050) 2022-03-22 12:22:04 +08:00
jit_codegen.h Implement i32/i64 div and rem opcodes translation (#1091) 2022-04-18 11:38:10 +08:00
jit_compiler.c Implement op_call for fast-jit (#1075) 2022-04-10 18:41:23 +08:00
jit_compiler.h Implement part of codegen, add asmjit and zydis (#1050) 2022-03-22 12:22:04 +08:00
jit_dump.c Implement part of codegen, add asmjit and zydis (#1050) 2022-03-22 12:22:04 +08:00
jit_dump.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_frontend.c Implement float comparison, conversion and numeric opcodes (#1170) 2022-05-24 19:03:46 +08:00
jit_frontend.h Fix fast jit issues (#1201) 2022-06-02 16:41:48 +08:00
jit_ir.c Lock register to avoid spilling it out by register allocator (#1188) 2022-05-31 11:58:02 +08:00
jit_ir.def Implement inn.extend8_s, inn.extend16_s, i64.extend32_s (#1199) 2022-06-01 11:18:22 +08:00
jit_ir.h Lock register to avoid spilling it out by register allocator (#1188) 2022-05-31 11:58:02 +08:00
jit_regalloc.c Lock register to avoid spilling it out by register allocator (#1188) 2022-05-31 11:58:02 +08:00
jit_utils.c Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00
jit_utils.h Import Fast JIT framework (#1016) 2022-03-09 12:34:56 +08:00