From 6757f5d6deecafa06658804050bd5ed084973330 Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 3 Feb 2004 05:39:57 +0000 Subject: * 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 --- gcc/optabs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/optabs.c') 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)); } -- cgit v1.2.1