mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-04 22:20:10 +08:00
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:
parent
688e936d46
commit
6819a4637b
@ -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
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user