#\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