From b9d17e1d79e94331f0c0e4aee4d7066c1b1c3b48 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Mon, 17 Nov 2014 19:50:42 +0000 Subject: [PATCH] Fix offset in addresses for windows. Wants it within [] now. BUG=none TESTED=local windows build. R=harryjin@google.com Review URL: https://webrtc-codereview.appspot.com/32479004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1168 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- source/row_win.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/row_win.cc b/source/row_win.cc index 444791491..aea284d9a 100644 --- a/source/row_win.cc +++ b/source/row_win.cc @@ -2431,7 +2431,7 @@ void MirrorRow_AVX2(const uint8* src, uint8* dst, int width) { align 4 convertloop: - vmovdqu ymm0, -32[eax + ecx] + vmovdqu ymm0, [eax - 32 + ecx] vpshufb ymm0, ymm0, ymm5 vpermq ymm0, ymm0, 0x4e // swap high and low halfs sub ecx, 32 @@ -2454,7 +2454,7 @@ void MirrorRow_SSE2(const uint8* src, uint8* dst, int width) { align 4 convertloop: - movdqu xmm0, -16[eax + ecx] + movdqu xmm0, [eax - 16 + ecx] movdqa xmm1, xmm0 // swap bytes psllw xmm0, 8 psrlw xmm1, 8 @@ -2552,7 +2552,7 @@ void ARGBMirrorRow_AVX2(const uint8* src, uint8* dst, int width) { align 4 convertloop: - vpermd ymm0, ymm5, -32[eax + ecx * 4] // permute dword order + vpermd ymm0, ymm5, [eax - 32 + ecx * 4] // permute dword order sub ecx, 8 vmovdqu [edx], ymm0 lea edx, [edx + 32]