Commit 1f88caaa by Bernd Schmidt Committed by Bernd Schmidt

re PR rtl-optimization/11320 (Scheduler bug)

	PR rtl-optimization/11320
	* config/ia64/ia64.md (load_symptr_low): Show a MEM.
	* config/ia64/ia64.c (ia64_expand_load_address): Generate it.

From-SVN: r176280
parent 0c7e607d
2011-07-14 Bernd Schmidt <bernds@codesourcery.com>
PR rtl-optimization/11320
* config/ia64/ia64.md (load_symptr_low): Show a MEM.
* config/ia64/ia64.c (ia64_expand_load_address): Generate it.
2011-07-14 Georg-Johann Lay <avr@gjlay.de>
PR target/49487
* config/avr/avr.md (rotl<mode>3): Generate SCRATCH instead
of REG.
......
......@@ -1047,7 +1047,7 @@ ia64_expand_load_address (rtx dest, rtx src)
tmp = gen_rtx_PLUS (Pmode, tmp, pic_offset_table_rtx);
emit_insn (gen_rtx_SET (VOIDmode, dest, tmp));
tmp = gen_rtx_LO_SUM (Pmode, dest, src);
tmp = gen_rtx_LO_SUM (Pmode, gen_const_mem (Pmode, dest), src);
emit_insn (gen_rtx_SET (VOIDmode, dest, tmp));
if (addend)
......
......@@ -777,7 +777,7 @@
(define_insn "*load_symptr_low"
[(set (match_operand:DI 0 "register_operand" "=r")
(lo_sum:DI (match_operand:DI 1 "register_operand" "r")
(lo_sum:DI (mem:DI (match_operand:DI 1 "register_operand" "r"))
(match_operand 2 "got_symbolic_operand" "s")))]
"reload_completed"
{
......
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