Re: [patch, spu] Fix sched_emit_insn after scheduler changes

2011-05-02 Thread Ulrich Weigand
Bernd Schmidt wrote: > On 04/27/2011 03:22 PM, Ulrich Weigand wrote: > > * haifa-sched.c (sched_emit_insn): Emit insn before first > > non-scheduled insn. Inform back-end about new insn. Add > > new insn to scheduled_insns list. > > Seems like this function is only used from spu.c. O

Re: [patch, spu] Fix sched_emit_insn after scheduler changes

2011-05-02 Thread Bernd Schmidt
On 04/27/2011 03:22 PM, Ulrich Weigand wrote: > * haifa-sched.c (sched_emit_insn): Emit insn before first > non-scheduled insn. Inform back-end about new insn. Add > new insn to scheduled_insns list. Seems like this function is only used from spu.c. OK. Bernd

[patch, spu] Fix sched_emit_insn after scheduler changes

2011-04-27 Thread Ulrich Weigand
Hello, since recent changes to haifa-sched.c, the SPU back-end runs into internal errors due to its use of the sched_emit_insn routine to emit instruction prefetch instructions during final scheduling. Now that scheduled instructions aren't placed into the instruction stream directly, sched_emit_