Implement Fast JIT multi-threading feature (#2134)
- Translate all the opcodes of threads spec proposal for Fast JIT - Add the atomic flag for Fast JIT load/store IRs to support atomic load/store - Add new atomic related Fast JIT IRs and translate them in the codegen - Add suspend_flags check in branch opcodes and before/after call function - Modify CI to enable Fast JIT multi-threading test Co-authored-by: TianlongLiang <tianlong.liang@intel.com>
This commit is contained in:
@ -114,7 +114,10 @@ jit_dump_insn(JitCompContext *cc, JitInsn *insn)
|
||||
switch (insn->opcode) {
|
||||
#define INSN(NAME, OPND_KIND, OPND_NUM, FIRST_USE) \
|
||||
case JIT_OP_##NAME: \
|
||||
os_printf(" %-15s", #NAME); \
|
||||
if (insn->flags_u8 & 0x1) \
|
||||
os_printf(" ATOMIC %-8s", #NAME); \
|
||||
else \
|
||||
os_printf(" %-15s", #NAME); \
|
||||
jit_dump_insn_##OPND_KIND(cc, insn, OPND_NUM); \
|
||||
break;
|
||||
#include "jit_ir.def"
|
||||
@ -319,7 +322,9 @@ jit_pass_dump(JitCompContext *cc)
|
||||
|
||||
os_printf("JIT.COMPILER.DUMP: PASS_NO=%d PREV_PASS=%s\n\n", pass_no,
|
||||
pass_name);
|
||||
|
||||
jit_dump_cc(cc);
|
||||
|
||||
os_printf("\n");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user