summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseMemoryLibMmx
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-13 05:58:02 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-13 05:58:02 +0000
commitf23c214dca7068e1b38bbf864a2c08065b20f915 (patch)
tree4aa0549acfe704f6d249e87919647449f242df05 /MdePkg/Library/BaseMemoryLibMmx
parent3e50a75cd2c7be43a2ea258ba6b9bc278cc78161 (diff)
downloadedk2-platforms-f23c214dca7068e1b38bbf864a2c08065b20f915.tar.xz
Fix bug in .S files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@952 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibMmx')
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S1
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S4
2 files changed, 2 insertions, 3 deletions
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