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]

Re: Target FUNCTION_{PRO,EPI}LOGUE question


> You could create a /tree directory, perhaps, with one file per tree
> type, and define all the member functions in there.  Everything can be
> static, and with short names.  See current target work for an example
> on how this can be done easily and cleanly.  I fail to see how it can
> be considered worse than the current way.

So instead of writing a handful of functions for your new optimization pass,
you write several thousand little functions, with lots of repetition,
scattered over 100 files.

I fail to see how writing the compiler in assember can be worse.


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