summaryrefslogtreecommitdiffstats
path: root/libmpeg2/libmpeg-0.4.1.diff
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-30 12:09:06 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-30 12:09:06 +0000
commit71f6340af735f7035066a13b23b686b07008ca5f (patch)
treef6b59e7186ab1176c28c19c0a6fbfa7259b9de7a /libmpeg2/libmpeg-0.4.1.diff
parentc6fe9d1af4e94684738a75ee743293ac1f3c8d10 (diff)
downloadmpv-71f6340af735f7035066a13b23b686b07008ca5f.tar.bz2
mpv-71f6340af735f7035066a13b23b686b07008ca5f.tar.xz
Check for ALTIVEC_H instead of __APPLE_CC__ to decide which AltiVec vector
declaration syntax to use. Checking for HAVE_ALTIVEC_VECTOR_BRACES would be better, but this variant is more likely to be mergeable upstream. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26928 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpeg2/libmpeg-0.4.1.diff')
-rw-r--r--libmpeg2/libmpeg-0.4.1.diff14
1 files changed, 0 insertions, 14 deletions
diff --git a/libmpeg2/libmpeg-0.4.1.diff b/libmpeg2/libmpeg-0.4.1.diff
index b54b28a952..8a39bd1498 100644
--- a/libmpeg2/libmpeg-0.4.1.diff
+++ b/libmpeg2/libmpeg-0.4.1.diff
@@ -50,20 +50,6 @@
+#endif /* ARCH_X86 || ARCH_X86_64 */
#if defined(ARCH_PPC) || defined(ARCH_SPARC)
-@@ -166,10 +168,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__) /* 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)
@@ -212,7 +241,7 @@
accel = 0;