aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2012-08-22 19:46:28 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2012-08-22 12:46:28 -0700
commitc637141af07b7719c1b4c870373944929bcc34b6 (patch)
tree236b8d81975f925b0d2373ea51609df62083694d /gcc/ChangeLog
parenta8a68bb00acf28a07497e7d233f13f4e5097d21a (diff)
downloadgcc-c637141af07b7719c1b4c870373944929bcc34b6.zip
gcc-c637141af07b7719c1b4c870373944929bcc34b6.tar.gz
gcc-c637141af07b7719c1b4c870373944929bcc34b6.tar.bz2
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
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 085bef1..f67c4ac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,23 @@
2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
+ * 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.
+
+2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
+
PR target/54347
* config/i386/i386.c (ix86_split_to_parts): Replace
REAL_VALUE_TO_TARGET_LONG_DOUBLE with real_to_target.