Fix bug in .S files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@952 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2006-07-13 05:58:02 +00:00
parent 3e50a75cd2
commit f23c214dca
6 changed files with 6 additions and 6 deletions

View File

@ -42,7 +42,6 @@ _InternalMemCompareMem:
movzbl -1(%esi), %eax
movzbl -1(%edi), %edx
subl %edx, %eax
subl %edx, %eax
pop %edi
pop %esi
ret

View File

@ -85,6 +85,6 @@ L2:
movsb
cld
movl 12(%esp), %eax
pop %esi
pop %edi
pop %edi
pop %esi
ret

View File

@ -53,6 +53,6 @@ L0:
movsb # Copy bytes backward
cld
movl 12(%esp),%eax # eax <- Destination as return value
pop %edi
pop %esi
pop %edi
pop %esi
ret

View File

@ -39,4 +39,5 @@ _InternalMemScanMem8:
repne scasb
leal -1(%edi),%eax
cmovnz %ecx, %eax
pop %edi
ret

View File

@ -33,4 +33,5 @@ _InternalMemSetMem:
rep
stosb
movl 8(%esp),%eax
pop %edi
ret

View File

@ -42,7 +42,6 @@ _InternalMemCompareMem:
movzbl -1(%esi), %eax
movzbl -1(%edi), %edx
subl %edx, %eax
subl %edx, %eax
pop %edi
pop %esi
ret