mirror of https://github.com/acidanthera/audk.git
Fix bug in backward copy for x64
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3913 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
679efe0afa
commit
a0b4ea2aec
|
@ -39,7 +39,7 @@ InternalMemCopyMem PROC USES rsi rdi
|
|||
cmp rsi, rdi
|
||||
mov rax, rdi ; rax <- Destination as return value
|
||||
jae @F
|
||||
cmp r9, rsi
|
||||
cmp r9, rdi
|
||||
jae @CopyBackward ; Copy backward if overlapped
|
||||
@@:
|
||||
mov rcx, r8
|
||||
|
|
Loading…
Reference in New Issue