1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/gcc/4.7.2/000-libitm-fix-definition-of-__m64.patch Thu Jan 24 22:42:33 2013 +0100
1.3 @@ -0,0 +1,27 @@
1.4 +From 3d27d47fbebdb1be3d35e398a7c042a930f64aa6 Mon Sep 17 00:00:00 2001
1.5 +From: Richard Braun <rbraun@sceen.net>
1.6 +Date: Mon, 26 Nov 2012 11:36:17 +0100
1.7 +Subject: [PATCH] libitm: fix definition of __m64
1.8 +
1.9 +See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52695 for details.
1.10 +---
1.11 + libitm/config/x86/target.h | 3 +++
1.12 + 1 files changed, 3 insertions(+), 0 deletions(-)
1.13 +
1.14 +diff --git a/libitm/config/x86/target.h b/libitm/config/x86/target.h
1.15 +index 5c7e6fb..6254d8a 100644
1.16 +--- a/libitm/config/x86/target.h
1.17 ++++ b/libitm/config/x86/target.h
1.18 +@@ -73,6 +73,9 @@ cpu_relax (void)
1.19 + /* ??? It's broken for C++. */
1.20 + #include <x86intrin.h>
1.21 + #else
1.22 ++# ifdef __MMX__
1.23 ++# include <mmintrin.h>
1.24 ++# endif
1.25 + # ifdef __SSE2__
1.26 + # include <emmintrin.h>
1.27 + # elif defined(__SSE__)
1.28 +--
1.29 +1.7.2.5
1.30 +