[110779] trunk/dports/lang/apple-gcc42
jeremyhu at macports.org
jeremyhu at macports.org
Thu Sep 5 12:56:09 PDT 2013
Revision: 110779
https://trac.macports.org/changeset/110779
Author: jeremyhu at macports.org
Date: 2013-09-05 12:56:09 -0700 (Thu, 05 Sep 2013)
Log Message:
-----------
apple-gcc42: Fix SSE with +gpl3 variant (#37638)
Modified Paths:
--------------
trunk/dports/lang/apple-gcc42/Portfile
Added Paths:
-----------
trunk/dports/lang/apple-gcc42/files/gcc-4.2.4-emmintrin.patch
Modified: trunk/dports/lang/apple-gcc42/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc42/Portfile 2013-09-05 19:48:07 UTC (rev 110778)
+++ trunk/dports/lang/apple-gcc42/Portfile 2013-09-05 19:56:09 UTC (rev 110779)
@@ -6,7 +6,7 @@
name apple-gcc42
version 5666.3
set gcc_version 4.2.1
-revision 12
+revision 13
categories lang
platforms darwin
license {GPL-2+ Permissive}
@@ -21,7 +21,7 @@
license {GPL-3+ Permissive}
maintainers googlemail.com:tobias.netzel openmaintainer
- patchfiles-append gcc-4.2.1-4.2.4.patch
+ patchfiles-append gcc-4.2.1-4.2.4.patch gcc-4.2.4-emmintrin.patch
}
if {[variant_isset gpl3]} {
set gcc_version 4.2.4
Added: trunk/dports/lang/apple-gcc42/files/gcc-4.2.4-emmintrin.patch
===================================================================
--- trunk/dports/lang/apple-gcc42/files/gcc-4.2.4-emmintrin.patch (rev 0)
+++ trunk/dports/lang/apple-gcc42/files/gcc-4.2.4-emmintrin.patch 2013-09-05 19:56:09 UTC (rev 110779)
@@ -0,0 +1,35 @@
+--- gcc/config/i386/emmintrin.h 2013-09-05 20:23:21.000000000 +0200
++++ gcc/config/i386/emmintrin.h 2013-09-05 20:51:53.000000000 +0200
+@@ -1407,7 +1407,6 @@
+ return (__m128i)__builtin_ia32_pmuludq128 ((__v4si)__A, (__v4si)__B);
+ }
+
+-#if 0
+ /* APPLE LOCAL begin radar 5618945 */
+ __STATIC_INLINE __m128i __attribute__((__always_inline__))
+ /* APPLE LOCAL end radar 5618945 */
+@@ -1431,16 +1430,7 @@
+ {
+ return (__m128i)__builtin_ia32_psllqi128 ((__v2di)__A, __B);
+ }
+-#else
+-#define _mm_slli_epi16(__A, __B) \
+- ((__m128i)__builtin_ia32_psllwi128 ((__v8hi)(__A), __B))
+-#define _mm_slli_epi32(__A, __B) \
+- ((__m128i)__builtin_ia32_pslldi128 ((__v8hi)(__A), __B))
+-#define _mm_slli_epi64(__A, __B) \
+- ((__m128i)__builtin_ia32_psllqi128 ((__v8hi)(__A), __B))
+-#endif
+
+-#if 0
+ /* APPLE LOCAL begin radar 5618945 */
+ __STATIC_INLINE __m128i __attribute__((__always_inline__))
+ /* APPLE LOCAL end radar 5618945 */
+@@ -1476,7 +1466,6 @@
+ /* APPLE LOCAL end 5919583 */
+ #endif
+
+-#if 0
+ /* APPLE LOCAL begin radar 5618945 */
+ __STATIC_INLINE __m128i __attribute__((__always_inline__))
+ /* APPLE LOCAL end radar 5618945 */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130905/7d56d3f1/attachment.html>
More information about the macports-changes
mailing list