]> gcc.gnu.org Git - gcc.git/commitdiff
optabs.c (prepare_cmp_insn): Temporarily disable test that causes spurious difference...
authorPaolo Bonzini <bonzini@gnu.org>
Tue, 12 May 2009 06:42:59 +0000 (06:42 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Tue, 12 May 2009 06:42:59 +0000 (06:42 +0000)
2009-05-12  Paolo Bonzini  <bonzini@gnu.org>

* optabs.c (prepare_cmp_insn): Temporarily disable test that
causes spurious differences between trunk and cond-optab branch.

From-SVN: r147418

gcc/ChangeLog
gcc/optabs.c

index 898f87b16b38977dbb561ecf5a59224aaf01ef3d..9388421627b72040411ae88547f40084111f6232 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-12  Paolo Bonzini  <bonzini@gnu.org>
+
+       * optabs.c (prepare_cmp_insn): Temporarily disable test that
+       causes spurious differences between trunk and cond-optab branch.
+
 2009-05-12  Alexandre Oliva  <aoliva@redhat.com>
 
        PR target/37137
index 7eab811f0660f53cfbba1684ce38a31da88b2300..c59d7ecf7176750b7177f424fef26fcc9cd6fdd7 100644 (file)
@@ -4042,18 +4042,6 @@ prepare_cmp_insn (rtx *px, rtx *py, enum rtx_code *pcomparison, rtx size,
   int unsignedp = *punsignedp;
   rtx libfunc;
 
-  /* If we are inside an appropriately-short loop and we are optimizing,
-     force expensive constants into a register.  */
-  if (CONSTANT_P (x) && optimize
-      && (rtx_cost (x, COMPARE, optimize_insn_for_speed_p ())
-          > COSTS_N_INSNS (1)))
-    x = force_reg (mode, x);
-
-  if (CONSTANT_P (y) && optimize
-      && (rtx_cost (y, COMPARE, optimize_insn_for_speed_p ())
-          > COSTS_N_INSNS (1)))
-    y = force_reg (mode, y);
-
 #ifdef HAVE_cc0
   /* Make sure if we have a canonical comparison.  The RTL
      documentation states that canonical comparisons are required only
This page took 0.100352 seconds and 5 git commands to generate.