From ee4bc0d8341cba4476c3f1c7937a5e97d6779fd0 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Thu, 30 Oct 2014 19:27:21 +0000 Subject: [PATCH] vzeroupper moved to just before ret. in one case it was done after ret, which is a bug that would cause a performance stall. BUG=none TESTED=try bots R=harryjin@google.com Review URL: https://webrtc-codereview.appspot.com/24159004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1149 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- source/row_win.cc | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.chromium b/README.chromium index 3dabf6d28..a705e3345 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1146 +Version: 1147 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 011454e6a..a1218a934 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 1146 +#define LIBYUV_VERSION 1147 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/source/row_win.cc b/source/row_win.cc index e5ad416b8..efeff7d3e 100644 --- a/source/row_win.cc +++ b/source/row_win.cc @@ -1603,10 +1603,10 @@ void I422ToARGBRow_AVX2(const uint8* y_buf, lea edx, [edx + 64] sub ecx, 16 jg convertloop - vzeroupper pop edi pop esi + vzeroupper ret } } @@ -1649,10 +1649,10 @@ void I422ToBGRARow_AVX2(const uint8* y_buf, lea edx, [edx + 64] sub ecx, 16 jg convertloop - vzeroupper pop edi pop esi + vzeroupper ret } } @@ -1695,10 +1695,10 @@ void I422ToRGBARow_AVX2(const uint8* y_buf, lea edx, [edx + 64] sub ecx, 16 jg convertloop - vzeroupper pop edi pop esi + vzeroupper ret } } @@ -1741,10 +1741,10 @@ void I422ToABGRRow_AVX2(const uint8* y_buf, lea edx, [edx + 64] sub ecx, 16 jg convertloop - vzeroupper pop edi pop esi + vzeroupper ret } } @@ -3123,8 +3123,8 @@ void UYVYToYRow_AVX2(const uint8* src_uyvy, vmovdqu [edx], ymm0 lea edx, [edx + 32] jg convertloop - ret vzeroupper + ret } }