diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-01 07:29:23 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-01 07:29:23 +0000 |
commit | d5e0534e64b525e8dca8e2fa05455011031c643a (patch) | |
tree | 61d274e19b123144c2895546960a996641555928 /gcc/dojump.c | |
parent | a30fe044170c44da9e441535e2167ca8e885b3cb (diff) | |
download | gcc-d5e0534e64b525e8dca8e2fa05455011031c643a.tar.gz |
2008-09-01 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r139848
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@139851 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dojump.c')
-rw-r--r-- | gcc/dojump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dojump.c b/gcc/dojump.c index c22402a948d..0ff53952938 100644 --- a/gcc/dojump.c +++ b/gcc/dojump.c @@ -144,8 +144,8 @@ prefer_and_bit_test (enum machine_mode mode, int bitnum) XEXP (and_test, 1) = GEN_INT ((unsigned HOST_WIDE_INT) 1 << bitnum); XEXP (XEXP (shift_test, 0), 1) = GEN_INT (bitnum); - return (rtx_cost (and_test, IF_THEN_ELSE) - <= rtx_cost (shift_test, IF_THEN_ELSE)); + return (rtx_cost (and_test, IF_THEN_ELSE, optimize_insn_for_speed_p ()) + <= rtx_cost (shift_test, IF_THEN_ELSE, optimize_insn_for_speed_p ())); } /* Generate code to evaluate EXP and jump to IF_FALSE_LABEL if |