mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-26 07:51:06 +00:00
e010ee5742
Bring the appropriate patches along, too. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
28 lines
755 B
Diff
28 lines
755 B
Diff
From 3d27d47fbebdb1be3d35e398a7c042a930f64aa6 Mon Sep 17 00:00:00 2001
|
|
From: Richard Braun <rbraun@sceen.net>
|
|
Date: Mon, 26 Nov 2012 11:36:17 +0100
|
|
Subject: [PATCH] libitm: fix definition of __m64
|
|
|
|
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52695 for details.
|
|
---
|
|
libitm/config/x86/target.h | 3 +++
|
|
1 files changed, 3 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/libitm/config/x86/target.h b/libitm/config/x86/target.h
|
|
index 5c7e6fb..6254d8a 100644
|
|
--- a/libitm/config/x86/target.h
|
|
+++ b/libitm/config/x86/target.h
|
|
@@ -73,6 +73,9 @@ cpu_relax (void)
|
|
/* ??? It's broken for C++. */
|
|
#include <x86intrin.h>
|
|
#else
|
|
+# ifdef __MMX__
|
|
+# include <mmintrin.h>
|
|
+# endif
|
|
# ifdef __SSE2__
|
|
# include <emmintrin.h>
|
|
# elif defined(__SSE__)
|
|
--
|
|
1.7.2.5
|
|
|