This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can we speed up the gcc_target structure?
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: ian at wasabisystems dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 19 Jan 04 06:53:25 EST
- Subject: Re: Can we speed up the gcc_target structure?
I have to say that I was never happy with the move to the target structure,
but couldn't completely put my finger on why.
One reason I didn't like it was a feeling that it made references to these
parameters lexically more complex and hence made the code harder to read, but
that's not a strong reason.
Howver, *this* is the reason I was trying to express: a significant fraction
of these parameters are constants on most targets and we lose that with a
move to the target structure.
I've seen the argument that it would be good to be able to have the binaries
for many of the compiler files be target-independent, but I don't see that as
a major argument given compilation speeds at the moment. I think the loss in
compile-time performance is significant.
My sense would be to revert these changes and eliminate the target stucture
in favor of the simpler macro approach.
Am I the only one who feels this way? If not, this may be an issue for the
SC to address.