X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FMultU64x32.asm;fp=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FMultU64x32.asm;h=9c9ef069964dc009fe32f9e5f0df4052975ec7b9;hb=3f566587aea64bb986866c7f69a6b82891bf59db;hp=e2806e3082e59cccfee12d2c4cb6464037e6ea39;hpb=31a9215c3223d3818d1709f39d06774e18df103f;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ia32/MultU64x32.asm b/MdePkg/Library/BaseLib/Ia32/MultU64x32.asm index e2806e3082..9c9ef06996 100644 --- a/MdePkg/Library/BaseLib/Ia32/MultU64x32.asm +++ b/MdePkg/Library/BaseLib/Ia32/MultU64x32.asm @@ -23,10 +23,18 @@ .model flat,C .code +;------------------------------------------------------------------------------ +; UINT64 +; EFIAPI +; InternalMathMultU64x32 ( +; IN UINT64 Multiplicand, +; IN UINT32 Multiplier +; ); +;------------------------------------------------------------------------------ InternalMathMultU64x32 PROC mov ecx, [esp + 12] mov eax, ecx - imul ecx, [esp + 8] + imul ecx, [esp + 8] ; overflow not detectable mul dword ptr [esp + 4] add edx, ecx ret