]> granicus.if.org Git - libx264/commitdiff
r1024 borked checkasm
authorFiona Glaser <fiona@x264.com>
Mon, 10 Nov 2008 23:32:06 +0000 (15:32 -0800)
committerFiona Glaser <fiona@x264.com>
Mon, 10 Nov 2008 23:32:06 +0000 (15:32 -0800)
Remove idct/dct2x2 from checkasm as they are no longer in dctf

tools/checkasm.c

index d2b9b870ce56e0b73e76cdfbf67541c356dfdc6c..f7366b99bf447e2198b0f04bbddd6f2aa0c36c95 100644 (file)
@@ -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;