Commit bec02c18 by Joern Rennecke Committed by Joern Rennecke

* config/spu/spu.c (ea_load_store_inline): Use add_reg_note.

From-SVN: r161275
parent 82c0295a
......@@ -6,6 +6,8 @@
(spu_handle_vector_attribute, spu_pass_by_reference): Likewise.
(spu_rtx_costs, spu_function_ok_for_sibcall): Likewise.
* config/spu/spu.c (ea_load_store_inline): Use add_reg_note.
2010-06-23 Arnaud Charlet <charlet@adacore.com
PR ada/22220
......
......@@ -4488,8 +4488,7 @@ ea_load_store_inline (rtx mem, bool is_store, rtx ea_addr, rtx data_addr)
hit_ref, pc_rtx)));
/* Say that this branch is very likely to happen. */
v = REG_BR_PROB_BASE - REG_BR_PROB_BASE / 100 - 1;
REG_NOTES (insn)
= gen_rtx_EXPR_LIST (REG_BR_PROB, GEN_INT (v), REG_NOTES (insn));
add_reg_note (insn, REG_BR_PROB, GEN_INT (v));
ea_load_store (mem, is_store, ea_addr, data_addr);
cont_label = gen_label_rtx ();
......
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