]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / X64 / CompareMem.S
index 590240591bae90e06ac833ede26f433048766b25..ee6bbe2715a37c543ab3ae6d207584356468ee02 100644 (file)
@@ -3,7 +3,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 #\r
 #\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
 # 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
@@ -46,13 +46,13 @@ ASM_GLOBAL ASM_PFX(InternalMemCompareMem)
 ASM_PFX(InternalMemCompareMem):\r
     pushq   %rsi\r
     pushq   %rdi\r
 ASM_PFX(InternalMemCompareMem):\r
     pushq   %rsi\r
     pushq   %rdi\r
-    movq    %rcx, %rsi \r
-    movq    %rdx, %rdi \r
-    movq    %r8, %rcx \r
+    movq    %rcx, %rsi\r
+    movq    %rdx, %rdi\r
+    movq    %r8, %rcx\r
     repe    cmpsb\r
     movzbq  -1(%rsi), %rax\r
     movzbq  -1(%rdi), %rdx\r
     repe    cmpsb\r
     movzbq  -1(%rsi), %rax\r
     movzbq  -1(%rdi), %rdx\r
-    subq    %rdx, %rax \r
+    subq    %rdx, %rax\r
     popq    %rdi\r
     popq    %rsi\r
     ret\r
     popq    %rdi\r
     popq    %rsi\r
     ret\r