diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-11-06 23:30:22 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-11-06 23:30:22 +0000 |
commit | fbd3f95af0a5cdf792221bd52a4a9f5b82b7dd10 (patch) | |
tree | a75b7793a076f7de8a35187bcd15baa60ff8e57d /lib/libm/arch/amd64/e_sqrtl.S | |
parent | d2d0d683581901c3e15080e6a4c3ed6640430b28 (diff) |
Provide assembly version of sqrtl(3).
ok pirofti@
Diffstat (limited to 'lib/libm/arch/amd64/e_sqrtl.S')
-rw-r--r-- | lib/libm/arch/amd64/e_sqrtl.S | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libm/arch/amd64/e_sqrtl.S b/lib/libm/arch/amd64/e_sqrtl.S new file mode 100644 index 00000000000..37bc91cf8bd --- /dev/null +++ b/lib/libm/arch/amd64/e_sqrtl.S @@ -0,0 +1,12 @@ +/* $OpenBSD: e_sqrtl.S,v 1.1 2009/11/06 23:30:21 kettenis Exp $ */ +/* + * Written by J.T. Conklin <jtc@netbsd.org>. + * Public domain. + */ + +#include <machine/asm.h> + +ENTRY(sqrtl) + fldt 8(%rsp) + fsqrt + ret |