PPC: Untangle PPC vs. PPCSPE target defines.

This commit is contained in:
Mike Pall
2011-07-02 00:45:38 +02:00
parent fe1f9137a9
commit 8addfefb33
4 changed files with 4 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ static void emit_asm_wordreloc(BuildCtx *ctx, uint8_t *p, int n,
ins, sym);
exit(1);
}
#elif LJ_TARGET_PPC
#elif LJ_TARGET_PPC || LJ_TARGET_PPCSPE
if ((ins >> 26) == 16) {
fprintf(ctx->fp, "\t%s %d, %d, %s\n",
(ins & 1) ? "bcl" : "bc", (ins >> 21) & 31, (ins >> 16) & 31, sym);