< 16?
On 20/10/2017, Richard Biener wrote:
> On Fri, Oct 20, 2017 at 12:13 PM, Denis Bakhvalov
> wrote:
>> Thank you for the reply!
>>
>> Regarding last part of your message, this is also what clang will do
>> when you are passing vf of 4 (with the pragma from
mehow achieve this in gcc by tweaking the code or
adding some pragma?
On 19/10/2017, Jakub Jelinek wrote:
> On Thu, Oct 19, 2017 at 10:38:28AM +0200, Richard Biener wrote:
>> On Thu, Oct 19, 2017 at 9:22 AM, Denis Bakhvalov
>> wrote:
>> > Hello!
>> >
>> >
Hello!
I have a hot inner loop which was vectorized by gcc, but I also want
compiler to unroll this loop by some factor.
It can be controled in clang with this pragma:
#pragma clang loop vectorize(enable) vectorize_width(8)
Please see example here:
https://godbolt.org/g/UJoUJn
So I want to tell g