bug fix - remove shift from InterpolateRow_AVX2

TBR=harryjin@google.com
BUG=libyuv:537

Review URL: https://codereview.chromium.org/1547703002 .
This commit is contained in:
Frank Barchard 2015-12-22 10:28:48 -08:00
parent 2cb2e9e1ad
commit 71deb7ba3a
3 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1559
Version: 1560
License: BSD
License File: LICENSE

View File

@ -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

View File

@ -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"