This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Porting GCC: Compare-and-Branch-Instructions
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: Porting GCC: Compare-and-Branch-Instructions
- From: Bernd Schmidt <bernds at balti dot cygnus dot co dot uk>
- Date: Fri, 4 Feb 2000 22:10:29 +0000 (GMT)
- cc: Geoff Keating <geoffk at cygnus dot com>, gcc at gcc dot gnu dot org
On Fri, 4 Feb 2000, Richard Henderson wrote:
> On Fri, Feb 04, 2000 at 12:58:34PM -0800, Geoff Keating wrote:
> > Yes. Really, we should fix this, and just have a 'compare_and_branch'
> > pattern that expands to whatever is appropriate for the port.
>
> Bernd started on this for thumb. There may not be anything
> left to do except convert old ports.
One thing the current compare & branch infrastructure doesn't handle is
other classes of compare & operation (such as conditional moves or store
flag insns). I had patches to add those capabilities as well but I ran
into some rather strange problems with the jump optimizer pass, and I
haven't picked it up since.
Bernd