diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2013-11-04 21:09:12 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2013-11-04 21:09:12 +0000 |
commit | 8cfa63d2237082e84f78cc855614475a78f18c13 (patch) | |
tree | 455e15050b2921429cc3626465b3b36a627eb09b | |
parent | 578acbf0f08b0a48be90b0621e9f036a7ff89434 (diff) | |
download | gcc-8cfa63d2237082e84f78cc855614475a78f18c13.zip gcc-8cfa63d2237082e84f78cc855614475a78f18c13.tar.gz gcc-8cfa63d2237082e84f78cc855614475a78f18c13.tar.bz2 |
re PR rtl-optimization/58967 (Powerpc -mlra cannot compile quadrature_lib.cc in Spec2006 with -O3 -ffast-math -funroll-loops -m32)
2013-11-04 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/58967
* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Remove
!lra_in_progress for mode sizes bigger word.
From-SVN: r204365
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca70b62..18db887 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-11-04 Vladimir Makarov <vmakarov@redhat.com> + + PR rtl-optimization/58967 + * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Remove + !lra_in_progress for mode sizes bigger word. + 2013-11-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (vec_widen_umult_hi_v16qi): Swap diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 31871b4..fcf9367 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -6405,7 +6405,7 @@ legitimate_lo_sum_address_p (enum machine_mode mode, rtx x, int strict) return false; if (GET_MODE_NUNITS (mode) != 1) return false; - if (! lra_in_progress && GET_MODE_SIZE (mode) > UNITS_PER_WORD + if (GET_MODE_SIZE (mode) > UNITS_PER_WORD && !(/* ??? Assume floating point reg based on mode? */ TARGET_HARD_FLOAT && TARGET_FPRS && TARGET_DOUBLE_FLOAT && (mode == DFmode || mode == DDmode))) |