From e8c90c31ee2e534eeeae7e86c660dcb3c993a9b4 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Mon, 4 May 2015 21:16:03 +0000 Subject: [PATCH] fix for warning on ios 64 bit that int width doesnt match %2 size which is 64 bit by default. change size to explicitely 32 bit with %w2. BUG=437 TESTED=try bots R=bcornell@google.com Review URL: https://webrtc-codereview.appspot.com/49279004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1397 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- source/compare_neon64.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/compare_neon64.cc b/source/compare_neon64.cc index cc078f84c..6d1e5e1bc 100644 --- a/source/compare_neon64.cc +++ b/source/compare_neon64.cc @@ -32,7 +32,7 @@ uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { "ld1 {v0.16b}, [%0], #16 \n" MEMACCESS(1) "ld1 {v1.16b}, [%1], #16 \n" - "subs %2, %2, #16 \n" + "subs %w2, %w2, #16 \n" "usubl v2.8h, v0.8b, v1.8b \n" "usubl2 v3.8h, v0.16b, v1.16b \n" "smlal v16.4s, v2.4h, v2.4h \n"