diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-04-07 12:40:28 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-04-07 12:40:28 +0000 |
commit | a01e08ee5c1bff665133885fb680472ab0702a12 (patch) | |
tree | adbed6c1e288f7fac65fdebee805142b6615d410 /libavcodec/ppc/gcc_fixes.h | |
parent | 265a1ac75ef26aa01257b7c204cd94a3b651ed55 (diff) | |
download | ffmpeg-a01e08ee5c1bff665133885fb680472ab0702a12.tar.gz |
hadamard8_diff* enabled on linux/ppc
Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/gcc_fixes.h')
-rw-r--r-- | libavcodec/ppc/gcc_fixes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/ppc/gcc_fixes.h b/libavcodec/ppc/gcc_fixes.h index 288fdf834f..79c8c444ed 100644 --- a/libavcodec/ppc/gcc_fixes.h +++ b/libavcodec/ppc/gcc_fixes.h @@ -17,8 +17,17 @@ # else # define AVV # endif +#define REG_v(a) asm ( #a ) #else + #define AVV(x...) {x} + +#if (__GNUC__ < 4) +# define REG_v(a) asm ( #a ) +#else +# define REG_v(a) +#endif + #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303) /* This code was provided to me by Bartosch Pixa |