summaryrefslogtreecommitdiffstats
path: root/src/mesa/ppc
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2008-02-14 17:42:34 -0800
committerIan Romanick <[email protected]>2008-02-14 17:42:34 -0800
commitbbd7aabe2bc5743d11c77dd94665045b09791048 (patch)
treeb110f171df1565985c0540fedfe573ebe2aecbdf /src/mesa/ppc
parentd4d9943b0144062e70372329ea46f5b41c6c270e (diff)
More name typeo fixes.
Diffstat (limited to 'src/mesa/ppc')
-rw-r--r--src/mesa/ppc/rtasm/spe_asm.c28
-rw-r--r--src/mesa/ppc/rtasm/spe_asm.h4
2 files changed, 16 insertions, 16 deletions
diff --git a/src/mesa/ppc/rtasm/spe_asm.c b/src/mesa/ppc/rtasm/spe_asm.c
index b1851f05e7f..f8aff9050bf 100644
--- a/src/mesa/ppc/rtasm/spe_asm.c
+++ b/src/mesa/ppc/rtasm/spe_asm.c
@@ -282,45 +282,45 @@ void spe_release_func(struct spe_function *p)
}
-void spu_bi(struct spe_function *p, unsigned rA, int d, int e)
+void spe_bi(struct spe_function *p, unsigned rA, int d, int e)
{
emit_RI7(p, 0x1a8, 0, rA, (d << 5) | (e << 4));
}
-void spu_iret(struct spe_function *p, unsigned rA, int d, int e)
+void spe_iret(struct spe_function *p, unsigned rA, int d, int e)
{
emit_RI7(p, 0x1aa, 0, rA, (d << 5) | (e << 4));
}
-void spu_bisled(struct spe_function *p, unsigned rT, unsigned rA, int d,
+void spe_bisled(struct spe_function *p, unsigned rT, unsigned rA, int d,
int e)
{
emit_RI7(p, 0x1ab, rT, rA, (d << 5) | (e << 4));
}
-void spu_bisl(struct spe_function *p, unsigned rT, unsigned rA, int d,
+void spe_bisl(struct spe_function *p, unsigned rT, unsigned rA, int d,
int e)
{
emit_RI7(p, 0x1a9, rT, rA, (d << 5) | (e << 4));
}
-void spu_biz(struct spe_function *p, unsigned rT, unsigned rA, int d,
+void spe_biz(struct spe_function *p, unsigned rT, unsigned rA, int d,
int e)
{
emit_RI7(p, 0x128, rT, rA, (d << 5) | (e << 4));
}
-void spu_binz(struct spe_function *p, unsigned rT, unsigned rA, int d, int e)
+void spe_binz(struct spe_function *p, unsigned rT, unsigned rA, int d, int e)
{
emit_RI7(p, 0x129, rT, rA, (d << 5) | (e << 4));
}
-void spu_bihz(struct spe_function *p, unsigned rT, unsigned rA, int d, int e)
+void spe_bihz(struct spe_function *p, unsigned rT, unsigned rA, int d, int e)
{
emit_RI7(p, 0x12a, rT, rA, (d << 5) | (e << 4));
}
-void spu_bihnz(struct spe_function *p, unsigned rT, unsigned rA, int d, int e)
+void spe_bihnz(struct spe_function *p, unsigned rT, unsigned rA, int d, int e)
{
emit_RI7(p, 0x12b, rT, rA, (d << 5) | (e << 4));
}
@@ -339,13 +339,13 @@ hbrr;
*/
#if 0
stop;
-EMIT_RR (spu_stopd, 0x140);
-EMIT_ (spu_lnop, 0x001);
-EMIT_ (spu_nop, 0x201);
+EMIT_RR (spe_stopd, 0x140);
+EMIT_ (spe_lnop, 0x001);
+EMIT_ (spe_nop, 0x201);
sync;
-EMIT_ (spu_dsync, 0x003);
-EMIT_R (spu_mfspr, 0x00c);
-EMIT_R (spu_mtspr, 0x10c);
+EMIT_ (spe_dsync, 0x003);
+EMIT_R (spe_mfspr, 0x00c);
+EMIT_R (spe_mtspr, 0x10c);
#endif
#endif /* GALLIUM_CELL */
diff --git a/src/mesa/ppc/rtasm/spe_asm.h b/src/mesa/ppc/rtasm/spe_asm.h
index e6cf1d35ba9..9532669b8c1 100644
--- a/src/mesa/ppc/rtasm/spe_asm.h
+++ b/src/mesa/ppc/rtasm/spe_asm.h
@@ -75,7 +75,7 @@ extern void spe_release_func(struct spe_function *p);
/* Memory load / store instructions
*/
-EMIT_RI10(spe_ldq, 0x034);
+EMIT_RI10(spe_lqd, 0x034);
EMIT_RR (spe_lqx, 0x1c4);
EMIT_RI16(spe_lqa, 0x061);
EMIT_RI16(spe_lqr, 0x067);
@@ -123,7 +123,7 @@ EMIT_RR (spe_mpy, 0x3c4);
EMIT_RR (spe_mpyu, 0x3cc);
EMIT_RI10(spe_mpyi, 0x074);
EMIT_RI10(spe_mpyui, 0x075);
-EMIT_RRR (spy_mpya, 0x00c);
+EMIT_RRR (spe_mpya, 0x00c);
EMIT_RR (spe_mpyh, 0x3c5);
EMIT_RR (spe_mpys, 0x3c7);
EMIT_RR (spe_mpyhh, 0x3c6);