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: "Zack Weinberg" <zack at codesourcery dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 19 Jan 2004 13:14:54 -0800
- Subject: Re: Can we speed up the gcc_target structure?
- References: <10401191907.AA00753@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> If done right, it ought to be simpler than target macros. If you look
> at individual target macros in isolation, conversion from macro to
> hook invariably makes the back-end interface simpler, just because it
> forces you not to do the horrible define-here-redefine-there mess that
> is the current state of a lot of the macros.
>
> True for some, but not others. Yes, we have a lot of macros which are actually
> functions, but we also have a lot of macros that are just a half dozen
> tokens which would have to be converted into a function.
Do you have any in particular in mind?
zw