Commit 9972f30d by Steve Ellcey Committed by Steve Ellcey

* config/pa/pa.c (output_cbranch): Check for zero in operands[2].

From-SVN: r104465
parent 29b2d867
2005-09-20 Steve Ellcey <sje@cup.hp.com>
* config/pa/pa.c (output_cbranch): Check for zero in operands[2].
2005-09-20 Richard Henderson <rth@redhat.com>
* expr.c (expand_expr_real_1) <INDIRECT_REF>: Allow modifier
......
......@@ -5922,6 +5922,8 @@ output_cbranch (rtx *operands, int nullify, int length, int negated, rtx insn)
zero for cmpb, we must ensure that we use cmpb for the comparison. */
if (GET_MODE (operands[1]) == DImode && operands[2] == const0_rtx)
operands[2] = gen_rtx_REG (DImode, 0);
if (GET_MODE (operands[2]) == DImode && operands[1] == const0_rtx)
operands[1] = gen_rtx_REG (DImode, 0);
/* If this is a long branch with its delay slot unfilled, set `nullify'
as it can nullify the delay slot and save a nop. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment