https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
--- Comment #11 from Jan Lachnitt ---
Thank you all for a rapid investigation of the problem.
Here is a confirmation with the large test case:
jenda@VivoBook ~/Bug reports/gfortran/6/PhSh1 $ gfortran-6 phsh1.f -std=legacy
-I. -march=core-avx-i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
H.J. Lu changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
--- Comment #9 from Uroš Bizjak ---
(In reply to H.J. Lu from comment #7)
> (In reply to H.J. Lu from comment #6)
> > Which glibc was used? You may run into:
> >
> > https://sourceware.org/bugzilla/show_bug.cgi?id=20495
>
> Please run your
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
--- Comment #8 from Uroš Bizjak ---
(In reply to H.J. Lu from comment #6)
> Which glibc was used? You may run into:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=20495
Fedora 25:
$ /lib/libc.so.6
GNU C Library (GNU libc) stable
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
--- Comment #7 from H.J. Lu ---
(In reply to H.J. Lu from comment #6)
> Which glibc was used? You may run into:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=20495
Please run your testcase with
# LD_BIND_NOW=1 ./test
with and without
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
H.J. Lu changed:
What|Removed |Added
CC||hjl.tools at gmail dot com
--- Comment #6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
--- Comment #5 from Uroš Bizjak ---
I can confirm the slowdown with -mavx on ivybridge-E:
-msse4
real0m0.278s
user0m0.276s
sys 0m0.002s
-mavx
real0m0.699s
user0m0.696s
sys 0m0.003s
in -msse4 case, perf report
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
--- Comment #4 from Jan Lachnitt ---
Small test case with -march=core-avx-i:
real0m1.300s
user0m1.296s
sys 0m0.000s
I.e., reproduced.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
--- Comment #3 from Richard Biener ---
Can't reproduce (with the small testcase) and -march=native on
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush
dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
--- Comment #2 from Richard Biener ---
It's hard to guess what happens, esp. w/o optimization the difference should
be minimal.
It would be nice if you can isolate the difference to a specific architecture
flag rather than native
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611
--- Comment #1 from Jan Lachnitt ---
Created attachment 40200
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40200=edit
Smaller test case
Here is a smaller test case, which runs for a second only, not hours.
without -march=native:
real
11 matches
Mail list logo