blob: f49826a0ced864ee5d52540c0e7d8c78a5f24c9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* $OpenBSD: e_sqrtf.S,v 1.2 2005/08/02 11:17:31 espie Exp $ */
/*
* Written by J.T. Conklin <jtc@NetBSD.org>.
* Public domain.
*/
#include <machine/asm.h>
ENTRY(__ieee754_sqrtf)
#ifdef __i386__
flds 4(%esp)
fsqrt
#else
sqrtss %xmm0,%xmm0
#endif
ret
|