https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84106
--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> --- On Tue, 30 Jan 2018, bugzi...@poradnik-webmastera.com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84106 > > --- Comment #2 from Daniel Fruzynski <bugzi...@poradnik-webmastera.com> --- > Test included in comment 0 is part of bigger test which I performed. In full > version code was also computing bitmask and stored in 3rd array. For test1 gcc > was able to vectorize inner loop to series of load-shift-store-store > operations. In test2 it separated loops into two - 1st one performing memcpy > using "rep movsq", 2nd one calculating bitmasks using vector instructions. Yes, that's expected.