]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem32.S
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / X64 / ScanMem32.S
index 05b6f6489ab31981435f9ddada882777b40b2e79..93e6cc2f13f151652bdc09aadef889de72829f64 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(InternalMemScanMem32)\r
 ASM_PFX(InternalMemScanMem32):\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    scasl\r
     leaq     -4(%rdi), %rax\r
-    cmovnz   %rcx, %rax \r
+    cmovnz   %rcx, %rax\r
     popq     %rdi\r
     ret\r
 \r