This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Optimize zero_extend into paradoxical subreg
On Sat, Sep 28, 2002 at 11:03:04AM -0600, Roger Sayle wrote:
> In an ideal world we probably wouldn't need LOAD_EXTEND_OP,
> target patterns would appropriately recognize "(zero_extend (mem ...))""
Many targets do. This is not particularly difficult on load/store
architectures; merely a matter of making zero_extendsidi (or whatever)
recognize memory inputs.
> and GCC would recognize"(?rshift (?lshift ...))" as extend insns.
It does, in combine.