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: hfinkel at anl dot gov
Subject: [Bug ld/18414] TOC optimization bug (ignoring data deps on addis/ld -> nop/ld opt)
Date: Mon, 18 May 2015 18:05:50 +0000

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

--- Comment #6 from Hal Finkel <hfinkel at anl dot gov> ---
(In reply to Alan Modra from comment #1)
> 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.

LLVM updated to add extra r2 read dependencies on instructions with 
@address@hidden
relocations in r237556.

-- 
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]