patches/gcc/4.7.2/000-libitm-fix-definition-of-__m64.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 05 00:01:05 2013 +0200 (2013-05-05)
changeset 3218 3709e61ad85b
permissions -rw-r--r--
complibs/cloog: add support for the ISL backend

CLooG 0.18+ will use ISL instead of PPL, so we have to configure
adequately depending of which backend is in use.

The Kconfig entries will decide for us which is selected, so we
can rely on either PPL xor ISL to be selected, not both.

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