From 5046dbb4a7eba5eccfd258f92f4735c9ffc8d069 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Thu, 8 Jun 2017 15:39:03 -0400 Subject: Prepare for radical source tree reorganization. All top-level files and directories are moved into a temporary storage directory, REORG.TODO, except for files that will certainly still exist in their current form at top level when we're done (COPYING, COPYING.LIB, LICENSES, NEWS, README), all old ChangeLog files (which are moved to the new directory OldChangeLogs, instead), and the generated file INSTALL (which is just deleted; in the new order, there will be no generated files checked into version control). --- REORG.TODO/sysdeps/i386/fpu/e_acosf.S | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 REORG.TODO/sysdeps/i386/fpu/e_acosf.S (limited to 'REORG.TODO/sysdeps/i386/fpu/e_acosf.S') diff --git a/REORG.TODO/sysdeps/i386/fpu/e_acosf.S b/REORG.TODO/sysdeps/i386/fpu/e_acosf.S new file mode 100644 index 0000000000..54930af8b2 --- /dev/null +++ b/REORG.TODO/sysdeps/i386/fpu/e_acosf.S @@ -0,0 +1,24 @@ +/* + * Written by J.T. Conklin . + * Public domain. + * Adapted for float type by Ulrich Drepper . + */ + +#include + +RCSID("$NetBSD: $") + +/* acos = atan (sqrt(1 - x^2) / x) */ +ENTRY(__ieee754_acosf) + flds 4(%esp) /* x */ + fld %st + fmul %st(0) /* x^2 */ + fld1 + fsubp /* 1 - x^2 */ + fsqrt /* sqrt (1 - x^2) */ + fabs + fxch %st(1) + fpatan + ret +END (__ieee754_acosf) +strong_alias (__ieee754_acosf, __acosf_finite) -- cgit 1.4.1