diff options
-rw-r--r-- | MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S | 2 | ||||
-rw-r--r-- | MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S b/MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S index fecacc12be..ac67abf6d8 100644 --- a/MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S +++ b/MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S @@ -45,7 +45,7 @@ ASM_PFX(InternalMemCopyMem): mov rax, rdi # rax <- Destination as return value
jae L0 # Copy forward if Source > Destination
cmp r9, rdi # Overlapped?
- jae @CopyBackward # Copy backward if overlapped
+ jae L_CopyBackward # Copy backward if overlapped
L0:
xor rcx, rcx
sub rcx, rdi # rcx <- -rdi
diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S b/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S index 5cadd4c5ee..91e9e88815 100644 --- a/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S +++ b/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S @@ -31,7 +31,7 @@ #------------------------------------------------------------------------------
.intel_syntax noprefix
.globl ASM_PFX(InternalMemSetMem)
-ASM_PFX(InternalMemZeroMem):
+ASM_PFX(InternalMemSetMem):
push rdi
push rbx
push rcx # push Buffer
|