diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-02-09 15:01:51 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-02-09 15:03:04 +0100 |
commit | 7a259a5fcdc3bbac80c86a911dd4072807b65829 (patch) | |
tree | 324eaffc72f6a909cd041e4ca989f488912b6014 | |
parent | b46a8f055ee5f49e1c27bdc82f857018b5a140c7 (diff) | |
download | ffmpeg-7a259a5fcdc3bbac80c86a911dd4072807b65829.tar.gz |
Fix libpostproc compilation on x86_32 with disable-optimizations.
-rw-r--r-- | libpostproc/postprocess_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c index 4152f67131..ad0404f76b 100644 --- a/libpostproc/postprocess_template.c +++ b/libpostproc/postprocess_template.c @@ -1089,7 +1089,7 @@ static inline void RENAME(doVertDefFilter)(uint8_t src[], int stride, PPContext #if !TEMPLATE_PP_ALTIVEC static inline void RENAME(dering)(uint8_t src[], int stride, PPContext *c) { -#if TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW +#if HAVE_7REGS && (TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW) DECLARE_ALIGNED(8, uint64_t, tmp)[3]; __asm__ volatile( "pxor %%mm6, %%mm6 \n\t" @@ -1315,7 +1315,7 @@ DERING_CORE((%0, %1, 8) ,(%%REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,%%mm1, : : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb), "m"(c->pQPb2), "q"(tmp) : "%"REG_a, "%"REG_d ); -#else //TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW +#else // HAVE_7REGS && (TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW) int y; int min=255; int max=0; |