PPC: Integrate and enable JIT compiler.

This commit is contained in:
Mike Pall
2011-10-24 16:43:51 +02:00
parent fa9ade356b
commit 0cf8c20be8
7 changed files with 2603 additions and 6 deletions

View File

@@ -161,6 +161,8 @@ IRFLDEF(FLOFS)
#include "lj_emit_x86.h"
#elif LJ_TARGET_ARM
#include "lj_emit_arm.h"
#elif LJ_TARGET_PPC
#include "lj_emit_ppc.h"
#else
#error "Missing instruction emitter for target CPU"
#endif
@@ -1205,8 +1207,10 @@ static void asm_loop(ASMState *as)
#include "lj_asm_x86.h"
#elif LJ_TARGET_ARM
#include "lj_asm_arm.h"
#elif LJ_TARGET_PPC
#include "lj_asm_ppc.h"
#else
#error "Missing instruction emitter for target CPU"
#error "Missing assembler for target CPU"
#endif
/* -- Head of trace ------------------------------------------------------- */