From fdb6114d1b456e1438374671ec42d1d77cdd05f8 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Mon, 10 Nov 2008 15:32:06 -0800 Subject: [PATCH] r1024 borked checkasm Remove idct/dct2x2 from checkasm as they are no longer in dctf --- tools/checkasm.c | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/tools/checkasm.c b/tools/checkasm.c index 2ba42671..f293bb05 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; -- 2.47.3