From: David Conrad Date: Fri, 26 Jun 2009 20:09:44 +0000 (-0700) Subject: Fix bug in checkasm X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a96d510fd0aef8ccf73717754482c03c4063c0d;p=libx264 Fix bug in checkasm frame_init_lowres_core check didn't check the C plane. However, all x86 and PPC assembly was correct regardless of the unit test being incorrect. --- diff --git a/tools/checkasm.c b/tools/checkasm.c index 2b882962..a42cd06b 100644 --- a/tools/checkasm.c +++ b/tools/checkasm.c @@ -855,7 +855,7 @@ static int check_mc( int cpu_ref, int cpu_new ) if( mc_a.frame_init_lowres_core != mc_ref.frame_init_lowres_core ) { uint8_t *dstc[4] = { buf3, buf3+1024, buf3+2048, buf3+3072 }; - uint8_t *dsta[4] = { buf4, buf4+1024, buf4+2048, buf3+3072 }; + uint8_t *dsta[4] = { buf4, buf4+1024, buf4+2048, buf4+3072 }; set_func_name( "lowres_init" ); ok = 1; used_asm = 1; for( w=40; w<=48; w+=8 )