diff --git a/README.chromium b/README.chromium index abd0e7d9c..d90c04228 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1684 +Version: 1685 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 68919b202..3e11fd6c4 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 1684 +#define LIBYUV_VERSION 1685 #endif // INCLUDE_LIBYUV_VERSION_H_ diff --git a/source/row_gcc.cc b/source/row_gcc.cc index d322c7b8b..70f72b207 100644 --- a/source/row_gcc.cc +++ b/source/row_gcc.cc @@ -5910,7 +5910,8 @@ static float kScaleBias = 1.9259299444e-34f; void HalfFloatRow_SSE2(const uint16* src, uint16* dst, float scale, int width) { scale *= kScaleBias; asm volatile ( - "pshufd $0x0,%3,%%xmm4 \n" + "movd %3,%%xmm4 \n" + "pshufd $0x0,%%xmm4,%%xmm4 \n" "pxor %%xmm5,%%xmm5 \n" "sub %0,%1 \n" @@ -5935,11 +5936,7 @@ void HalfFloatRow_SSE2(const uint16* src, uint16* dst, float scale, int width) { : "+r"(src), // %0 "+r"(dst), // %1 "+r"(width) // %2 -#if defined(__x86_64__) - : "x"(scale) // %3 -#else : "m"(scale) // %3 -#endif : "memory", "cc", "xmm2", "xmm3", "xmm4", "xmm5" );