CONSOLE: Handle P64, GPR64, TOC* and PPE (PS3) in PPC interpreter.

PS3 build command: make HOST_CC="gcc -m32" CROSS=ppu-lv2-
This commit is contained in:
Mike Pall
2012-06-13 02:32:24 +02:00
parent 4f9db0fbc3
commit ca6bf2d9a4
5 changed files with 456 additions and 184 deletions

View File

@@ -404,8 +404,11 @@ ifeq (ppc,$(TARGET_LJARCH))
ifneq (,$(findstring LJ_ARCH_ROUND 1,$(TARGET_TESTARCH)))
DASM_AFLAGS+= -D ROUND
endif
ifneq (,$(findstring LJ_ARCH_PPC64 1,$(TARGET_TESTARCH)))
DASM_AFLAGS+= -D GPR64
endif
ifeq (PS3,$(TARGET_SYS))
DASM_AFLAGS+= -D PS3
DASM_AFLAGS+= -D PPE -D TOC
endif
endif
endif