Commit c7bd1dbe authored by fbarchard@google.com's avatar fbarchard@google.com

remove extra lea on gcc libyuv scale

BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/562007

git-svn-id: http://libyuv.googlecode.com/svn/trunk@263 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent ca4749dd
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 261
Version: 263
License: BSD
License File: LICENSE
......
......@@ -30,7 +30,7 @@ static const int kCpuHasNEON = 32;
static const int kCpuInitialized = 64;
// Detect CPU has SSE2 etc.
// test_flag parameter should be one of kCpuHas constants above
// Test_flag parameter should be one of kCpuHas constants above.
// returns non-zero if instruction set is detected
static __inline int TestCpuFlag(int test_flag) {
extern int cpu_info_;
......@@ -41,8 +41,7 @@ static __inline int TestCpuFlag(int test_flag) {
// For testing, allow CPU flags to be disabled.
// ie MaskCpuFlags(~kCpuHasSSSE3) to disable SSSE3.
// MaskCpuFlags(-1) to enable all cpu specific optimizations.
// MaskCpuFlags(kCpuInitialized) to disable all cpu specific optimizations.
// MaskCpuFlags(0) to re-initialize all cpu detection.
// MaskCpuFlags(0) to disable all cpu specific optimizations.
void MaskCpuFlags(int enable_flags);
// Low level cpuid for X86. Returns zeros on other CPUs.
......
......@@ -11,7 +11,7 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 261
#define LIBYUV_VERSION 263
#endif // INCLUDE_LIBYUV_VERSION_H_
......@@ -1972,7 +1972,6 @@ static void ScaleFilterRows_SSE2(uint8* dst_ptr,
"sub $0x10,%2 \n"
"movdqa %%xmm0,(%1,%0,1) \n"
"lea 0x10(%1),%1 \n"
"lea 0x10(%1),%1 \n"
"jg 3b \n"
".p2align 4 \n"
"4: \n"
......
......@@ -720,7 +720,6 @@ static void ScaleARGBDown2(int src_width, int src_height,
}
}
/**
* ScaleARGB ARGB Even
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment