]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OldMdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.asm
Retiring the ANT/JAVA build and removing the older EDK II packages that required...
[mirror_edk2.git] / OldMdePkg / Library / BaseMemoryLibMmx / Ia32 / ScanMem64.asm
diff --git a/OldMdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.asm b/OldMdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.asm
deleted file mode 100644 (file)
index ca54f13..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-;------------------------------------------------------------------------------\r
-;\r
-; Copyright (c) 2006, Intel Corporation\r
-; All rights reserved. This program and the accompanying materials\r
-; are licensed and made available under the terms and conditions of the BSD License\r
-; which accompanies this distribution.  The full text of the license may be found at\r
-; http://opensource.org/licenses/bsd-license.php\r
-;\r
-; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-;\r
-; Module Name:\r
-;\r
-;   ScanMem64.Asm\r
-;\r
-; Abstract:\r
-;\r
-;   ScanMem64 function\r
-;\r
-; Notes:\r
-;\r
-;   The following BaseMemoryLib instances share the same version of this file:\r
-;\r
-;       BaseMemoryLibRepStr\r
-;       BaseMemoryLibMmx\r
-;       BaseMemoryLibSse2\r
-;\r
-;------------------------------------------------------------------------------\r
-\r
-    .686\r
-    .model  flat,C\r
-    .code\r
-\r
-;------------------------------------------------------------------------------\r
-; CONST VOID *\r
-; EFIAPI\r
-; InternalMemScanMem64 (\r
-;   IN      CONST VOID                *Buffer,\r
-;   IN      UINTN                     Length,\r
-;   IN      UINT64                    Value\r
-;   );\r
-;------------------------------------------------------------------------------\r
-InternalMemScanMem64    PROC    USES    edi\r
-    mov     ecx, [esp + 12]\r
-    mov     eax, [esp + 16]\r
-    mov     edx, [esp + 20]\r
-    mov     edi, [esp + 8]\r
-@@:\r
-    cmp     eax, [edi]\r
-    lea     edi, [edi + 8]\r
-    loopne  @B\r
-    jne     @F\r
-    cmp     edx, [edi - 4]\r
-    jecxz   @F\r
-    jne     @B\r
-@@:\r
-    lea     eax, [edi - 8]\r
-    cmovne  eax, ecx\r
-    ret\r
-InternalMemScanMem64    ENDP\r
-\r
-    END\r