mirror of https://github.com/acidanthera/audk.git
Fix typos in GCC assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7866 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
933676058b
commit
2c0bbf4392
|
@ -45,7 +45,7 @@ ASM_PFX(InternalMemCopyMem):
|
||||||
mov rax, rdi # rax <- Destination as return value
|
mov rax, rdi # rax <- Destination as return value
|
||||||
jae L0 # Copy forward if Source > Destination
|
jae L0 # Copy forward if Source > Destination
|
||||||
cmp r9, rdi # Overlapped?
|
cmp r9, rdi # Overlapped?
|
||||||
jae @CopyBackward # Copy backward if overlapped
|
jae L_CopyBackward # Copy backward if overlapped
|
||||||
L0:
|
L0:
|
||||||
xor rcx, rcx
|
xor rcx, rcx
|
||||||
sub rcx, rdi # rcx <- -rdi
|
sub rcx, rdi # rcx <- -rdi
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
.intel_syntax noprefix
|
.intel_syntax noprefix
|
||||||
.globl ASM_PFX(InternalMemSetMem)
|
.globl ASM_PFX(InternalMemSetMem)
|
||||||
ASM_PFX(InternalMemZeroMem):
|
ASM_PFX(InternalMemSetMem):
|
||||||
push rdi
|
push rdi
|
||||||
push rbx
|
push rbx
|
||||||
push rcx # push Buffer
|
push rcx # push Buffer
|
||||||
|
|
Loading…
Reference in New Issue