Commit 6819a463 by Andreas Schwab Committed by Andreas Schwab

re PR target/24757 (__sync_fetch_and_add on ia64)

	PR target/24757
	* config/ia64/ia64.c (ia64_expand_atomic_op): Fix condition of cmp
	insn.

From-SVN: r107246
parent 688e936d
2005-11-20 Andreas Schwab <schwab@suse.de>
PR target/24757
* config/ia64/ia64.c (ia64_expand_atomic_op): Fix condition of cmp
insn.
2005-11-19 Richard Henderson <rth@redhat.com>
PR tree-opt/24665
......
......@@ -2113,7 +2113,7 @@ ia64_expand_atomic_op (enum rtx_code code, rtx mem, rtx val,
emit_insn (GEN_FCN (icode) (cmp_reg, mem, ar_ccv, new_reg));
emit_cmp_and_jump_insns (cmp_reg, old_reg, EQ, NULL, DImode, true, label);
emit_cmp_and_jump_insns (cmp_reg, old_reg, NE, NULL, DImode, true, label);
}
/* Begin the assembly file. */
......
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