mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
x64: Fix DynASM defines.
This commit is contained in:
parent
e08914988c
commit
0528bb7d02
@ -362,6 +362,9 @@ DASM_XFLAGS=
|
||||
DASM_AFLAGS=
|
||||
DASM_ARCH= $(TARGET_LJARCH)
|
||||
|
||||
ifneq (,$(findstring LJ_ARCH_BITS 64,$(TARGET_TESTARCH)))
|
||||
DASM_AFLAGS+= -D P64
|
||||
endif
|
||||
ifneq (,$(findstring LJ_HASJIT 1,$(TARGET_TESTARCH)))
|
||||
DASM_AFLAGS+= -D JIT
|
||||
endif
|
||||
@ -387,7 +390,6 @@ ifeq (x86,$(TARGET_LJARCH))
|
||||
endif
|
||||
else
|
||||
ifeq (x64,$(TARGET_LJARCH))
|
||||
DASM_AFLAGS+= -D X64
|
||||
DASM_ARCH= x86
|
||||
else
|
||||
ifeq (arm,$(TARGET_LJARCH))
|
||||
|
@ -2,7 +2,7 @@
|
||||
|// Bytecode interpreter, fast functions and helper functions.
|
||||
|// Copyright (C) 2005-2012 Mike Pall. See Copyright Notice in luajit.h
|
||||
|
|
||||
|.if X64
|
||||
|.if P64
|
||||
|.arch x64
|
||||
|.else
|
||||
|.arch x86
|
||||
@ -16,7 +16,8 @@
|
||||
|
|
||||
|//-----------------------------------------------------------------------
|
||||
|
|
||||
|.if X64
|
||||
|.if P64
|
||||
|.define X64, 1
|
||||
|.define SSE, 1
|
||||
|.if WIN
|
||||
|.define X64WIN, 1
|
||||
|
Loading…
Reference in New Issue
Block a user