[Bug tree-optimization/77719] [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-24 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77719 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug tree-optimization/77719] [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-24 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77719 --- Comment #4 from Joost VandeVondele --- (In reply to Dominique d'Humieres from comment #3) > I > don't think the code is valid: spdim is an implicit real used uninitialized. yeah, auto-reduced from valid code. but thanks for confirming,

[Bug tree-optimization/77719] New: [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-24 Thread Joost.VandeVondele at mat dot ethz.ch
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- recent trunk regression: > cat bug.f90 SUBROUTINE urep_egr(erep,derep,surr) INTEGER, PARAMETER :: dp=8 REAL(dp), INTENT(in

[Bug tree-optimization/77644] New: missed optimization with sqrt in comparison

2016-09-19 Thread Joost.VandeVondele at mat dot ethz.ch
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- > cat t.f90 LOGICAL FUNCTION F1(A,B) REAL :: A,B F1=(abs(A)<sqrt(B)) END FUNCTION LOGICAL FUNCTION F2(A,B) REAL :: A,B F2=(A*A<B) END

[Bug tree-optimization/77719] [7 Regression] ICE in pp_string, at pretty-print.c:955

2016-09-25 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77719 --- Comment #6 from Joost VandeVondele --- (In reply to kugan from comment #5) > Sent a patch to fix this at > https://gcc.gnu.org/ml/gcc-patches/2016-09/msg01760.html. Thanks, add this line before the first IF statement to silence the

[Bug libfortran/51119] MATMUL slow for large matrices

2016-11-08 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #37 from Joost VandeVondele --- (In reply to Joost VandeVondele from comment #36) > #pragma GCC optimize ( "-Ofast -fvariable-expansion-in-unroller > -funroll-loops" ) and really beneficial for larger matrices would be

[Bug libfortran/51119] MATMUL slow for large matrices

2016-11-08 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119 --- Comment #36 from Joost VandeVondele --- (In reply to Jerry DeLisle from comment #34) > -Ofast does reorder execution.. > Opinions welcome. That is absolutely OK for a matmul, and all techniques to get near peak performance require that

[Bug fortran/68649] [6/7 Regression] note: code may be misoptimized unless -fno-strict-aliasing is used

2016-10-18 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68649 --- Comment #18 from Joost VandeVondele --- since this PR, and the related PR77278 can presumably only be fixed by changing libgfortran abi (at least if I understand Richard's suggestion for fixing this). The announced major version bump of

[Bug middle-end/81441] New: slowdown due to -fpeel-loops and -ftracer added by -fprofile-use

2017-07-14 Thread Joost.VandeVondele at mat dot ethz.ch
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- For our code, we see a slowdown (3%-7% depending on the user reporting) due to the options -fpeel-loops and -ftracer

[Bug middle-end/81441] slowdown due to -fpeel-loops and -ftracer added by -fprofile-use

2017-07-17 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81441 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz

[Bug target/80817] [missed optimization][x86] relaxed atomics

2017-05-20 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80817 Joost VandeVondele changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/80817] New: [missed optimization][x86] relaxed atomics

2017-05-18 Thread Joost.VandeVondele at mat dot ethz.ch
: target Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- Using gcc 7.1 on x86, the following #include void increment_relaxed(std::atomic& counter) { atomic_store_explicit(, atomic_load_explicit(,

[Bug target/80817] [missed optimization][x86] relaxed atomics

2017-05-22 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80817 --- Comment #3 from Joost VandeVondele --- If I compile with -m32 gcc -std=c++11 -m32 -S -O3 test.cpp I get .cfi_startproc subl$12, %esp .cfi_def_cfa_offset 16 movl16(%esp), %ecx fildq

<    3   4   5   6   7   8