This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: enabling 1st insn scheduling for sh4.
- From: Richard Henderson <rth at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: vmakarov at redhat dot com, gcc-patches at gcc dot gnu dot org, sanjivg at noida dot hcltech dot com
- Date: Wed, 25 Feb 2004 21:47:23 -0800
- Subject: Re: Patch: enabling 1st insn scheduling for sh4.
- References: <403B8B1B.5000606@redhat.com> <200402260522.i1Q5MVOr025640@greed.delorie.com>
On Thu, Feb 26, 2004 at 12:22:32AM -0500, DJ Delorie wrote:
> (set (reg:SI 0 r0) (call ...))
>
> (set (reg:SI 456) (reg:SI 0 r0))
>
> Unfortunately, sched1 moves those apart, and if one of the insns it
> moves between them *needs* r0, it fails.
This is supposed to be handled by in_post_call_group_p in
sched_analyze_insn. Find out why this isn't set, or why the
scheduling group is being broken.
r~