1
mirror of https://github.com/mpv-player/mpv synced 2024-09-12 23:45:53 +02:00

add missing r15484

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21393 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2006-11-29 20:46:27 +00:00
parent a59ed0467c
commit f115cf480b

View File

@ -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)