[Bug tree-optimization/103903] Loops handling r,g,b values are not vectorized to use power of 2 vectors even if they can

2022-01-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103903 Jan Hubicka changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug tree-optimization/103903] Loops handling r,g,b values are not vectorized to use power of 2 vectors even if they can

2022-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103903 --- Comment #2 from Richard Biener --- If you fix the loop to do for (i=0;i<10;i++) { dest[i].r/=src[i].g; dest[i].g/=src[i].g; dest[i].b/=src[i].b; } it's vectorized just fine (with larger than

[Bug tree-optimization/103903] Loops handling r,g,b values are not vectorized to use power of 2 vectors even if they can

2022-01-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103903 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill