This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: DSE replace_read revisited
"Andrew Pinski" <pinskia@gmail.com> writes:
> 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.
I'm probably misunderstanding, but isn't that subreg/s/u rather
than subreg/s/v?
Richard