diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2009-05-12 06:42:59 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2009-05-12 06:42:59 +0000 |
commit | 16670495853863e8d45f0b26f7add7a762ed590f (patch) | |
tree | dc142efef051f8eef6f71f302ff049b57de5fdad /gcc/optabs.c | |
parent | 4a4a4e99330f1586681a5e28cb88a6352f89f833 (diff) | |
download | gcc-16670495853863e8d45f0b26f7add7a762ed590f.zip gcc-16670495853863e8d45f0b26f7add7a762ed590f.tar.gz gcc-16670495853863e8d45f0b26f7add7a762ed590f.tar.bz2 |
optabs.c (prepare_cmp_insn): Temporarily disable test that causes spurious differences between trunk and...
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
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 7eab811..c59d7ec 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -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 |