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: [6/7] Explicitly classify vector loads and stores


Richard Biener <richard.guenther@gmail.com> writes:
> On Wed, Jun 15, 2016 at 10:52 AM, Richard Sandiford
> <richard.sandiford@arm.com> wrote:
>> This is the main patch in the series.  It adds a new enum and routines
>> for classifying a vector load or store implementation.
>>
>> Tested on aarch64-linux-gnu and x86_64-linux-gnu.  OK to install?
>
> Why's the setting and checking of the memory access type conditional on !slp?
> I'd rather avoid doing this :/

For loads we need it for hybrid SLP, since we can vectorise the
same load twice, once for SLP and once not.  (See e.g. pr62075.c.)
For stores it was unnecessary cut-&-paste.

Is it OK with the !slp restricted to vectorizable_load?

Thanks,
Richard


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