bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18414] TOC optimization bug (ignoring data deps on addis/ld -> n


From: amodra at gmail dot com
Subject: [Bug ld/18414] TOC optimization bug (ignoring data deps on addis/ld -> nop/ld opt)
Date: Thu, 14 May 2015 00:56:04 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18414

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
True, ld will do this.  However, the optimization is relying on gcc to generate
code that can be optimized this way..  So I'm assuming the example code was
from llvm or assembly.

gcc ensures that the optimization is valid by adding a dependency on r2 to the
low part of the address calculation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]