- Add x86_64 support to vm_x86.c
- Fix warning on mingw64
This commit is contained in:
parent
3e229af710
commit
c174143dc2
10 changed files with 349 additions and 94 deletions
|
@ -272,7 +272,7 @@ void emit(const char* fmt, ...)
|
|||
#define PREPARE_JMP(reg) \
|
||||
CHECK_INSTR_REG(reg); \
|
||||
emit("movq $%"PRIu64", %%rsi", (intptr_t)vm->instructionPointers); \
|
||||
emit("movl (%%rsi, %%rax, 4), %%eax"); \
|
||||
emit("movl (%%rsi, %%rax, 8), %%eax"); \
|
||||
emit("addq %%r10, %%rax")
|
||||
|
||||
#define CHECK_INSTR(nr) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue