Ticket #3169: PowerPC_NoAltivec.patch
File PowerPC_NoAltivec.patch, 738 bytes (added by , 17 years ago) |
---|
-
libs/libmythmpeg2/cpu_state.c
43 43 } 44 44 #endif 45 45 46 #ifdef ARCH_PPC46 #ifdef HAVE_ALTIVEC 47 47 #if defined(HAVE_ALTIVEC_H) && !defined(CONFIG_DARWIN) /* gnu */ 48 48 #define LI(a,b) "li " #a "," #b "\n\t" 49 49 #define STVX0(a,b,c) "stvx " #a ",0," #c "\n\t" … … 120 120 mpeg2_cpu_state_restore = state_restore_mmx; 121 121 } 122 122 #endif 123 #ifdef ARCH_PPC123 #ifdef HAVE_ALTIVEC 124 124 if (accel & MPEG2_ACCEL_PPC_ALTIVEC) { 125 125 mpeg2_cpu_state_save = state_save_altivec; 126 126 mpeg2_cpu_state_restore = state_restore_altivec;