summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/rtasm/rtasm_ppc_spe.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-09-11 17:07:30 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-09-11 17:10:32 -0600
commit178bbaff80d079606a1135bd65f1a85bac9774c4 (patch)
tree0a2a4ec1e191485d76b3fbf93e3ad27ac0c901c0 /src/gallium/auxiliary/rtasm/rtasm_ppc_spe.h
parentbe925ab6e8ecf6758adb2c6f2c423af31c5f86ca (diff)
gallium: add special cases in spe_load_float(), spe_load_int(), added spe_splat()
Diffstat (limited to 'src/gallium/auxiliary/rtasm/rtasm_ppc_spe.h')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_ppc_spe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_ppc_spe.h b/src/gallium/auxiliary/rtasm/rtasm_ppc_spe.h
index dee8c55c4a..d95e5aace3 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_ppc_spe.h
+++ b/src/gallium/auxiliary/rtasm/rtasm_ppc_spe.h
@@ -292,6 +292,10 @@ spe_load_float(struct spe_function *p, unsigned rT, float x);
extern void
spe_load_int(struct spe_function *p, unsigned rT, int i);
+/** Replicate word 0 of rA across rT. */
+extern void
+spe_splat(struct spe_function *p, unsigned rT, unsigned rA);
+
/** Complement/invert all bits in rT. */
extern void
spe_complement(struct spe_function *p, unsigned rT);