This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: MN10300: Add support for SETLB and Lcc instructions
- From: Richard Henderson <rth at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: aoliva at redhat dot com, law at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Tue, 03 May 2011 12:18:00 -0700
- Subject: Re: RFA: MN10300: Add support for SETLB and Lcc instructions
- References: <m3sjvcnu4v.fsf@redhat.com> <4D685A83.60508@redhat.com> <4D75E626.2080107@redhat.com> <4D76FAFC.9020106@redhat.com> <4DBFF172.1030202@redhat.com>
On 05/03/2011 05:13 AM, Nick Clifton wrote:
> The problem I found here was that I did not know how to find all of
> the test-and-loop-back insns if the loop spanned multiple blocks.
> The revised patch includes a comment saying that loops spanning
> multiple blocks could be supported, but I would like to leave that
> for a future patch rather than trying to get it all working now.
The patch is ok.
As for the finding the branches, I'm pretty sure that
/* Head of the cyclic list of the exits of the loop. */
struct loop_exit *exits;
means what it says and contains all of the edges that exit
the block. But doing that in a separate patch is fine.
r~