projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: added ppc_vzero()
[mesa.git]
/
src
/
gallium
/
auxiliary
/
rtasm
/
rtasm_ppc.c
diff --git
a/src/gallium/auxiliary/rtasm/rtasm_ppc.c
b/src/gallium/auxiliary/rtasm/rtasm_ppc.c
index 65df676eae6b5d54d9b63b15655fb7463183ed92..51d9b536573d7de26ba12362546d0484a1b467d0 100644
(file)
--- a/
src/gallium/auxiliary/rtasm/rtasm_ppc.c
+++ b/
src/gallium/auxiliary/rtasm/rtasm_ppc.c
@@
-669,6
+669,14
@@
ppc_vecmove(struct ppc_function *p, uint vD, uint vA)
ppc_vor(p, vD, vA, vA);
}
+/** Set vector register to {0,0,0,0} */
+void
+ppc_vzero(struct ppc_function *p, uint vr)
+{
+ ppc_vxor(p, vr, vr, vr);
+}
+
+
/**