Commit Graph

8 Commits

Author SHA1 Message Date
Richard Guenther 7d3a3b01c3 Makefile.am: Do not build dbl-64 variants.
2006-03-30  Richard Guenther  <rguenther@suse.de>

	* i386/Makefile.am: Do not build dbl-64 variants.
	* i386/Makefile.in: Regenerate.
	* dbl-64: Remove.

	* config/i386/i386.c: Remove builtins for SSE2 ABI intrinsic
	variants with double arguments.

	* gcc.target/i386/sselibm-1.c: Adjust for libgcc-math partial
	removal.
	* gcc.target/i386/sselibm-2.c: Likewise.
	* gcc.target/i386/sselibm-3.c: Likewise.
	* gcc.target/i386/sselibm-4.c: Likewise.
	* gcc.target/i386/sselibm-5.c: Likewise.

From-SVN: r112530
2006-03-30 12:11:16 +00:00
Richard Guenther 2286285206 README: New file.
2006-03-20  Richard Guenther  <rguenther@suse.de>

        * README: New file.

From-SVN: r112224
2006-03-20 08:55:50 +00:00
Richard Guenther 6ff68ac318 re PR bootstrap/26055 (libgcc-math declaration of __isinf conflicts with system header, fails bootstrap)
2006-02-28  Richard Guenther  <rguenther@suse.de>

	PR bootstrap/26055
	Revert
	* configure.ac: Disable libgcc-math if we cannot mix
	declaration of __isinf and math.h inclusion.
	* configure: Re-generate.

	* i386/Makefile.am: Use -std=c99, do not use -ffinite-math-only,
	do not define __NO_MATH_INLINES.
	* i386/Makefile.in: Re-generate.
	* include/math_private.h (__atanf): Declare.
	(__scalbnf): Likewise.
	(__floorf): Likewise.
	(__isinff): Likewise.
	(__scalbn): Likewise.
	(__floor): Likewise.
	(fabs): Likewise.
	(fabsf): Likewise.
	* flt-32/e_acosf.c: Do not include math.h
	* flt-32/s_isinff.c: Likewise.
	* flt-32/k_tanf.c: Likewise.
	* flt-32/e_sqrtf.c: Likewise.
	* flt-32/e_asinf.c: Likewise.
	* flt-32/k_cosf.c: Likewise.
	* flt-32/k_sinf.c: Likewise.
	* flt-32/s_floorf.c: Likewise.
	* flt-32/s_tanf.c: Likewise.
	* flt-32/s_atanf.c: Likewise.
	* flt-32/s_cosf.c: Likewise.
	* flt-32/e_atan2f.c: Likewise.
	* flt-32/e_powf.c: Likewise.
	* flt-32/s_sinf.c: Likewise.
	* flt-32/e_rem_pio2f.c: Likewise.
	* flt-32/s_scalbnf.c: Likewise.
	* flt-32/e_logf.c: Likewise.
	* flt-32/e_log10f.c: Likewise.
	* flt-32/k_rem_pio2f.c: Likewise.
	* flt-32/e_expf.c: Likewise.  Use __builtin_isless and
	__builtin_isgreater.
	* dbl-64/s_floor.c: Do not include math.h.
	* dbl-64/e_log10.c: Likewise.
	* dbl-64/k_rem_pio2.c: Likewise.
	* dbl-64/s_atan.c: Likewise.
	* dbl-64/s_scalbn.c: Likewise.
	* dbl-64/s_isinf.c: Likewise.
	* dbl-64/s_tan.c: Likewise.
	* dbl-64/e_rem_pio2.c: Likewise.  Avoid uninitialized variable
	warning.
	* dbl-64/mpa.c: Likewise.

From-SVN: r111563
2006-02-28 11:29:41 +00:00
Richard Guenther fd97e46511 mpa.c: Do not include sys/param.h.
2006-02-08  Richard Guenther  <rguenther@suse.de>

	* dbl-64/mpa.c: Do not include sys/param.h.
	* dbl-64/mpa.h (MIN): Define.

From-SVN: r110745
2006-02-08 10:05:30 +00:00
Richard Guenther 88e23c503a re PR bootstrap/26050 (Use of u_int32_t in libgcc-math breaks bootstrap on Solaris 10/x86)
2006-02-07  Richard Guenther  <rguenther@suse.de>

	PR bootstrap/26050
	* configure.ac: Generate gstdint.h using GCC_HEADER_STDINT.
	* configure: Re-generate.
	* Makefile.in: Likewise. 
	* aclocal.m4: Likewise.
	* i386/Makefile.am: Adjust include path.
	* i386/Makefile.in: Re-generate.
	* include/math_private.h: Do not include sys/types.h.
	Include gstdint.h.  Use uint32_t instead of u_int32_t.
	* flt-32/e_expf.c: Do not include inttypes.h
	* flt-32/e_sqrtf.c: Use uint32_t instead of u_int32_t.
	* flt-32/s_floorf.c: Likewise.
	* flt-32/e_atan2f.c: Likewise.
	* flt-32/e_powf.c: Likewise.
	* flt-32/e_rem_pio2f.c: Likewise.
	* flt-32/e_log10f.c: Likewise.
	* dbl-64/s_floor.c: Likewise.
	* dbl-64/e_log10.c: Likewise.
	* dbl-64/e_rem_pio2.c: Likewise.

From-SVN: r110694
2006-02-07 11:37:15 +00:00
Richard Guenther 168b93e9e3 re PR bootstrap/26059 (fenv.h use in libgcc-math)
2006-02-01  Richard Guenther  <rguenther@suse.de>

	PR bootstrap/26059
	* flt-32/e_expf.c: Remove fenv access.

From-SVN: r110470
2006-02-01 10:32:22 +00:00
Richard Guenther 36cbd091c5 re PR bootstrap/26055 (libgcc-math declaration of __isinf conflicts with system header, fails bootstrap)
2006-02-01  Richard Guenther  <rguenther@suse.de>

        PR bootstrap/26055
	* configure.ac: Disable libgcc-math if we cannot mix
	declaration of __isinf and math.h inclusion.
	* configure: Re-generate.

From-SVN: r110469
2006-02-01 10:30:43 +00:00
Richard Guenther 0058967bb0 Makefile.def (target_modules): Add libgcc-math target module.
2006-01-31  Richard Guenther  <rguenther@suse.de>
	Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.def (target_modules): Add libgcc-math target module.
	* configure.in (target_libraries): Add libgcc-math target library.
	(--enable-libgcc-math): New configure switch.
	* Makefile.in: Re-generate.
	* configure: Re-generate.
	* libgcc-math: New toplevel directory.

	* doc/install.texi (--disable-libgcc-math): Document.

	libgcc-math/
	* configure.ac: New file.
	* Makefile.am: Likewise.
	* configure: New generated file.
	* Makefile.in: Likewise.
	* aclocal.m4: Likewise.
	* libtool-version: New file.
	* include/ieee754.h: New file.
	* include/libc-symbols.h: Likewise.
	* include/math_private.h: Likewise.
	* i386/Makefile.am: New file.
	* i386/Makefile.in: New generated file.
	* i386/sse2.h: New file.
	* i386/endian.h: Likewise.
	* i386/sse2.map: Linker script for SSE2 ABI math intrinsics.
	* flt-32/: Import from glibc.
	* dbl-64/: Likewise.

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>

From-SVN: r110434
2006-01-31 11:56:46 +00:00