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 "nextafter.S"
30
31 #include "libm.h"
32 LIBM_ANSI_PRAGMA_WEAK(nextafter,function)
33 .weak _nextafter
34 .type _nextafter,#function
35 _nextafter = __nextafter
36 #include "libm_synonyms.h"
37 #include "libm_protos.h"
38
39 RO_DATA
40 .align 8
41 .Lconstant:
42 two54 = 0x00
43 .word 0x43500000,0x0 ! 2**54
44 twom54 = 0x08
45 .word 0x3c900000,0x0 ! 2**-54
46 tiny = 0x10
47 .word 0x00100000,0x0 ! tiny
48
49 ! variable using fp
50 x = -0x8
51 y = -0x10
52
53 ENTRY(nextafter)
54 save %sp,-128,%sp
55 PIC_SETUP(l7)
56 std %i0,[%fp+x]
|
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 "nextafter.S"
30
31 #include "libm.h"
32 LIBM_ANSI_PRAGMA_WEAK(nextafter,function)
33 .weak _nextafter
34 .type _nextafter,#function
35 _nextafter = __nextafter
36 #include "libm_protos.h"
37
38 RO_DATA
39 .align 8
40 .Lconstant:
41 two54 = 0x00
42 .word 0x43500000,0x0 ! 2**54
43 twom54 = 0x08
44 .word 0x3c900000,0x0 ! 2**-54
45 tiny = 0x10
46 .word 0x00100000,0x0 ! tiny
47
48 ! variable using fp
49 x = -0x8
50 y = -0x10
51
52 ENTRY(nextafter)
53 save %sp,-128,%sp
54 PIC_SETUP(l7)
55 std %i0,[%fp+x]
|