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]

Re: SH: use register names instead of numbers


On Nov 22, 2000, Joern Rennecke <amylaar@redhat.com> wrote:

>> There appears to be.  Most xm-*.h include tm.h.
>> Houston, we have a problem :-)

> Hmm, could we have an additional -D flag in HOST_CFLAGS, so that we can
> do the inclusion of insn-codes.h in tm.h only for the actual gcc files?

Hard to tell whether any of the `actual gcc files' actually needs the
md_constants #defines.  It even occurred to me that we could create a
new header, insn-consts.h, and arrange for it to get included where
needed.  But defining `where needed' is hard, because it depends on
which target-specific macros make use of constants defined in the MD
file.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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