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?
Richard Henderson <rth@redhat.com> writes:
> I think perhaps we might be willing to move *some* things back to
> Where they can be seen to be compile-time constants. However,
> anything we move back had better be constant.
I think one issue is that there are things which are compile-time
constants for some platforms but not for others. Those are the types
of things found in targetm.calls, for example. Or, e.g.,
BYTES_BIG_ENDIAN, although that is not (yet) in the target vector.
> I do not want anyone to be tempted to do sneak more and more complex
> macros back into header files in the name of optimization.
I certainly agree with that.
Ian