This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 3/4, MIPS] Move clear_upper32* patterns to the and patterns
Richard Sandiford writes:
> Sorry to be a pain, but I'd rather keep them where they are.
> As the comment says, these are really zero-extend operations
> in all but name; they just have an unusual pattern because of
> the T_N_T thing.
>
> I'll reconsider if we don't end up going in the direction suggested
> in the other replies.
JTBS, as I pointed out in the patch 4 thread, we still need to explicitly
exclude 0xffff_ffff in the predicate. Hence this question is still open, I
believe. Do we want an extra check there or just rely on the order in which
case these patterns need to move up?
Adam