]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / X64 / SetMem16.S
index c947afd370dda5f957fbaa9bb400345f0a3574ed..4f77bacf14f7483d58edb0d9c59a5e95f59eb579 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(InternalMemSetMem16)\r
 ASM_PFX(InternalMemSetMem16):\r
     pushq    %rdi\r
-    movq     %r8, %rax \r
-    movd     %rax, %mm0 \r
-    movq     %rcx, %r8 \r
-    movq     %r8, %rdi \r
-    movq     %rdx, %rcx \r
-    andl     $3, %edx \r
+    movq     %r8, %rax\r
+    movd     %rax, %mm0\r
+    movq     %rcx, %r8\r
+    movq     %r8, %rdi\r
+    movq     %rdx, %rcx\r
+    andl     $3, %edx\r
     shrq     $2, %rcx\r
     jz       L_SetWords\r
     .byte    0x0f, 0x70, 0x0C0, 0x00\r
 L0:\r
-    movntq   %mm0, (%rdi) \r
-    addq     $8, %rdi \r
+    movntq   %mm0, (%rdi)\r
+    addq     $8, %rdi\r
     loop     L0\r
     mfence\r
 L_SetWords:\r
-    movl    %edx, %ecx \r
+    movl    %edx, %ecx\r
     rep     stosw\r
     movq    %r8, %rax\r
     popq    %rdi\r