[x264-devel] commit: Fix bug in checkasm (David Conrad )

git version control git at videolan.org
Tue Jul 7 10:17:20 CEST 2009


x264 | branch: master | David Conrad <lessen42 at gmail.com> | Fri Jun 26 13:09:44 2009 -0700| [7fd6a9099f18ec028d6c73890258280e6f8a6c02] | committer: Jason Garrett-Glaser 

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.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=7fd6a9099f18ec028d6c73890258280e6f8a6c02
---

 tools/checkasm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/checkasm.c b/tools/checkasm.c
index 4f34309..2452cec 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 )



More information about the x264-devel mailing list