optabs.c: (expand_bool_compare_and_swap): Emit barrier after unconditional jump.
2005-06-02 Adrian Straetling <straetling@de.ibm.com> * optabs.c: (expand_bool_compare_and_swap): Emit barrier after unconditional jump. From-SVN: r100508
This commit is contained in:
parent
6b02a4997b
commit
d9dfec3ffa
@ -1,3 +1,8 @@
|
||||
2005-06-02 Adrian Straetling <straetling@de.ibm.com>
|
||||
|
||||
* optabs.c: (expand_bool_compare_and_swap): Emit barrier after
|
||||
unconditional jump.
|
||||
|
||||
2005-06-02 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* cgraph.c (cgraph_node): Maintain master clones.
|
||||
|
@ -5627,6 +5627,7 @@ expand_bool_compare_and_swap (rtx mem, rtx old_val, rtx new_val, rtx target)
|
||||
emit_jump_insn (bcc_gen_fctn[EQ] (label0));
|
||||
emit_move_insn (target, const0_rtx);
|
||||
emit_jump_insn (gen_jump (label1));
|
||||
emit_barrier ();
|
||||
emit_label (label0);
|
||||
emit_move_insn (target, const1_rtx);
|
||||
emit_label (label1);
|
||||
|
Loading…
Reference in New Issue
Block a user