This is the mail archive of the sid@sourceware.org mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: Regarding the sid simulator [patch][commit]


Hi -

> >Would it be possible to simply always compile in the shCfg.cxx file?
> >Protect it with an embedded #if SIDTARGET_SH | SIDTARGET_SH64
> >if you really must.
> 
> Well yes, of course it would. It just seemed wasteful. Similar to how we 
> don't compile/link in the bits which support unspecified targets in 
> sid/component/cgen-cpu.

The costs (compile time / object size) are of a different magnitude.
We don't rip out unconfigured platforms out of configrun-sid.pl either
- they just won't work.  Plus, if you add the #if/#endif thing I
mentioned, the costs of including a dummy shCfg.cxx are approximately
zero.

- FChE


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