]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem16.S
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / X64 / ScanMem16.S
index 8f1899606af3047f96f284d8da6b1c650b885685..358651419a265855344bfebd2cefa084b9fad47f 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(InternalMemScanMem16)\r
 ASM_PFX(InternalMemScanMem16):\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   scasw\r
     leaq    -2(%rdi), %rax\r
-    cmovnz  %rcx, %rax \r
+    cmovnz  %rcx, %rax\r
     popq    %rdi\r
     ret\r
 \r