4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
24 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
25 * Use is subject to license terms.
29 * These are functions corresponding to the inlines in __quad.il
30 * They are compiled as functions only when building sparc libc with gcc.
31 * Someone may want to make them into gcc inlines (__inline__ + __asm__).
34 #pragma ident "%Z%%M% %I% %E% SMI"
36 #include <sys/asm_linkage.h>
38 ENTRY_NP
(__quad_getfsrp
)
41 SET_SIZE
(__quad_getfsrp
)
43 ENTRY_NP
(__quad_setfsrp
)
46 SET_SIZE
(__quad_setfsrp
)
48 ENTRY_NP
(__quad_dp_sqrt
)
53 SET_SIZE
(__quad_dp_sqrt
)
55 ENTRY_NP
(__quad_faddq
)
64 SET_SIZE
(__quad_faddq
)
66 ENTRY_NP
(__quad_fsubq
)
75 SET_SIZE
(__quad_fsubq
)
77 ENTRY_NP
(__quad_fmulq
)
86 SET_SIZE
(__quad_fmulq
)
88 ENTRY_NP
(__quad_fdivq
)
97 SET_SIZE
(__quad_fdivq
)
99 ENTRY_NP
(__quad_fsqrtq
)
106 SET_SIZE
(__quad_fsqrtq
)
108 ENTRY_NP
(__quad_fcmpq
)
116 SET_SIZE
(__quad_fcmpq
)
118 ENTRY_NP
(__quad_fcmpeq
)
126 SET_SIZE
(__quad_fcmpeq
)
128 ENTRY_NP
(__quad_fstoq
)
134 SET_SIZE
(__quad_fstoq
)
136 ENTRY_NP
(__quad_fdtoq
)
142 SET_SIZE
(__quad_fdtoq
)
144 ENTRY_NP
(__quad_fqtoi
)
150 SET_SIZE
(__quad_fqtoi
)
152 ENTRY_NP
(__quad_fqtos
)
158 SET_SIZE
(__quad_fqtos
)
160 ENTRY_NP
(__quad_fqtod
)
166 SET_SIZE
(__quad_fqtod
)
168 #if defined(__sparcv9)
169 ENTRY_NP
(__quad_fqtox
)
175 SET_SIZE
(__quad_fqtox
)