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) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
7 This program and the accompanying materials are licensed and made available
8 under the terms and conditions of the BSD License which accompanies this
9 distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php.
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 * Shifts a 64-bit signed value right by a particular number of bits.
21 __declspec(naked
) void __cdecl
_allshr (void)
25 ; Handle shifts of
64 bits
or more (if shifting
64 bits
or more
, the result
26 ; depends only on the high order bit of edx
).
32 ; Handle shifts of between
0 and 31 bits
41 ; Handle shifts of between
32 and 63 bits
51 ; Return
double precision
0 or -1, depending on the sign of edx