mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 07:04:28 +02:00
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
|
cmp rsi, rdi
|
||||||
mov rax, rdi ; rax <- Destination as return value
|
mov rax, rdi ; rax <- Destination as return value
|
||||||
jae @F
|
jae @F
|
||||||
cmp r9, rsi
|
cmp r9, rdi
|
||||||
jae @CopyBackward ; Copy backward if overlapped
|
jae @CopyBackward ; Copy backward if overlapped
|
||||||
@@:
|
@@:
|
||||||
mov rcx, r8
|
mov rcx, r8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user