]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / X64 / SetMem64.nasm
index f517e1d23a5ac5bfb4c4ddbb9fc9c1e7f8b068eb..fcc44294a8641760c3b2ded00f1ad2859f61d2e7 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\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