This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: load large immediate
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: daniel tian <daniel dot xntian at gmail dot com>
- Cc: iant at google dot com, uday at cse dot iitb dot ac dot in, gcc at gcc dot gnu dot org, yxun lan <dennis dot yxun at gmail dot com>
- Date: Thu, 26 Feb 2009 06:36:24 -0500
- Subject: Re: load large immediate
the address label "common_reg " used many times. I think it will
load one time. But after optimized with '-Os' or '-O2', it still loads
the label "common_reg " six times..
Previously, you could define LEGITIMIZE_ADDRESS and LEGITIMIZE_RELOAD_ADDRESS
to get reasonable code. However, that no longer works in gcc 4.4, see
PR38785.
I have a patch set; if you like, I can it to you. Note, however, that it is
not known if the FSF have a relevant valid Copyright assignment on file.