Gcc cleanup for baselib & basememorylib in mdepkg/library/

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5587 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian
2008-07-31 06:23:32 +00:00
parent 5f87392966
commit 85c25283ed
104 changed files with 285 additions and 290 deletions

View File

@@ -24,7 +24,7 @@
.386:
.code:
.globl _InternalMemSetMem
.globl ASM_PFX(InternalMemSetMem)
#------------------------------------------------------------------------------
# VOID *
@@ -34,20 +34,20 @@
# IN UINT8 Value
# )
#------------------------------------------------------------------------------
_InternalMemSetMem:
ASM_PFX(InternalMemSetMem):
push %edi
movl 12(%esp),%ecx
movb 16(%esp),%al
movb %ah, %al
movb %ah, %al
shrd $16, %eax, %edx
shld $16, %edx, %eax
movl %edx, %ecx
movl %edx, %ecx
movl 8(%esp),%edi
shrd $2, %ecx, %ecx
rep
stosl
movl %ecx, %edx
andl $3, %ecx
shrd $2, %ecx, %ecx
rep
stosl
movl %ecx, %edx
andl $3, %ecx
rep
stosb
movl 8(%esp),%eax