[x264-devel] checkasm: Fix incorrect memcmp size for ARM architecture
Anton Mitrofanov
git at videolan.org
Sun Jul 26 22:26:29 CEST 2015
x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Wed May 20 23:10:20 2015 +0300| [003414a4b3724f0972e4507dfd1432dd442d2228] | committer: Anton Mitrofanov
checkasm: Fix incorrect memcmp size for ARM architecture
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=003414a4b3724f0972e4507dfd1432dd442d2228
---
tools/checkasm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/checkasm.c b/tools/checkasm.c
index c2e06db..0ef7d1d 100644
--- a/tools/checkasm.c
+++ b/tools/checkasm.c
@@ -641,7 +641,7 @@ static int check_pixel( int cpu_ref, int cpu_new )
} \
predict_8x8[res_c>>16]( fdec1, edge ); \
int res_a = call_a( pixel_asm.name, fenc, fdec2, edge, bitcosts+8-pred_mode, satds_a ); \
- if( res_c != res_a || memcmp(satds_c, satds_a, sizeof(satds_c)) ) \
+ if( res_c != res_a || memcmp(satds_c, satds_a, 16 * sizeof(*satds_c)) ) \
{ \
ok = 0; \
fprintf( stderr, #name": %d,%d != %d,%d [FAILED]\n", res_c>>16, res_c&0xffff, res_a>>16, res_a&0xffff ); \
More information about the x264-devel
mailing list