This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH COMMITTED: Use conditional moves in groups of assignments
Joern RENNECKE <joern.rennecke@st.com> writes:
> Ian Lance Taylor wrote:
>
> > When branches are expensive and additions are cheap:
> >
> >if (a)
> > {
> > b = x + y;
> > c = w + z;
> >
> Oh. So when you said 'general operands' in your previous post, that did
> not refer to rtl as accepted by the general_operand predicate.
> Should this then be interpreted as: any assignment RHS that does not have
> side effects (including traps)?
Yes, I believe it should be possible to make that work.
Ian