Fixed emit_RRR
authorJonathan White <jwhite@tungstengraphics.com>
Mon, 15 Sep 2008 17:56:21 +0000 (11:56 -0600)
committerJonathan White <jwhite@tungstengraphics.com>
Mon, 15 Sep 2008 17:57:59 +0000 (11:57 -0600)
src/gallium/auxiliary/rtasm/rtasm_ppc_spe.c

index 8718be9dedb50b72d2af6a16a55aab6162e5da2d..74cd4176e7bcd104a1df89707804bb7f46aad171 100644 (file)
@@ -194,7 +194,7 @@ static void emit_RRR(struct spe_function *p, unsigned op, unsigned rT,
     assert(p->num_inst <= p->max_inst);
     if (p->print) {
        indent(p);
-       printf("%s\tr%d, r%d, r%d, r%d\n", rem_prefix(name), rT, rA, rB, rB);
+       printf("%s\tr%d, r%d, r%d, r%d\n", rem_prefix(name), rT, rA, rB, rC);
     }
 }