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