This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/69847] Spec 2006 403.gcc slows down with -mlra vs. reload on PowerPC
- From: "wdijkstr at arm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Aug 2016 15:08:01 +0000
- Subject: [Bug rtl-optimization/69847] Spec 2006 403.gcc slows down with -mlra vs. reload on PowerPC
- Auto-submitted: auto-generated
- References: <bug-69847-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69847
Wilco <wdijkstr at arm dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wdijkstr at arm dot com
--- Comment #27 from Wilco <wdijkstr at arm dot com> ---
On AArch64 this patch improves codesize slightly and perf results are within
noise. Typical changes are like:
1)
mov x1, x2
mov w2, 96
ldr x1, [x1, 8]
--->>
ldr x1, [x2, 8]
mov w2, 96
2)
add x0, x0, :lo12:board
mov x26, x0
--->>>
add x26, x0, :lo12:board
so basically avoiding redundant moves which is always good.