This is the mail archive of the gcc-patches@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: [PATCH]: Map r10000 to mips4 in MIPS_ISA_LEVEL_SPEC


On Sun, 16 Nov 2008, Richard Sandiford wrote:

> Yeah, cc1 gets it from there.  The problem is that the driver itself
> (gcc, g++, etc.) doesn't, and the choice of multilib depends purely on
> the command-line options that the driver can see.  This includes
> options added by DRIVER_SELF_SPECS.

 Yeah, I see indeed.  Thanks for the point.

> On targets like mipsisa*-elfoabi and mips-sde-elf, which have a
> large choice of multilibs, it's much easier to pick the right
> one if we know that a -mips* option is present.  It also makes
> later specs easier to write.  These targets therefore include
> MIPS_ISA_LEVEL_SPEC in DRIVER_SELF_SPECS.

 Hmm, for some configurations, with MIPS targets being a prominent 
example, the selection of multilibs available makes scaling problems to 
trigger.  Tough to address unless we are willing to sacrifice some 
optimisations and I can understand a repeatable pattern can help through 
the maze.

  Maciej


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