]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/CRT/Ia32/udivdi3.S
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / StdLib / LibC / CRT / Ia32 / udivdi3.S
diff --git a/StdLib/LibC/CRT/Ia32/udivdi3.S b/StdLib/LibC/CRT/Ia32/udivdi3.S
deleted file mode 100644 (file)
index 336d75e..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials are licensed and made available\r
-# under the terms and conditions of the BSD License which accompanies this\r
-# 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
-#   MathDivU64x64.S\r
-#\r
-# Abstract:\r
-#\r
-#   64-bit Math Worker Function.\r
-#   Divides a 64-bit unsigned value with a 64-bit unsigned value and returns\r
-#   a 64-bit unsigned result.\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-    .686:\r
-    .code:\r
-\r
-ASM_GLOBAL ASM_PFX(__udivdi3), ASM_PFX(DivU64x64Remainder)\r
-\r
-#------------------------------------------------------------------------------\r
-#\r
-# void __cdecl __udivdi3 (void)\r
-#\r
-#------------------------------------------------------------------------------\r
-ASM_PFX(__udivdi3):\r
-    # Original local stack when calling __udivdi3\r
-    #               -----------------\r
-    #               |               |\r
-    #               |---------------|\r
-    #               |               |\r
-    #               |--  Divisor  --|\r
-    #               |               |\r
-    #               |---------------|\r
-    #               |               |\r
-    #               |--  Dividend --|\r
-    #               |               |\r
-    #               |---------------|\r
-    #               |  ReturnAddr** |\r
-    #       ESP---->|---------------|\r
-    #\r
-\r
-    #\r
-    # Set up the local stack for NULL Reminder pointer\r
-    #\r
-    xorl    %eax, %eax\r
-    push    %eax\r
-\r
-    #\r
-    # Set up the local stack for Divisor parameter\r
-    #\r
-    movl    20(%esp), %eax\r
-    push    %eax\r
-    movl    20(%esp), %eax\r
-    push    %eax\r
-\r
-    #\r
-    # Set up the local stack for Dividend parameter\r
-    #\r
-    movl    20(%esp), %eax\r
-    push    %eax\r
-    movl    20(%esp), %eax\r
-    push    %eax\r
-\r
-    #\r
-    # Call native DivU64x64Remainder of BaseLib\r
-    #\r
-    jmp     ASM_PFX(DivU64x64Remainder)\r
-\r
-    #\r
-    # Adjust stack\r
-    #\r
-    addl    $20, %esp\r
-\r
-    ret     $16\r