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
This commit is contained in:
Andreas Schwab 2005-11-20 10:43:43 +00:00 committed by Andreas Schwab
parent 688e936d46
commit 6819a4637b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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. */