This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Porting GCC: Compare-and-Branch-Instructions
Richard Henderson <rth@cygnus.com> writes:
> On Fri, Feb 04, 2000 at 05:48:47PM +0100, Anja Müller wrote:
> > But how can I "record operands in static variables" and how can I "use
> > the remembered operands" in the Instruction Pattern ? Can you give me an
> > example?
>
> Look at the alpha port. Or the i386 port. Actually, most of
> the ports use this technique.
Yes. Really, we should fix this, and just have a 'compare_and_branch'
pattern that expands to whatever is appropriate for the port.
--
- Geoffrey Keating <geoffk@cygnus.com>