]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteMm6.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteMm6.nasm
index 6d2e5eb8fbb819d1bfb5d3e45e7560aa91d293eb..4555563a55c105382d629ee774565aa37987e68d 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(AsmWriteMm6)\r
 ASM_PFX(AsmWriteMm6):\r
-    ;\r
-    ; 64-bit MASM doesn't support MMX instructions, so use opcode here\r
-    ;\r
-    DB      0x48, 0xf, 0x6e, 0xf1\r
+    movq    mm6, rcx\r
     ret\r
 \r