This is the mail archive of the gcc-patches@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: PATCH: ffs/ctz expansions using clz


Sandra Loosemore <sandra@codesourcery.com> writes:
> This patch depends on CLZ_DEFINED_VALUE_AT_ZERO applying to the clz
> optab as well as the clz rtl expression.  I couldn't tell from reading
> the documentation whether this is a change from its previous meaning
> or not, but I don't think it's inconsistent with current practice in
> all the other back ends.

It is a change.  I was thinking the macro ought to be tristate:
defined always, defined for the clz rtl code only, or undefined.
Sorry for not making that clear.

(The patch looked good to me otherwise FWIW, although I obviously
can't approve it.)

Richard


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