#\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(InternalMemScanMem64)\r
ASM_PFX(InternalMemScanMem64):\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 scasq\r
leaq -8(%rdi), %rax\r
- cmovnz %rcx, %rax \r
+ cmovnz %rcx, %rax\r
popq %rdi\r
ret\r