Fwd: Regarding the sid simulator [patch][commit]
Frank Ch. Eigler
fche@redhat.com
Wed Nov 29 21:33:00 GMT 2006
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
More information about the Sid
mailing list