[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

amodra at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 30 07:14:25 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281

--- Comment #15 from Alan Modra <amodra at gmail dot com> ---
(In reply to Jiu Fu Guo from comment #14)
> It would be a way to keep the data in memory(.rodata) through adjusting the
> cost of constant.

Yes, I posted a series of patches that fix this problem and other rtx costs. 
Look for patches with "rs6000_rtx_costs" in the subject.  Some of the patches
were even approved, but not all in the series.  I am disillusioned enough with
gcc that I won't be pushing those patches or attempting any future gcc work. 
You or anyone else are welcome to pick up the pieces.


More information about the Gcc-bugs mailing list