[Bug rtl-optimization/69847] Spec 2006 403.gcc slows down with -mlra vs. reload on PowerPC

wdijkstr at arm dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 23 15:08:00 GMT 2016


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.


More information about the Gcc-bugs mailing list