Commit 103878d5 authored by fbarchard@google.com's avatar fbarchard@google.com

push esi/edi changed to mov eax, esi mov edx, edi

BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/330004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@110 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 2f11976b
Name: libyuv Name: libyuv
URL: http://code.google.com/p/libyuv/ URL: http://code.google.com/p/libyuv/
Version: 109 Version: 110
License: BSD License: BSD
License File: LICENSE License File: LICENSE
......
...@@ -134,7 +134,6 @@ static void SplitUV_C(const uint8* src_uv, ...@@ -134,7 +134,6 @@ static void SplitUV_C(const uint8* src_uv,
#if defined(_M_IX86) && !defined(YUV_DISABLE_ASM) #if defined(_M_IX86) && !defined(YUV_DISABLE_ASM)
#define HAS_COPYROW_SSE2 #define HAS_COPYROW_SSE2
__declspec(naked) __declspec(naked)
void CopyRow_SSE2(const uint8* src, uint8* dst, int count) { void CopyRow_SSE2(const uint8* src, uint8* dst, int count) {
__asm { __asm {
mov eax, [esp + 4] // src mov eax, [esp + 4] // src
...@@ -157,15 +156,15 @@ void CopyRow_SSE2(const uint8* src, uint8* dst, int count) { ...@@ -157,15 +156,15 @@ void CopyRow_SSE2(const uint8* src, uint8* dst, int count) {
__declspec(naked) __declspec(naked)
void CopyRow_X86(const uint8* src, uint8* dst, int count) { void CopyRow_X86(const uint8* src, uint8* dst, int count) {
__asm { __asm {
push esi mov eax, esi
push edi mov edx, edi
mov esi, [esp + 8 + 4] // src mov esi, [esp + 4] // src
mov edi, [esp + 8 + 8] // dst mov edi, [esp + 8] // dst
mov ecx, [esp + 8 + 12] // count mov ecx, [esp + 12] // count
shr ecx, 2 shr ecx, 2
rep movsd rep movsd
pop edi mov edi, edx
pop esi mov esi, eax
ret ret
} }
} }
...@@ -1747,13 +1746,13 @@ static void SetRows32_NEON(uint8* dst, uint32 v32, int width, ...@@ -1747,13 +1746,13 @@ static void SetRows32_NEON(uint8* dst, uint32 v32, int width,
__declspec(naked) __declspec(naked)
static void SetRow8_X86(uint8* dst, uint32 v32, int count) { static void SetRow8_X86(uint8* dst, uint32 v32, int count) {
__asm { __asm {
push edi mov edx, edi
mov edi, [esp + 4 + 4] // dst mov edi, [esp + 4] // dst
mov eax, [esp + 4 + 8] // v32 mov eax, [esp + 8] // v32
mov ecx, [esp + 4 + 12] // count mov ecx, [esp + 12] // count
shr ecx, 2 shr ecx, 2
rep stosd rep stosd
pop edi mov edi, edx
ret ret
} }
} }
......
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