> > Therefore, I think it makes sense to (more or less) split translate.c into, > > let's say, following set of files: > > > > * translate_cmn_chk.h - definitions of (typically inlined) functions > >check_XXX() > > * translate_cmn_gen.h - declarations of gen_XXX() family of functions, and > > definitions of such functions among them that are inlined > > * translate_cmn_gen.c - definitions of non-inlined gen_XXX() functions > > (including all their callees) > > > > * translate.h - common structure definitions such as DisasContext > > * translate.c - the rest of code after splitting > > > > > > The nanoMIPS code would be, in such organization, in a separate file: > > > > * translate_nanomips.c > > This sounds fine. Thanks for being willing to tackle this.
I may submit something that attempts to be "the best of both worlds" between yours and mine alternative in next few days. Let's talk over the code. :) Regards, Aleksandar @bn7pr08mb4868.namprd08.prod.outlook.com>