[x264-devel] commit: r1024 borked checkasm (Jason Garrett-Glaser )

git version control git at videolan.org
Tue Nov 11 00:49:37 CET 2008


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Mon Nov 10 15:32:06 2008 -0800| [fdb6114d1b456e1438374671ec42d1d77cdd05f8] | committer: Jason Garrett-Glaser 

r1024 borked checkasm
Remove idct/dct2x2 from checkasm as they are no longer in dctf

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

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

diff --git a/tools/checkasm.c b/tools/checkasm.c
index 2ba4267..f293bb0 100644
--- a/tools/checkasm.c
+++ b/tools/checkasm.c
@@ -566,37 +566,6 @@ static int check_dct( int cpu_ref, int cpu_new )
     }
     report( "(i)dct4x4dc :" );
 
-    ok = 1; used_asm = 0;
-    if( dct_asm.dct2x2dc != dct_ref.dct2x2dc )
-    {
-        DECLARE_ALIGNED_16( int16_t dct1[2][2] ) = {{-12, 42},{2, 90}};
-        DECLARE_ALIGNED_16( int16_t dct2[2][2] ) = {{-12, 42},{2, 90}};
-        set_func_name( "dct2x2dc" );
-        used_asm = 1;
-        call_c( dct_c.dct2x2dc, dct1 );
-        call_a( dct_asm.dct2x2dc, dct2 );
-        if( memcmp( dct1, dct2, 4*2 ) )
-        {
-            ok = 0;
-            fprintf( stderr, " - dct2x2dc :        [FAILED]\n" );
-        }
-    }
-    if( dct_asm.idct2x2dc != dct_ref.idct2x2dc )
-    {
-        DECLARE_ALIGNED_16( int16_t dct1[2][2] ) = {{-12, 42},{2, 90}};
-        DECLARE_ALIGNED_16( int16_t dct2[2][2] ) = {{-12, 42},{2, 90}};
-        set_func_name( "idct2x2dc" );
-        used_asm = 1;
-        call_c( dct_c.idct2x2dc, dct1 );
-        call_a( dct_asm.idct2x2dc, dct2 );
-        if( memcmp( dct1, dct2, 4*2 ) )
-        {
-            ok = 0;
-            fprintf( stderr, " - idct2x2dc :       [FAILED]\n" );
-        }
-    }
-    report( "(i)dct2x2dc :" );
-
     x264_zigzag_function_t zigzag_c;
     x264_zigzag_function_t zigzag_ref;
     x264_zigzag_function_t zigzag_asm;



More information about the x264-devel mailing list