From a01e08ee5c1bff665133885fb680472ab0702a12 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 7 Apr 2006 12:40:28 +0000 Subject: hadamard8_diff* enabled on linux/ppc Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ppc/gcc_fixes.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libavcodec/ppc/gcc_fixes.h') 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 -- cgit v1.2.3