?==?utf-8?q? Fw: some thoughts on nanoMIPS solution
Quoted 13 lines
Quoted 13 lines
Therefore, I think it makes sense to (more or less) split
translate.cinto, let's say, following set of files:*
translate_cmn_chk.h- definitions of (typically inlined) functionscheck_XXX()
*translate_cmn_gen.h- declarations ofgen_XXX()family of functions, and definitions of such functions among them that are inlined
*translate_cmn_gen.c- definitions of non-inlinedgen_XXX()functions (including all their callees)*
translate.h- common structure definitions such as DisasContext
*translate.c- the rest of code after splitting
Quoted 5 lines
Quoted 3 lines
The nanoMIPS code would be, in such organization, in a separate file:
*
translate_nanomips.cThis 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>