1142182Sdas/*-
2142182Sdas * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG>
3142182Sdas * All rights reserved.
4142182Sdas *
5142182Sdas * Redistribution and use in source and binary forms, with or without
6142182Sdas * modification, are permitted provided that the following conditions
7142182Sdas * are met:
8142182Sdas * 1. Redistributions of source code must retain the above copyright
9142182Sdas *    notice, this list of conditions and the following disclaimer.
10142182Sdas * 2. Redistributions in binary form must reproduce the above copyright
11142182Sdas *    notice, this list of conditions and the following disclaimer in the
12142182Sdas *    documentation and/or other materials provided with the distribution.
13142182Sdas *
14142182Sdas * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15142182Sdas * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16142182Sdas * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17142182Sdas * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18142182Sdas * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19142182Sdas * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20142182Sdas * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21142182Sdas * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22142182Sdas * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23142182Sdas * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24142182Sdas * SUCH DAMAGE.
25142182Sdas */
26142182Sdas
27142182Sdas#include <machine/asm.h>
28142182Sdas__FBSDID("$FreeBSD$")
29142182Sdas
30142182SdasENTRY(sqrt)
31142182Sdas	retl
32142182Sdas	fsqrtd %f0, %f0
33142182SdasEND(sqrt)
34