]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem8.S
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / X64 / ScanMem8.S
index 4f3b950a34ab27d891a9c153ddf0d13e6dd7bf54..4bdacf7e01343dfeebed09b86fd632596120e8e3 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
@@ -45,9 +45,9 @@
 ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 ASM_PFX(InternalMemScanMem8):\r
     pushq    %rdi\r
-    movq     %rcx, %rdi \r
-    movq     %rdx, %rcx  \r
-    movq     %r8,   %rax \r
+    movq     %rcx, %rdi\r
+    movq     %rdx, %rcx\r
+    movq     %r8,   %rax\r
     repne    scasb\r
     leaq     -1(%rdi), %rax\r
     cmovnz   %rcx, %rax                     # set rax to 0 if not found\r