diff options
author | Mike Pall <mike> | 2011-07-02 00:45:38 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-07-02 00:45:38 +0200 |
commit | 8addfefb33cfcf32c758c59d34f2d2bbd55a4966 (patch) | |
tree | 4b8cc118c0a57730560b2c11c66a3d8fcb3bb11b /src/buildvm_asm.c | |
parent | fe1f9137a92ee3c0e89e2f0a0b0abbeddcaf81fd (diff) | |
download | luajit-8addfefb33cfcf32c758c59d34f2d2bbd55a4966.tar.gz luajit-8addfefb33cfcf32c758c59d34f2d2bbd55a4966.tar.bz2 luajit-8addfefb33cfcf32c758c59d34f2d2bbd55a4966.zip |
PPC: Untangle PPC vs. PPCSPE target defines.
Diffstat (limited to 'src/buildvm_asm.c')
-rw-r--r-- | src/buildvm_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildvm_asm.c b/src/buildvm_asm.c index 5cfa7ae8..94e62ce7 100644 --- a/src/buildvm_asm.c +++ b/src/buildvm_asm.c | |||
@@ -107,7 +107,7 @@ static void emit_asm_wordreloc(BuildCtx *ctx, uint8_t *p, int n, | |||
107 | ins, sym); | 107 | ins, sym); |
108 | exit(1); | 108 | exit(1); |
109 | } | 109 | } |
110 | #elif LJ_TARGET_PPC | 110 | #elif LJ_TARGET_PPC || LJ_TARGET_PPCSPE |
111 | if ((ins >> 26) == 16) { | 111 | if ((ins >> 26) == 16) { |
112 | fprintf(ctx->fp, "\t%s %d, %d, %s\n", | 112 | fprintf(ctx->fp, "\t%s %d, %d, %s\n", |
113 | (ins & 1) ? "bcl" : "bc", (ins >> 21) & 31, (ins >> 16) & 31, sym); | 113 | (ins & 1) ? "bcl" : "bc", (ins >> 21) & 31, (ins >> 16) & 31, sym); |