patches/gcc/4.7.2/000-libitm-fix-definition-of-__m64.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun Dec 23 14:32:20 2012 +0100 (2012-12-23)
changeset 3140 d9e78e89b3f6
permissions -rw-r--r--
arch: re-order the entries in the float choice

Re-order the three entries in the float choice, in a more sensible
order, ie:
- all hard-float options come first, then soft-float
- options that use the FPU are marked so: hard and softfp
- options that do not use the FPU are marked so: software

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
rbraun@3132
     1
From 3d27d47fbebdb1be3d35e398a7c042a930f64aa6 Mon Sep 17 00:00:00 2001
rbraun@3132
     2
From: Richard Braun <rbraun@sceen.net>
rbraun@3132
     3
Date: Mon, 26 Nov 2012 11:36:17 +0100
rbraun@3132
     4
Subject: [PATCH] libitm: fix definition of __m64
rbraun@3132
     5
rbraun@3132
     6
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52695 for details.
rbraun@3132
     7
---
rbraun@3132
     8
 libitm/config/x86/target.h |    3 +++
rbraun@3132
     9
 1 files changed, 3 insertions(+), 0 deletions(-)
rbraun@3132
    10
rbraun@3132
    11
diff --git a/libitm/config/x86/target.h b/libitm/config/x86/target.h
rbraun@3132
    12
index 5c7e6fb..6254d8a 100644
rbraun@3132
    13
--- a/libitm/config/x86/target.h
rbraun@3132
    14
+++ b/libitm/config/x86/target.h
rbraun@3132
    15
@@ -73,6 +73,9 @@ cpu_relax (void)
rbraun@3132
    16
 /* ??? It's broken for C++. */
rbraun@3132
    17
 #include <x86intrin.h>
rbraun@3132
    18
 #else
rbraun@3132
    19
+# ifdef __MMX__
rbraun@3132
    20
+#  include <mmintrin.h>
rbraun@3132
    21
+# endif
rbraun@3132
    22
 # ifdef __SSE2__
rbraun@3132
    23
 #  include <emmintrin.h>
rbraun@3132
    24
 # elif defined(__SSE__)
rbraun@3132
    25
-- 
rbraun@3132
    26
1.7.2.5
rbraun@3132
    27