summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Vanderhoof <[email protected]>2000-01-23 05:47:14 +0000
committerJosh Vanderhoof <[email protected]>2000-01-23 05:47:14 +0000
commitfccc9298b8d6ba83510ed954061b098439c29a61 (patch)
tree2f70755a51dcc5d8287eadff7d63ddfc7665337d
parentade76cd4ab8d5aebfcc73d4e0edd1257e76170fe (diff)
prevent spaces in fp register names
-rw-r--r--src/mesa/x86/assyntax.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mesa/x86/assyntax.h b/src/mesa/x86/assyntax.h
index 5beda07237f..2243d206cbe 100644
--- a/src/mesa/x86/assyntax.h
+++ b/src/mesa/x86/assyntax.h
@@ -190,7 +190,15 @@
#define DR6 %db6
#define DR7 %db7
/* Floating-point Stack */
-#define ST %st
+#define _STX0 %st(0)
+#define _STX1 %st(1)
+#define _STX2 %st(2)
+#define _STX3 %st(3)
+#define _STX4 %st(4)
+#define _STX5 %st(5)
+#define _STX6 %st(6)
+#define _STX7 %st(7)
+#define ST(x) CONCAT(_STX,x)
/* MMX Registers */
#define MM0 %mm0
#define MM1 %mm1