From 71deb7ba3aa246295245f80ab36bcd00cebe960a Mon Sep 17 00:00:00 2001 From: Frank Barchard Date: Tue, 22 Dec 2015 10:28:48 -0800 Subject: [PATCH] bug fix - remove shift from InterpolateRow_AVX2 TBR=harryjin@google.com BUG=libyuv:537 Review URL: https://codereview.chromium.org/1547703002 . --- README.chromium | 2 +- include/libyuv/version.h | 2 +- source/row_gcc.cc | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.chromium b/README.chromium index c1166d678..96dcd4f99 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1559 +Version: 1560 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index d6becec8c..08d5b66aa 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 1559 +#define LIBYUV_VERSION 1560 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/source/row_gcc.cc b/source/row_gcc.cc index 8de29e5ff..80b2a95aa 100644 --- a/source/row_gcc.cc +++ b/source/row_gcc.cc @@ -4871,11 +4871,10 @@ void InterpolateRow_AVX2(uint8* dst_ptr, const uint8* src_ptr, ptrdiff_t src_stride, int dst_width, int source_y_fraction) { asm volatile ( - "shr %3 \n" "cmp $0x0,%3 \n" "je 100f \n" "sub %1,%0 \n" - "cmp $0x40,%3 \n" + "cmp $0x80,%3 \n" "je 50f \n" "vmovd %3,%%xmm0 \n"