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