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/optabs.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/optabs.c')
-rw-r--r-- | gcc/optabs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index b3db5d35836..e748c15a18e 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -2358,7 +2358,7 @@ expand_parity (enum machine_mode mode, rtx op0, rtx target) temp = expand_unop (wider_mode, popcount_optab, xop0, NULL_RTX, true); if (temp != 0) - temp = expand_binop (wider_mode, and_optab, temp, GEN_INT (1), + temp = expand_binop (wider_mode, and_optab, temp, const1_rtx, target, true, OPTAB_DIRECT); if (temp == 0) delete_insns_since (last); @@ -3337,9 +3337,9 @@ emit_libcall_block (rtx insns, rtx target, rtx result, rtx equiv) rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX); if (note != 0) - XEXP (note, 0) = GEN_INT (-1); + XEXP (note, 0) = constm1_rtx; else - REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EH_REGION, GEN_INT (-1), + REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EH_REGION, constm1_rtx, REG_NOTES (insn)); } |