author | "Yann E. MORIN" <yann.morin.1998@free.fr> |
Mon Jan 07 00:58:13 2013 +0100 (2013-01-07) | |
changeset 3155 | d988235eab7b |
permissions | -rw-r--r-- |
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 |