This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Supporting multiple instructions sets within a single machinedescription
- From: <tm_gccmail at mail dot kloo dot net>
- To: Jon Beniston <jbeniston at compxs dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 12 Mar 2003 12:16:50 -0800 (PST)
- Subject: Re: Supporting multiple instructions sets within a single machinedescription
On Wed, 12 Mar 2003, Jon Beniston wrote:
>
> I was wondering what support there is within GCC for supporting multiple
> instruction sets within a single machine description. E.g. ARM & Thumb
or MIPS32/MIPS16.
This is already done. USTL!
> Is it possible for GCC to compile to different
> instructions sets at a finer granularity than a single compilation unit?
> i.e. Can I get GCC to compile one function in Thumb and another using
> the full ARM instruction set.
No. It's set using command-line options.
> Cheers,
> JonB
Toshi