1cd3cc470SDavid Schultz/*- 2cd3cc470SDavid Schultz * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> 3cd3cc470SDavid Schultz * All rights reserved. 4cd3cc470SDavid Schultz * 5cd3cc470SDavid Schultz * Redistribution and use in source and binary forms, with or without 6cd3cc470SDavid Schultz * modification, are permitted provided that the following conditions 7cd3cc470SDavid Schultz * are met: 8cd3cc470SDavid Schultz * 1. Redistributions of source code must retain the above copyright 9cd3cc470SDavid Schultz * notice, this list of conditions and the following disclaimer. 10cd3cc470SDavid Schultz * 2. Redistributions in binary form must reproduce the above copyright 11cd3cc470SDavid Schultz * notice, this list of conditions and the following disclaimer in the 12cd3cc470SDavid Schultz * documentation and/or other materials provided with the distribution. 13cd3cc470SDavid Schultz * 14cd3cc470SDavid Schultz * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15cd3cc470SDavid Schultz * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16cd3cc470SDavid Schultz * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17cd3cc470SDavid Schultz * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18cd3cc470SDavid Schultz * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19cd3cc470SDavid Schultz * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20cd3cc470SDavid Schultz * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21cd3cc470SDavid Schultz * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22cd3cc470SDavid Schultz * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23cd3cc470SDavid Schultz * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24cd3cc470SDavid Schultz * SUCH DAMAGE. 25cd3cc470SDavid Schultz */ 26cd3cc470SDavid Schultz 27cd3cc470SDavid Schultz#include <machine/asm.h> 28e1b61b5bSDavid SchultzENTRY(sqrt) 29cd3cc470SDavid Schultz sqrtsd %xmm0, %xmm0 30cd3cc470SDavid Schultz ret 319235ed71SAttilio RaoEND(sqrt) 32cd3cc470SDavid Schultz 33*8997563cSKonstantin Belousov 34*8997563cSKonstantin Belousov .section .note.GNU-stack,"",%progbits 35