This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: DSE replace_read revisited
On 10/31/07, Richard Sandiford <rsandifo@nildram.co.uk> wrote:
> Paolo Bonzini <paolo.bonzini@lu.unisi.ch> writes:
> > BTW, do you know the circumstances under which you get a subreg/s/v? It
> > seems like dead code to me and the attached patch bootstraps.
>
> It's for ptr_extend promotion AIUI.
And also for targets where unsigned types smaller than the natural
register size. For an example on PowerPC64-linux-gnu, unsigned int is
passed as a 64bit zero extended. But ptr_extend promotion is another
use of it (ppu-lv2 [PS3] is such a target).
Thanks,
Andrew Pinski