git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8207
6f19259b-4bc3-4df7-8a09-
765794883524
#\r
#------------------------------------------------------------------------------\r
\r
- .386:\r
- .code:\r
-\r
.globl ASM_PFX(InternalMemSetMem)\r
\r
#------------------------------------------------------------------------------\r
push %edi\r
movl 12(%esp),%ecx\r
movb 16(%esp),%al\r
- movb %ah, %al\r
+ movb %al, %ah\r
shrd $16, %eax, %edx\r
shld $16, %edx, %eax\r
- movl %edx, %ecx\r
- movl 8(%esp),%edi\r
- shrd $2, %ecx, %ecx\r
- rep \r
- stosl\r
movl %ecx, %edx\r
+ movl 8(%esp),%edi\r
+ shr $2, %ecx\r
+ rep stosl\r
+ movl %edx, %ecx\r
andl $3, %ecx\r
- rep\r
- stosb\r
+ rep stosb\r
movl 8(%esp),%eax\r
pop %edi\r
ret\r