]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteMm0.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteMm0.nasm
index 3f03529edf6bc0e8cd34ddce635efc1ef8eca9c1..e6b5a0fc332cca7ceae1b3390704e86538db02b0 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
@@ -27,9 +27,6 @@
 ;------------------------------------------------------------------------------\r
 global ASM_PFX(AsmWriteMm0)\r
 ASM_PFX(AsmWriteMm0):\r
-    ;\r
-    ; 64-bit MASM doesn't support MMX instructions, so use opcode here\r
-    ;\r
-    DB      0x48, 0xf, 0x6e, 0xc1\r
+    movq    mm0, rcx\r
     ret\r
 \r