Porting GCC: Compare-and-Branch-Instructions

Geoff Keating geoffk@cygnus.com
Fri Feb 4 12:58:00 GMT 2000


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>


More information about the Gcc mailing list