[Bug target/89557] [7/8/9/10 regression] 4*movq to 2*movaps IPC performance regression on znver1 with -Og
0xe2.0x9a.0x9b at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 18 06:26:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89557
--- Comment #11 from Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail dot com> ---
(In reply to Eric Gallager from comment #10)
>
> /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.
Interesting. Your measurement is showing that there is no performance
regression on your machine when going from ag-7.4 to ag-8.3.
Some questions:
- What CPU was used to obtain your results?
- If you run "perf record ./ag-8.3; perf report", which instructions do you see
highlighted when you enter the disassembly of function "mul"? On Ryzen 3700X, I
see:
3.57% movdqu 0x70(%rsp), %xmm4
69.25% movups %xmm4, 0x30(%rsp)
9.32% jmpq 11bb
Thanks.
----
Sidenote: The mirror http://gcc.fyxm.net at https://gcc.gnu.org/mirrors.html is
invalid.
More information about the Gcc-bugs
mailing list