summaryrefslogtreecommitdiff
path: root/gcc/config/m68hc11
diff options
context:
space:
mode:
authorciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-07 16:45:11 +0000
committerciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-07 16:45:11 +0000
commit84267788f4191e99013258b0411087594deb97c6 (patch)
treeb867287946178d7fa72e6123bbd30a0b34f44b71 /gcc/config/m68hc11
parent77918a252e2e5b9f71ce59ed952675d9183ed069 (diff)
downloadgcc-84267788f4191e99013258b0411087594deb97c6.tar.gz
PR bootstrap/13990
* config/m68hc11/m68hc11.md ("doloop_end"): Pass dummy arguments to gen_rtx_NE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77459 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68hc11')
-rw-r--r--gcc/config/m68hc11/m68hc11.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md
index 1d82f592783..deea2318fa0 100644
--- a/gcc/config/m68hc11/m68hc11.md
+++ b/gcc/config/m68hc11/m68hc11.md
@@ -5977,17 +5977,24 @@
{
FAIL;
}
+
+ /* Note that for xxx_dbcc_dec_yy the gen_rtx_NE is only used to pass
+ the operator and its operands are not relevant. */
if (GET_MODE (operands[0]) == HImode)
{
emit_jump_insn (gen_m68hc12_dbcc_dec_hi (operands[0],
- gen_rtx_NE (HImode),
+ gen_rtx_NE (HImode,
+ operands[0],
+ const1_rtx),
operands[4]));
DONE;
}
if (GET_MODE (operands[0]) == QImode)
{
emit_jump_insn (gen_m68hc12_dbcc_dec_qi (operands[0],
- gen_rtx_NE (QImode),
+ gen_rtx_NE (QImode,
+ operands[0],
+ const1_rtx),
operands[4]));
DONE;
}