This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]