gcc/libgcc
H.J. Lu c637141af0 Add -mlong-double-64/-mlong-double-80 to i386
gcc/

	* doc/invoke.texi: Document -mlong-double-64/-mlong-double-80.

	* config/i386/i386.c (flag_opts): Add -mlong-double-64.
	(TARGET_HAS_BIONIC): Default long double to 64-bit for Bionic.

	* config/i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Use 64 if
	TARGET_LONG_DOUBLE_64 is true.
	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New macro.
	(WIDEST_HARDWARE_FP_SIZE): Defined to 80.

	* config/i386/i386.opt (mlong-double-80): New option.
	(mlong-double-64): Likewise.

	* config/i386/i386-c.c (ix86_target_macros): Define
	__LONG_DOUBLE_64__ for TARGET_LONG_DOUBLE_64.

gcc/testsuite/

	* gcc.target/i386/long-double-64-1.c: New file.
	* gcc.target/i386/long-double-64-2.c: Likewise.
	* gcc.target/i386/long-double-64-3.c: Likewise.
	* gcc.target/i386/long-double-64-4.c: Likewise.
	* gcc.target/i386/long-double-80-1.c: Likewise.
	* gcc.target/i386/long-double-80-2.c: Likewise.
	* gcc.target/i386/long-double-80-3.c: Likewise.
	* gcc.target/i386/long-double-80-4.c: Likewise.
	* gcc.target/i386/long-double-80-5.c: Likewise.
	* gcc.target/i386/long-double-80-6.c: Likewise.
	* gcc.target/i386/long-double-80-7.c: Likewise.

libgcc/

	* config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.

From-SVN: r190599
2012-08-22 12:46:28 -07:00
..
config Add -mlong-double-64/-mlong-double-80 to i386 2012-08-22 12:46:28 -07:00
soft-fp soft-fp: Imported from glibc upstream. 2012-03-01 21:50:26 +01:00
ChangeLog Add -mlong-double-64/-mlong-double-80 to i386 2012-08-22 12:46:28 -07:00
config.host config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after rs6000/t-slibgcc-aix. 2012-08-16 22:19:04 -04:00
config.in Use i386-cpuinfo.c on all i386 targets 2012-05-10 08:51:39 +00:00
configure ieee754-df.S: Fix typos. 2012-05-29 15:54:22 +01:00
configure.ac ieee754-df.S: Fix typos. 2012-05-29 15:54:22 +01:00
crtstuff.c crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc even if inhibit_libc. 2012-08-19 16:11:40 +01:00
dfp-bit.c
dfp-bit.h
divmod.c
empty.mk
emutls.c
enable-execute-stack-empty.c
enable-execute-stack-mprotect.c re PR bootstrap/51006 (bootstrap fails on NetBSD 5.1) 2012-01-03 21:39:46 +00:00
fixed-bit.c
fixed-bit.h
fixed-obj.mk
floatunsidf.c
floatunsisf.c
floatunsitf.c
floatunsixf.c
fp-bit.c
fp-bit.h
gbl-ctors.h
gen-fixed.sh
generic-morestack-thread.c
generic-morestack.c generic-morestack.c (__splitstack_releasecontext): Correct call to __morestack_release_segments. 2012-02-28 17:43:43 +00:00
generic-morestack.h
gstdint.h
gthr-posix.h gthr-posix.h [...] (__gthread_active_p): If __GLIBC__ is defined, refer to __pthread_key_create instead of pthread_cancel. 2012-06-11 14:15:38 -07:00
gthr-single.h gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition. 2012-03-13 09:39:01 +00:00
gthr.h re PR gcov-profile/49484 (gcov crash if two(or more) forks happen at the same time) 2012-03-12 14:23:27 +00:00
libgcc2.c
libgcc2.h
libgcc-std.ver.in generic-morestack.c (__splitstack_find): Check for NULL old stack value. 2011-11-28 05:44:31 +00:00
libgcov.c coverage.c: Refer to "notes file" instead of "graph file" in all comments. 2012-07-23 11:59:15 +00:00
longlong.h longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling. 2012-08-16 03:49:57 +02:00
Makefile.in Makefile.in (vis_hide, [...]): Do not make definitions depend on --enable-shared. 2012-08-22 09:36:23 +01:00
memcmp.c
memcpy.c
memmove.c
memset.c
mkheader.sh
mkmap-flat.awk Remove obsolete Tru64 UNIX V5.1B support 2012-03-12 15:35:56 +00:00
mkmap-symver.awk
shared-object.mk
siditi-object.mk
static-object.mk Makefile.in (vis_hide, [...]): Do not make definitions depend on --enable-shared. 2012-08-22 09:36:23 +01:00
sync.c
udivmod.c
udivmodsi4.c
unwind-arm-common.inc unwind-arm-common.inc: Include tconfig.h', tsystem.h' and `sys/sdt.h'. 2011-12-20 20:54:25 +00:00
unwind-c.c eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
unwind-compat.c
unwind-compat.h
unwind-dw2-fde-compat.c
unwind-dw2-fde-dip.c unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC. 2012-04-24 22:41:33 +00:00
unwind-dw2-fde.c re PR bootstrap/52569 (bootstrap fails on x86_64-apple-darwin10 at revision 185261) 2012-03-13 10:00:48 +00:00
unwind-dw2-fde.h
unwind-dw2.c Assert DWARF register size <= saved reg size 2012-03-13 10:07:50 -07:00
unwind-dw2.h
unwind-generic.h eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
unwind-pe.h
unwind-seh.c eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
unwind-sjlj.c
unwind.inc