From f23c214dca7068e1b38bbf864a2c08065b20f915 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 13 Jul 2006 05:58:02 +0000 Subject: Fix bug in .S files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@952 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S | 1 - MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'MdePkg/Library/BaseMemoryLibMmx') diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S index 6bce0e1372..c7e0b8a2a1 100644 --- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S +++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S @@ -42,7 +42,6 @@ _InternalMemCompareMem: movzbl -1(%esi), %eax movzbl -1(%edi), %edx subl %edx, %eax - subl %edx, %eax pop %edi pop %esi ret diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S index 3c00c2a81e..fff8bde5ea 100644 --- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S +++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S @@ -85,6 +85,6 @@ L2: movsb cld movl 12(%esp), %eax - pop %esi - pop %edi + pop %edi + pop %esi ret -- cgit v1.2.3