diff ppc/dsputil_ppc.c @ 3949:6020c2f3b16b libavcodec

fix the dcbz check and move it in configure
author lu_zero
date Sat, 07 Oct 2006 19:14:25 +0000
parents c8c591fe26f8
children b6f6bf155661
line wrap: on
line diff
--- a/ppc/dsputil_ppc.c	Sat Oct 07 15:44:14 2006 +0000
+++ b/ppc/dsputil_ppc.c	Sat Oct 07 19:14:25 2006 +0000
@@ -175,7 +175,7 @@
 
 /* same as above, when dcbzl clear a whole 128B cache line
    i.e. the PPC970 aka G5 */
-#ifndef NO_DCBZL
+#ifdef HAVE_DCBZL
 void clear_blocks_dcbz128_ppc(DCTELEM *blocks)
 {
 POWERPC_PERF_DECLARE(powerpc_clear_blocks_dcbz128, 1);
@@ -205,7 +205,7 @@
 }
 #endif
 
-#ifndef NO_DCBZL
+#ifdef HAVE_DCBZL
 /* check dcbz report how many bytes are set to 0 by dcbz */
 /* update 24/06/2003 : replace dcbz by dcbzl to get
    the intended effect (Apple "fixed" dcbz)