1176721Sdas/*-
2176721Sdas * Copyright (c) 2008 David Schultz <das@FreeBSD.ORG>
3176721Sdas * All rights reserved.
4176721Sdas *
5176721Sdas * Redistribution and use in source and binary forms, with or without
6176721Sdas * modification, are permitted provided that the following conditions
7176721Sdas * are met:
8176721Sdas * 1. Redistributions of source code must retain the above copyright
9176721Sdas *    notice, this list of conditions and the following disclaimer.
10176721Sdas * 2. Redistributions in binary form must reproduce the above copyright
11176721Sdas *    notice, this list of conditions and the following disclaimer in the
12176721Sdas *    documentation and/or other materials provided with the distribution.
13176721Sdas *
14176721Sdas * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15176721Sdas * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16176721Sdas * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17176721Sdas * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18176721Sdas * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19176721Sdas * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20176721Sdas * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21176721Sdas * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22176721Sdas * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23176721Sdas * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24176721Sdas * SUCH DAMAGE.
25176721Sdas */
26176721Sdas
27176721Sdas#include <machine/asm.h>
28176721Sdas__FBSDID("$FreeBSD$")
29176721Sdas
30176721SdasENTRY(sqrtl)
31176721Sdas	fldt	8(%rsp)
32176721Sdas	fsqrt
33176721Sdas	ret
34217108Skib
35217108Skib	.section .note.GNU-stack,"",%progbits
36