This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: support mixed mips16/nomips16 compilation in the same file
- From: Mike Stump <mrs at apple dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 24 Jun 2007 22:15:09 -0700
- Subject: Re: PATCH: support mixed mips16/nomips16 compilation in the same file
- References: <467E97C6.90501@codesourcery.com>
On Jun 24, 2007, at 9:11 AM, Sandra Loosemore wrote:
This is a tricky change. There are many places in GCC where it
assumes that the target's register set or usage doesn't change
during compilation, for instance, and uses that information to
precompute other things. We've broken out a new function,
backend_reinit,
:-) We have a local patch which has a reinit for -O1, -O2, -O3...
and all that implies... to allow changing optimization levels on a
per-function basis.