summaryrefslogtreecommitdiff
path: root/src/mesa/sparc/clip.S
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2004-04-26 10:10:22 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2004-04-26 10:10:22 +0000
commit462183fe4cb6df6d90632d9e2cee881c8d26b1cb (patch)
tree0fb5d1c17d80026bec0fe3c2e0449fe30ea9e69e /src/mesa/sparc/clip.S
parent08fa6de85035c428d77cb88b11a4638b706794b5 (diff)
bring over build fixes from stable branch
Diffstat (limited to 'src/mesa/sparc/clip.S')
-rw-r--r--src/mesa/sparc/clip.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/sparc/clip.S b/src/mesa/sparc/clip.S
index fc5c677ee4..4243cae453 100644
--- a/src/mesa/sparc/clip.S
+++ b/src/mesa/sparc/clip.S
@@ -25,6 +25,13 @@
#define VEC_SIZE_3 7
#define VEC_SIZE_4 15
+#ifdef SVR4
+ /* Solaris requires this for 64-bit. */
+ .register %g2, #scratch
+ .register %g3, #scratch
+ .register %g7, #scratch
+#endif
+
.text
.align 64