[Bug target/89557] [7/8/9/10 regression] 4*movq to 2*movaps IPC performance regression on znver1 with -Og
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 18 02:54:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89557
--- Comment #10 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jan Ziak (http://atom-symbol.net) from comment #9)
> (In reply to Richard Biener from comment #5)
> > Please provide a compilable testcase.
>
> Done some time ago. Please change the status of this bug from WAITING to
> some other status.
I had to modify the Makefile a bit (i.e. rename compiler executables, tweak
flags, specify shell) to get it to work on my system, and once I did, this is
the output I got:
$ /opt/local/libexec/gnubin/make
rm -f a?-?.?
g++-mp-7 -O0 -g -Wall -Werror -Wswitch-enum -o a0-7.4 a.cc
/var/folders/2V/2VxMt4WCF5avqTEcHvhx9k+++TI/-Tmp-//ccD198h7.s:3:11: warning:
section "__textcoal_nt" is deprecated
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
/var/folders/2V/2VxMt4WCF5avqTEcHvhx9k+++TI/-Tmp-//ccD198h7.s:3:11: note:
change section name to "__text"
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
g++-mp-7 -Og -g -Wall -Werror -Wswitch-enum -o ag-7.4 a.cc
g++-mp-7 -O1 -g -Wall -Werror -Wswitch-enum -o a1-7.4 a.cc
g++-mp-8 -O0 -g -Wall -Werror -Wswitch-enum -o a0-8.3 a.cc
/var/folders/2V/2VxMt4WCF5avqTEcHvhx9k+++TI/-Tmp-//ccnY2JQT.s:3:11: warning:
section "__textcoal_nt" is deprecated
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
/var/folders/2V/2VxMt4WCF5avqTEcHvhx9k+++TI/-Tmp-//ccnY2JQT.s:3:11: note:
change section name to "__text"
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
g++-mp-8 -Og -g -Wall -Werror -Wswitch-enum -o ag-8.3 a.cc
g++-mp-8 -O1 -g -Wall -Werror -Wswitch-enum -o a1-8.3 a.cc
g++-mp-8 -O3 -g -Wall -Werror -Wswitch-enum -o a3-8.3 a.cc
g++-mp-7 -Og -g -Wall -Werror -Wswitch-enum -march=native -o ag-7.4n a.cc
g++-mp-8 -Og -g -Wall -Werror -Wswitch-enum -march=native -o ag-8.3n a.cc
/usr/bin/time ./a0-7.4 |& egrep -o [0-9]+.*user
1.48 real 1.26 user
/usr/bin/time ./ag-7.4 |& egrep -o [0-9]+.*user
0.61 real 0.59 user
/usr/bin/time ./a1-7.4 |& egrep -o [0-9]+.*user
0.57 real 0.55 user
/usr/bin/time ./a0-8.3 |& egrep -o [0-9]+.*user
1.27 real 1.21 user
/usr/bin/time ./ag-8.3 |& egrep -o [0-9]+.*user
0.60 real 0.59 user
/usr/bin/time ./a1-8.3 |& egrep -o [0-9]+.*user
0.60 real 0.59 user
/usr/bin/time ./a3-8.3 |& egrep -o [0-9]+.*user
0.45 real 0.43 user
/usr/bin/time ./ag-7.4n |& egrep -o [0-9]+.*user
0.60 real 0.59 user
/usr/bin/time ./ag-8.3n |& egrep -o [0-9]+.*user
0.61 real 0.59 user
$
So, uh, I'm not sure if that's a confirmation, but it's an extra data point.
More information about the Gcc-bugs
mailing list