summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Boll <[email protected]>2013-03-16 13:54:09 +0100
committerIan Romanick <[email protected]>2013-04-05 19:01:09 -0700
commit60e5696de36156aca080c28c4b646c78d4580ee9 (patch)
tree00ea6141d1f23497d1e090647e7fa015f7550683 /src
parent7067d65e569dff9b42c6f2ad0840420602d6d293 (diff)
mesa: use ieee fp on s390 and m68k
Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/02_use-ieee-fp-on-s390-and-m68k.patch;h=d3d6c1d7fec3c72ecf320706167deb61c52636c3;hb=refs/heads/ubuntu%2B1 Fixes Debian bug #349437. Patch written by David Nusinow. NOTE: This is a candidate for stable branches. Acked-by: Kenneth Graunke <[email protected]> Acked-by: Matt Turner <[email protected]> (cherry picked from commit 7962f28c439948853dbdf2be04914e004a77c1d7)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/compiler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 48712485a79..8b23665e689 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -307,8 +307,9 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
* USE_IEEE: Determine if we're using IEEE floating point
*/
#if defined(__i386__) || defined(__386__) || defined(__sparc__) || \
- defined(__s390x__) || defined(__powerpc__) || \
+ defined(__s390__) || defined(__s390x__) || defined(__powerpc__) || \
defined(__x86_64__) || \
+ defined(__m68k__) || \
defined(ia64) || defined(__ia64__) || \
defined(__hppa__) || defined(hpux) || \
defined(__mips) || defined(_MIPS_ARCH) || \