From 55c20a861e3a503839fd2007b302bc20c11d9460 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Tue, 2 Apr 2013 22:03:49 +0000 Subject: [PATCH] Fix movdqu in yuy2 BUG=none TEST=ToYUY2* Review URL: https://webrtc-codereview.appspot.com/1271005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@634 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- source/row_posix.cc | 4 ++-- source/row_win.cc | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.chromium b/README.chromium index a3ce58217..ffd39ac75 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 633 +Version: 634 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index e4e6266c5..801757f5e 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 633 +#define LIBYUV_VERSION 634 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/source/row_posix.cc b/source/row_posix.cc index 83a440787..42dd798e2 100644 --- a/source/row_posix.cc +++ b/source/row_posix.cc @@ -5117,9 +5117,9 @@ void I422ToYUY2Row_SSE2(const uint8* src_y, "movq (%1,%2,1),%%xmm3 \n" "lea 0x8(%1),%1 \n" "punpcklbw %%xmm3,%%xmm2 \n" - "movdqa (%0),%%xmm0 \n" + "movdqu (%0),%%xmm0 \n" "lea 0x10(%0),%0 \n" - "movdqu %%xmm0,%%xmm1 \n" + "movdqa %%xmm0,%%xmm1 \n" "punpcklbw %%xmm2,%%xmm0 \n" "punpckhbw %%xmm2,%%xmm1 \n" "movdqu %%xmm0,(%3) \n" diff --git a/source/row_win.cc b/source/row_win.cc index 44af821b3..a939c82a5 100644 --- a/source/row_win.cc +++ b/source/row_win.cc @@ -6146,7 +6146,7 @@ void I422ToYUY2Row_SSE2(const uint8* src_y, punpcklbw xmm2, xmm3 // UV movdqu xmm0, [eax] // Y lea eax, [eax + 16] - movdqu xmm1, xmm0 + movdqa xmm1, xmm0 punpcklbw xmm0, xmm2 // YUYV punpckhbw xmm1, xmm2 movdqu [edi], xmm0