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 "__vcos_ultra3.S"
30
31 #include "libm.h"
32 #if defined(LIBMVEC_SO_BUILD)
33 .weak __vcos
34 .type __vcos,#function
35 __vcos = __vcos_ultra3
36 #endif
37
38 RO_DATA
39 .align 64
40 constants:
41 .word 0x42c80000,0x00000000 ! 3 * 2^44
42 .word 0x43380000,0x00000000 ! 3 * 2^51
43 .word 0x3fe45f30,0x6dc9c883 ! invpio2
44 .word 0x3ff921fb,0x54442c00 ! pio2_1
45 .word 0x3d318469,0x898cc400 ! pio2_2
46 .word 0x3a71701b,0x839a2520 ! pio2_3
47 .word 0xbfc55555,0x55555533 ! pp1
48 .word 0x3f811111,0x10e7d53b ! pp2
49 .word 0xbf2a0167,0xe6b3cf9b ! pp3
50 .word 0xbfdfffff,0xffffff65 ! qq1
51 .word 0x3fa55555,0x54f88ed0 ! qq2
52 .word 0xbf56c12c,0xdd185f60 ! qq3
53
54 ! local storage indices
55
56 #define xsave STACK_BIAS-0x8
|
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 "__vcos_ultra3.S"
30
31 #include "libm.h"
32 .weak __vcos
33 .type __vcos,#function
34 __vcos = __vcos_ultra3
35
36 RO_DATA
37 .align 64
38 constants:
39 .word 0x42c80000,0x00000000 ! 3 * 2^44
40 .word 0x43380000,0x00000000 ! 3 * 2^51
41 .word 0x3fe45f30,0x6dc9c883 ! invpio2
42 .word 0x3ff921fb,0x54442c00 ! pio2_1
43 .word 0x3d318469,0x898cc400 ! pio2_2
44 .word 0x3a71701b,0x839a2520 ! pio2_3
45 .word 0xbfc55555,0x55555533 ! pp1
46 .word 0x3f811111,0x10e7d53b ! pp2
47 .word 0xbf2a0167,0xe6b3cf9b ! pp3
48 .word 0xbfdfffff,0xffffff65 ! qq1
49 .word 0x3fa55555,0x54f88ed0 ! qq2
50 .word 0xbf56c12c,0xdd185f60 ! qq3
51
52 ! local storage indices
53
54 #define xsave STACK_BIAS-0x8
|