diff --git a/README.chromium b/README.chromium index bed0185f8..c6fba999b 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 750 +Version: 751 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index d007da1ff..86e756ce9 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 750 +#define LIBYUV_VERSION 751 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/source/row_posix.cc b/source/row_posix.cc index 4338ae358..d03cf40fe 100644 --- a/source/row_posix.cc +++ b/source/row_posix.cc @@ -27,7 +27,7 @@ extern "C" { #define MEMLEA4(offset, base, index, scale) \ #offset "(%q" #base ",%q" #index "," #scale ")" #define MEMMOVESTRING(s, d) "%%nacl:(%q" #s "),%%nacl:(%q" #d "), %%r15" -#define MEMSTORESTRING(d) "%%nacl:(%q" #d "), %%r15" +#define MEMSTORESTRING(reg, d) "%%" #reg ",%%nacl:(%q" #d "), %%r15" #else #define MEMACCESS(base) "(%" #base ")" #define MEMACCESS2(offset, base) #offset "(%" #base ")" @@ -35,7 +35,7 @@ extern "C" { #define MEMLEA4(offset, base, index, scale) \ #offset "(%" #base ",%" #index "," #scale ")" #define MEMMOVESTRING(s, d) -#define MEMSTORESTRING(d) +#define MEMSTORESTRING(reg, d) #endif #if defined(HAS_ARGBTOYROW_SSSE3) || defined(HAS_ARGBGRAYROW_SSSE3) @@ -3074,7 +3074,7 @@ void SetRow_X86(uint8* dst, uint32 v32, int width) { size_t width_tmp = static_cast(width); asm volatile ( "shr $0x2,%1 \n" - "rep stosl "MEMSTORESTRING(0)" \n" + "rep stosl "MEMSTORESTRING(eax,0)" \n" : "+D"(dst), // %0 "+c"(width_tmp) // %1 : "a"(v32) // %2 @@ -3087,7 +3087,7 @@ void ARGBSetRows_X86(uint8* dst, uint32 v32, int width, size_t width_tmp = static_cast(width); uint32* d = reinterpret_cast(dst); asm volatile ( - "rep stosl "MEMSTORESTRING(0)" \n" + "rep stosl "MEMSTORESTRING(eax,0)" \n" : "+D"(d), // %0 "+c"(width_tmp) // %1 : "a"(v32) // %2