diff options
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S')
-rw-r--r-- | MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S b/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S index 2391348b2c..c3a4d76b4f 100644 --- a/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S +++ b/MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -47,10 +47,10 @@ ASM_PFX(InternalMemSetMem): movq %rdx, %rcx # rcx = Count
shrq $3, %rcx # rcx = rcx / 8
cld
- rep stosq
+ rep stosq
movq %rdx, %rcx # rcx = rdx
andq $7, %rcx # rcx = rcx & 7
- rep stosb
+ rep stosb
popq %rax # rax = Buffer
popq %rbx
popq %rdi
|