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] PR 32283


> this transformation is different from the one needed (this piece of
> code is turning ((x << 2) - 4) & ~3 to (x << 2) - 4).

Oops, yes, the transformation I had in mind is still done (by
force_to_mode and simplify_and_const_int) in combine.c only.

> However,
> implementing the required transformation using nonzero_bits would
> indeed be a better idea,

Good, thanks.

Paolo


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