TianoCore EDK2
master
Loading...
Searching...
No Matches
LShiftU64.c
Go to the documentation of this file.
1
22
UINT64
23
EFIAPI
24
InternalMathLShiftU64
(
25
IN
UINT64 Operand,
26
IN
UINTN
Count
27
)
28
{
29
_asm {
30
mov cl,
byte
ptr [Count]
31
xor eax, eax
32
mov edx, dword ptr [Operand + 0]
33
test cl, 32
// Count >= 32?
34
jnz L0
35
mov eax, edx
36
mov edx, dword ptr [Operand + 4]
37
L0:
38
shld edx, eax, cl
39
shl eax, cl
40
}
41
}
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
InternalMathLShiftU64
UINT64 EFIAPI InternalMathLShiftU64(IN UINT64 Operand, IN UINTN Count)
Definition:
LShiftU64.c:24
IN
#define IN
Definition:
Base.h:279
MdePkg
Library
BaseLib
Ia32
LShiftU64.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6