[Mesa-dev] [PATCH 1/5] mesa: remove Alpha CPU checks

Brian Paul brianp at vmware.com
Mon Nov 4 16:48:33 PST 2013


---
 src/mesa/main/compiler.h |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 61ce5db..2752ca8 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -36,11 +36,7 @@
 
 #include <assert.h>
 #include <ctype.h>
-#if defined(__alpha__) && defined(CCPML)
-#include <cpml.h> /* use Compaq's Fast Math Library on Alpha */
-#else
 #include <math.h>
-#endif
 #include <limits.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -317,8 +313,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
     defined(__mips) || defined(_MIPS_ARCH) || \
     defined(__arm__) || \
     defined(__sh__) || defined(__m32r__) || \
-    (defined(__sun) && defined(_IEEE_754)) || \
-    defined(__alpha__)
+    (defined(__sun) && defined(_IEEE_754))
 #define USE_IEEE
 #define IEEE_ONE 0x3f800000
 #endif
-- 
1.7.10.4



More information about the mesa-dev mailing list