[Bug tree-optimization/85212] Parallelizable loop isn't unrolled [regression bug?]

2018-04-05 Thread robertw89 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85212 --- Comment #2 from robertw89 at googlemail dot com --- Thanks you for your explaination :) . The compiler indeed emits the expected code wit -funroll-loops

[Bug tree-optimization/85212] Parallelizable loop isn't unrolled [regression bug?]

2018-04-05 Thread robertw89 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85212 robertw89 at googlemail dot com changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug tree-optimization/85212] New: Parallelizable loop isn't unrolled [regression bug?]

2018-04-04 Thread robertw89 at googlemail dot com
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: robertw89 at googlemail dot com Target Milestone: --- The compiler fails to unroll the loop (partially). compiled with -O3 -mavx -mavx2 -mfma -fno-math-errno -ffast-math -floop-parallelize-all

[Bug tree-optimization/85143] Loop limit prevents (auto)vectorization

2018-03-31 Thread robertw89 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85143 --- Comment #2 from robertw89 at googlemail dot com --- This change would be trivial. To defend my case and rant a bit ;) ... Indeed, but programmers can manually unroll a loop too ;) . What if the code is autogenerated? What if the constant

[Bug tree-optimization/85143] New: Loop limit prevents (auto)vectorization

2018-03-31 Thread robertw89 at googlemail dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: robertw89 at googlemail dot com Target Milestone: --- I expected that it generates a vectorized version potentially specializing to the boundary. LLVM produces strange looking (vectorized) code so I guess it's

[Bug tree-optimization/85115] New: Failure to (auto)vectorize sqrtf

2018-03-28 Thread robertw89 at googlemail dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: robertw89 at googlemail dot com Target Milestone: --- Fails to (auto)vectorize the code bellow with the flags -O3 -mavx #include void simdSqrt( float * __restrict__ a, float * __restrict__ res, int size