summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseMemoryLibRepStr/X64/CopyMem.S
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-23 06:46:29 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-23 06:46:29 +0000
commit852f5d9673d9a352edb5cfb81980a5d105670a7c (patch)
tree27b0d13cee9f9fe48b8f6561ad92eb879f0cfee6 /MdePkg/Library/BaseMemoryLibRepStr/X64/CopyMem.S
parent6981c77851f35f188b4bfddde834d67c64fa4ac4 (diff)
downloadedk2-852f5d9673d9a352edb5cfb81980a5d105670a7c.tar.gz
edk2-852f5d9673d9a352edb5cfb81980a5d105670a7c.tar.bz2
edk2-852f5d9673d9a352edb5cfb81980a5d105670a7c.zip
unify the name convention of label in .S files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6195 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibRepStr/X64/CopyMem.S')
-rw-r--r--MdePkg/Library/BaseMemoryLibRepStr/X64/CopyMem.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/MdePkg/Library/BaseMemoryLibRepStr/X64/CopyMem.S b/MdePkg/Library/BaseMemoryLibRepStr/X64/CopyMem.S
index 3e7a396b5b..a9c4763483 100644
--- a/MdePkg/Library/BaseMemoryLibRepStr/X64/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibRepStr/X64/CopyMem.S
@@ -44,20 +44,20 @@ ASM_PFX(InternalMemCopyMem):
lea r9, [rsi + r8 - 1] # r9 <- End of Source
cmp rsi, rdi
mov rax, rdi # rax <- Destination as return value
- jae _InternalMemCopyMem_al_0000
+ jae L0
cmp r9, rdi
- jae _atSym_CopyBackward # Copy backward if overlapped
-_InternalMemCopyMem_al_0000:
+ jae L_CopyBackward # Copy backward if overlapped
+L0:
mov rcx, r8
and r8, 7
shr rcx, 3
rep movsq # Copy as many Qwords as possible
- jmp _atSym_CopyBytes
-_atSym_CopyBackward:
+ jmp L_CopyBytes
+L_CopyBackward:
mov rsi, r9 # rsi <- End of Source
lea rdi, [rdi + r8 - 1] # esi <- End of Destination
std # set direction flag
-_atSym_CopyBytes:
+L_CopyBytes:
mov rcx, r8
rep movsb # Copy bytes backward
cld