1
#------------------------------------------------------------------------------
3
# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
4
# This program and the accompanying materials are licensed and made available
5
# under the terms and conditions of the BSD License which accompanies this
6
# distribution. The full text of the license may be found at
7
# http://opensource.org/licenses/bsd-license.php.
9
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18
# 64-bit Math Worker Function.
19
# Shifts a 64-bit unsigned value right by a certain number of bits.
21
#------------------------------------------------------------------------------
27
ASM_GLOBAL ASM_PFX(__ashrdi3)
29
#------------------------------------------------------------------------------
31
# void __cdecl __ashrdi3 (void)
33
#------------------------------------------------------------------------------
36
# Checking: Only handle 64bit shifting or more
42
# Handle shifting between 0 and 31 bits
51
# Handle shifting of 32-63 bits
61
# Invalid number (less then 32bits), return 0