This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFD: Integrate shorten_branches, machine-dependent constant pool placement and small-scale hot/cold partitioning
- From: Mike Stump <mrs at apple dot com>
- To: Richard Earnshaw <rearnsha at arm dot com>
- Cc: Joern RENNECKE <joern dot rennecke at st dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 16 May 2006 09:32:51 -0700
- Subject: Re: RFD: Integrate shorten_branches, machine-dependent constant pool placement and small-scale hot/cold partitioning
- References: <44675643.2070701@st.com> <1147774437.4185.87.camel@pc960.cambridge.arm.com>
On May 16, 2006, at 3:13 AM, Richard Earnshaw wrote:
I wonder now if I should keep this as SH-specific code, or does it
make
sense to write this a bit more generic - i.e. a variable number of
constant ranges, configurable size of small cold blocks, and the
range
of branches selectable - and provide this as a new piece of gcc
infrastructure.
Yes, the problem on Thumb-1 is the same in almost all respects
Given the distinct similarities here, I think it is worth
investigating
whether some common solution can be found. It's silly for both
backends
to be maintaining code that does substantially the same thing.
I think sharing of port common code is worthwhile.