From: Henrik Gramner Date: Sat, 29 Nov 2014 17:47:52 +0000 (+0100) Subject: checkasm: Fix V210 reporting X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e97ca566fdf6cd36281e26ee68f64993f4751a1;p=libx264 checkasm: Fix V210 reporting It would previously report FAILED if any of the earlier plane_copy tests failed. --- diff --git a/tools/checkasm.c b/tools/checkasm.c index a0e8810c..a4cb97e9 100644 --- a/tools/checkasm.c +++ b/tools/checkasm.c @@ -1496,7 +1496,7 @@ static int check_mc( int cpu_ref, int cpu_new ) if( mc_a.plane_copy_deinterleave_v210 != mc_ref.plane_copy_deinterleave_v210 ) { set_func_name( "plane_copy_deinterleave_v210" ); - used_asm = 1; + ok = 1; used_asm = 1; for( int i = 0; i < sizeof(plane_specs)/sizeof(*plane_specs); i++ ) { int w = (plane_specs[i].w + 1) >> 1; @@ -1517,8 +1517,8 @@ static int check_mc( int cpu_ref, int cpu_new ) break; } } + report( "v210 :" ); } - report( "v210 :" ); if( mc_a.hpel_filter != mc_ref.hpel_filter ) {