2 * Written by J.T. Conklin <jtc@NetBSD.org>.
6 #include <machine/asm.h>
10 RCSID("$NetBSD: e_acos.S,v 1.9 2014/03/03 08:00:50 dsl Exp $")
12 /* acos = atan (sqrt(1 - x^2) / x) */
14 XMM_ONE_ARG_DOUBLE_PROLOGUE
15 fldl ARG_DOUBLE_ONE /* x */
20 fsqrt /* sqrt (1 - x^2) */
21 fabs /* Change -0.0 to +0.0 */