This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to implement branches?


"Fred Cook" <fcook377@hotmail.com> writes:

> My target architecture implements conditional branches like this:
> 
>         equal r10, r11, r12             /* r12 = (r10 == r11) */
>         branch_if_true r12, label
> 
> Now I am looking for hits to implement this my gcc port. Also
> references to ports where branches are clearly implemented and
> branches are similar to the branches of my architecture are welcome.

This is pretty much how things work on Alpha.

-- 
	Falk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]