12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
23 */
24 /*
25 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
26 * Use is subject to license terms.
27 */
28
29 .file "ieee_funcl.s"
30
31 #include "libm.h"
32 LIBM_ANSI_PRAGMA_WEAK(isinfl,function)
33 LIBM_ANSI_PRAGMA_WEAK(isnormall,function)
34 LIBM_ANSI_PRAGMA_WEAK(issubnormall,function)
35 LIBM_ANSI_PRAGMA_WEAK(iszerol,function)
36 LIBM_ANSI_PRAGMA_WEAK(signbitl,function)
37 #include "libm_synonyms.h"
38
39 ENTRY(isinfl)
40 movl 12(%esp),%eax / ax <-- sign and bexp of x
41 notl %eax
42 andl $0x00007fff,%eax
43 jz .L6
44 movl $0,%eax
45 .not_inf:
46 ret
47
48 .L6: / here, (eax) = 0.0
49 movl 8(%esp),%ecx
50 xorl $0x80000000,%ecx / handle unsupported implicitly
51 orl 4(%esp), %ecx
52 jnz .not_inf
53 movl $1,%eax
54 ret
55 .align 4
56 SET_SIZE(isinfl)
57
|
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
23 */
24 /*
25 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
26 * Use is subject to license terms.
27 */
28
29 .file "ieee_funcl.s"
30
31 #include "libm.h"
32
33 ENTRY(isinfl)
34 movl 12(%esp),%eax / ax <-- sign and bexp of x
35 notl %eax
36 andl $0x00007fff,%eax
37 jz .L6
38 movl $0,%eax
39 .not_inf:
40 ret
41
42 .L6: / here, (eax) = 0.0
43 movl 8(%esp),%ecx
44 xorl $0x80000000,%ecx / handle unsupported implicitly
45 orl 4(%esp), %ecx
46 jnz .not_inf
47 movl $1,%eax
48 ret
49 .align 4
50 SET_SIZE(isinfl)
51
|