Mercurial > mplayer.hg
comparison libmpeg2/cpu_state.c @ 26595:4bc81fcf14bb
Fix compilation on PPC without AltiVec.
author | diego |
---|---|
date | Thu, 01 May 2008 12:45:59 +0000 |
parents | 79ab4ecba54a |
children | fd18fa10de53 |
comparison
equal
deleted
inserted
replaced
26594:05841cbb86aa | 26595:4bc81fcf14bb |
---|---|
45 { | 45 { |
46 emms (); | 46 emms (); |
47 } | 47 } |
48 #endif | 48 #endif |
49 | 49 |
50 #if defined(ARCH_PPC) && defined(HAVE_ALTIVEC) | 50 #ifdef ARCH_PPC |
51 #if defined(__APPLE_CC__) /* apple */ | 51 #if defined(__APPLE_CC__) /* apple */ |
52 #define LI(a,b) "li r" #a "," #b "\n\t" | 52 #define LI(a,b) "li r" #a "," #b "\n\t" |
53 #define STVX0(a,b,c) "stvx v" #a ",0,r" #c "\n\t" | 53 #define STVX0(a,b,c) "stvx v" #a ",0,r" #c "\n\t" |
54 #define STVX(a,b,c) "stvx v" #a ",r" #b ",r" #c "\n\t" | 54 #define STVX(a,b,c) "stvx v" #a ",r" #b ",r" #c "\n\t" |
55 #define LVX0(a,b,c) "lvx v" #a ",0,r" #c "\n\t" | 55 #define LVX0(a,b,c) "lvx v" #a ",0,r" #c "\n\t" |