[Bug target/82242] x86_64 bad optimization with -march

2017-09-20 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82242 Alexander Monakov changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82242] x86_64 bad optimization with -march

2017-09-19 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82242 --- Comment #2 from Marc Glisse --- Nothing gets vectorized :-( Note that to fill the vector, this would be better std::vector array(size, 1e-9); In the reduction, we seem to do strange things with the accumulator. addsd (%rax),