;------------------------------------------------------------------------------\r
;\r
-; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>\r
; SPDX-License-Identifier: BSD-2-Clause-Patent\r
;\r
; Module Name:\r
;------------------------------------------------------------------------------\r
global ASM_PFX(InternalMemSetMem64)\r
ASM_PFX(InternalMemSetMem64):\r
- DB 0x49, 0xf, 0x6e, 0xc0 ; movd mm0, r8 (Value)\r
+ movq mm0, r8\r
mov rax, rcx ; rax <- Buffer\r
xchg rcx, rdx ; rcx <- Count\r
.0:\r
- DB 0xf, 0xe7, 0x2 ; movntq [rdx], mm0\r
+ movntq [rdx], mm0\r
add rdx, 8\r
loop .0\r
mfence\r