]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/IntrinsicLib/Ia32/MathRShiftU64.c
2 64-bit Math Worker Function.
3 The 32-bit versions of C compiler generate calls to library routines
4 to handle 64-bit math. These functions use non-standard calling conventions.
6 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
13 * Shifts a 64-bit unsigned value right by a certain number of bits.
15 __declspec(naked
) void __cdecl
_aullshr (void)
19 ; Checking
: Only handle
64bit shifting
or more
25 ; Handle shifting between
0 and 31 bits
34 ; Handle shifting of
32-63 bits
44 ; Invalid
number (less then
32bits
), return 0