diff options
author | Aldy Hernandez <aldyh@gcc.gnu.org> | 2003-04-21 21:47:58 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2003-04-21 21:47:58 +0000 |
commit | b6e59a3aed59f15e7d3aff85217c2df5044f8ba4 (patch) | |
tree | 8884a3cbde1cebb00136157da8c25955fde3624e | |
parent | 95b1c7b6db9c26fd52bb7c511b841cbd8b5a4f69 (diff) | |
download | gcc-b6e59a3aed59f15e7d3aff85217c2df5044f8ba4.zip gcc-b6e59a3aed59f15e7d3aff85217c2df5044f8ba4.tar.gz gcc-b6e59a3aed59f15e7d3aff85217c2df5044f8ba4.tar.bz2 |
rs6000.c (rs6000_override_options): No SPE means 64-bit long doubles.
2003-04-21 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_override_options): No SPE means
64-bit long doubles.
From-SVN: r65911
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index bd2f9e6..9f9c42a 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -731,6 +731,11 @@ rs6000_override_options (default_cpu) MASK_STRING above when optimizing for size. */ if ((target_flags & MASK_STRING) != 0) target_flags = target_flags & ~MASK_STRING; + + /* No SPE means 64-bit long doubles, even if an E500. */ + if (rs6000_spe_string != 0 + && !strcmp (rs6000_spe_string, "no")) + rs6000_long_double_type_size = 64; } else if (rs6000_select[1].string != NULL) { @@ -745,6 +750,8 @@ rs6000_override_options (default_cpu) rs6000_float_gprs = 0; if (rs6000_isel_string == 0) rs6000_isel = 0; + if (rs6000_long_double_size_string == 0) + rs6000_long_double_type_size = 64; } /* Handle -m(no-)longcall option. This is a bit of a cheap hack, |