This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 3.0.3


Hi Mark and Jakub,

Can we backport the following patch on 3.0 branch:

http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00591.html

2001-11-09  Jakub Jelinek  <jakub@redhat.com>

        * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
        or after reload.


It fixes PR/4410 (verified on 3.0.2/Solaris 8).
It is a regression from 2.95.3.

Thanks,
	Stephane

(cut&paste from web below)

--- gcc/config/sparc/sparc.md.jj        Wed Oct 24 21:25:07 2001
+++ gcc/config/sparc/sparc.md   Fri Nov  9 15:28:04 2001
@@ -3255,6 +3255,11 @@
          && fp_zero_operand (operands[1], DFmode))
        goto movdf_is_ok;
 
+      /* We are able to build any DF constant in integer registers.  */
+      if (REGNO (operands[0]) < 32
+         && (reload_completed || reload_in_progress))
+       goto movdf_is_ok;
+
       operands[1] = validize_mem (force_const_mem (GET_MODE (operands[0]),
                                                    operands[1]));
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]