xref: /freebsd/lib/msun/i387/s_rintl.S (revision 1d386b48a555f61cb7325543adbbb5c3f3407a66)
1d3f9671aSDavid Schultz/*
2d3f9671aSDavid Schultz * Copyright (c) 1993,94 Winning Strategies, Inc.
3d3f9671aSDavid Schultz * All rights reserved.
4d3f9671aSDavid Schultz *
5d3f9671aSDavid Schultz * Redistribution and use in source and binary forms, with or without
6d3f9671aSDavid Schultz * modification, are permitted provided that the following conditions
7d3f9671aSDavid Schultz * are met:
8d3f9671aSDavid Schultz * 1. Redistributions of source code must retain the above copyright
9d3f9671aSDavid Schultz *    notice, this list of conditions and the following disclaimer.
10d3f9671aSDavid Schultz * 2. Redistributions in binary form must reproduce the above copyright
11d3f9671aSDavid Schultz *    notice, this list of conditions and the following disclaimer in the
12d3f9671aSDavid Schultz *    documentation and/or other materials provided with the distribution.
13d3f9671aSDavid Schultz * 3. All advertising materials mentioning features or use of this software
14d3f9671aSDavid Schultz *    must display the following acknowledgement:
15d3f9671aSDavid Schultz *      This product includes software developed by Winning Strategies, Inc.
16d3f9671aSDavid Schultz * 4. The name of the author may not be used to endorse or promote products
17d3f9671aSDavid Schultz *    derived from this software without specific prior written permission.
18d3f9671aSDavid Schultz *
19d3f9671aSDavid Schultz * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20d3f9671aSDavid Schultz * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21d3f9671aSDavid Schultz * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22d3f9671aSDavid Schultz * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23d3f9671aSDavid Schultz * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24d3f9671aSDavid Schultz * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25d3f9671aSDavid Schultz * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26d3f9671aSDavid Schultz * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27d3f9671aSDavid Schultz * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28d3f9671aSDavid Schultz * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29d3f9671aSDavid Schultz */
30d3f9671aSDavid Schultz
31d3f9671aSDavid Schultz/*
32d3f9671aSDavid Schultz * Written by:
33d3f9671aSDavid Schultz *	J.T. Conklin (jtc@wimsey.com), Winning Strategies, Inc.
34d3f9671aSDavid Schultz */
35d3f9671aSDavid Schultz
36d3f9671aSDavid Schultz#include <machine/asm.h>
37d3f9671aSDavid SchultzENTRY(rintl)
38d3f9671aSDavid Schultz	fldt	4(%esp)
39d3f9671aSDavid Schultz	frndint
40d3f9671aSDavid Schultz	ret
41*78599c32SConrad MeyerEND(rintl)
428997563cSKonstantin Belousov
438997563cSKonstantin Belousov	.section .note.GNU-stack,"",%progbits
44