diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-03 05:39:57 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-03 05:39:57 +0000 |
commit | 6757f5d6deecafa06658804050bd5ed084973330 (patch) | |
tree | 83526b7a4efa9bcc4ee6c55a45f9df95a68c2a50 /gcc/doloop.c | |
parent | 27a9551bcafbdb7854ecd6e9479fbdcbe6436fa6 (diff) | |
download | gcc-6757f5d6deecafa06658804050bd5ed084973330.tar.gz |
* doloop.c, optabs.c, regmove.c, sched-deps.c,
config/i386/i386.c, config/i386/i386.md: Use const0_rtx
instead of GEN_INT (0). Do the same for other constants that
are readily available.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77160 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doloop.c')
-rw-r--r-- | gcc/doloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doloop.c b/gcc/doloop.c index 3ae628105c8..6d4840a236c 100644 --- a/gcc/doloop.c +++ b/gcc/doloop.c @@ -1,5 +1,5 @@ /* Perform doloop optimizations - Copyright (C) 1999, 2000, 2001, 2002, 2003 + Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. Contributed by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz) @@ -475,7 +475,7 @@ doloop_modify (const struct loop *loop, rtx iterations, rtx iterations_max, count = GEN_INT (INTVAL (count) - 1); else count = expand_simple_binop (GET_MODE (counter_reg), MINUS, - count, GEN_INT (1), + count, const1_rtx, 0, 0, OPTAB_LIB_WIDEN); } |