Hi Aleksandar, > I am glad that you want to include QEMU disas support for R5900 - this > area usually gets forgotten. > > But, as you can see, this MIPS feature is partially broken - it doesn't > handle well overlapping opcodes, and the field "membership" is not taken > into account at all. I think the feature should be fixed first, and then > R5900 support added. In fact, the disassembler support in QEMU is almost > independent on the emulation support (for the corresponding instructions) > - so, we could add disassembler support for all R5900 instructions in one > clean sweep, instead dividing that in "million" pieces. > > The key to the successful solution would be detecting what CPU is > currently being emulated, and making disassembling decision based on that. > > Let's talk about that later.
Yes, the current disassembly table needs to be reworked, so let's postpone the opcodes for the R5900. > P.S. Sorry for misspelling your name on several occasions. No problem! Fredrik