[MPlayer-cvslog] r21393 - trunk/libmpeg2/libmpeg-0.4.0.diff
henry
subversion at mplayerhq.hu
Wed Nov 29 21:46:27 CET 2006
Author: henry
Date: Wed Nov 29 21:46:27 2006
New Revision: 21393
Modified:
trunk/libmpeg2/libmpeg-0.4.0.diff
Log:
add missing r15484
Modified: trunk/libmpeg2/libmpeg-0.4.0.diff
==============================================================================
--- trunk/libmpeg2/libmpeg-0.4.0.diff (original)
+++ trunk/libmpeg2/libmpeg-0.4.0.diff Wed Nov 29 21:46:27 2006
@@ -65,6 +65,20 @@
#include <signal.h>
#include <setjmp.h>
+@@ -166,10 +166,10 @@
+
+ canjump = 1;
+
+-#ifdef HAVE_ALTIVEC_H /* gnu */
+-#define VAND(a,b,c) "vand " #a "," #b "," #c "\n\t"
+-#else /* apple */
++#if defined( __APPLE_CC__ ) && defined( __APPLE_ALTIVEC__ ) /* apple */
+ #define VAND(a,b,c) "vand v" #a ",v" #b ",v" #c "\n\t"
++#else /* gnu */
++#define VAND(a,b,c) "vand " #a "," #b "," #c "\n\t"
+ #endif
+ asm volatile ("mtspr 256, %0\n\t"
+ VAND (0, 0, 0)
@@ -195,6 +222,7 @@
#ifdef ARCH_ALPHA
static inline uint32_t arch_accel (void)
More information about the MPlayer-cvslog
mailing list