]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem64.S
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / X64 / ScanMem64.S
index dd7c1b8634e546630fc59aad7ae6c85737bd5ad0..2e59c8dd527088c466f31ff2d1ed929fc5332c22 100644 (file)
@@ -3,7 +3,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
 ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 ASM_PFX(InternalMemScanMem64):\r
     pushq    %rdi\r
-    movq     %rcx, %rdi \r
-    movq     %r8, %rax \r
-    movq     %rdx, %rcx \r
+    movq     %rcx, %rdi\r
+    movq     %r8, %rax\r
+    movq     %rdx, %rcx\r
     repne    scasq\r
     leaq     -8(%rdi), %rax\r
-    cmovnz   %rcx, %rax \r
+    cmovnz   %rcx, %rax\r
     popq     %rdi\r
     ret\r