From 50d5fc192b1558de048447498c876ff28a3433e6 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 6 Aug 2014 16:13:26 -0700 Subject: mesa: Drop USE_IEEE define. I think OpenVMS was the only platform that Mesa ran on that used a non-IEEE representation for floats. We removed OpenVMS support a while back, and this should alleviate the need to continue updating the this-platform-uses-IEEE list. The one bit of this patch that needs review is the IS_INF_OR_NAN, because I'm not sure if MSVC supports isfinite. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82268 Reviewed-by: Brian Paul --- src/mesa/main/compiler.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/mesa/main/compiler.h') diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index ae7d343dd36..35160223e5b 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -265,25 +265,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x) #define FLT_MAX_EXP 128 #endif - -/** - * USE_IEEE: Determine if we're using IEEE floating point - */ -#if defined(__i386__) || defined(__386__) || defined(__sparc__) || \ - defined(__s390__) || defined(__s390x__) || defined(__powerpc__) || \ - defined(__x86_64__) || \ - defined(__m68k__) || \ - defined(ia64) || defined(__ia64__) || \ - defined(__hppa__) || defined(hpux) || \ - defined(__mips) || defined(_MIPS_ARCH) || \ - defined(__arm__) || defined(__aarch64__) || \ - defined(__sh__) || defined(__m32r__) || \ - (defined(__sun) && defined(_IEEE_754)) || \ - defined(__alpha__) -#define USE_IEEE #define IEEE_ONE 0x3f800000 -#endif - /** * START/END_FAST_MATH macros: -- cgit v1.2.3