TianoCore EDK2 master
Loading...
Searching...
No Matches
MultU64x32.c
Go to the documentation of this file.
1
23UINT64
24EFIAPI
26 IN UINT64 Multiplicand,
27 IN UINT32 Multiplier
28 )
29{
30 _asm {
31 mov ecx, Multiplier
32 mov eax, ecx
33 imul ecx, dword ptr [Multiplicand + 4] // overflow not detectable
34 mul dword ptr [Multiplicand + 0]
35 add edx, ecx
36 }
37}
UINT64 EFIAPI InternalMathMultU64x32(IN UINT64 Multiplicand, IN UINT32 Multiplier)
Definition: MultU64x32.c:25
#define IN
Definition: Base.h:279