I noticed that in function 'decode_opc()'(/target-mips/translate.c), there are
so many switch case sentence, why don't we change it to a table-driven
architecture? I've written a simple demo as following:
struct MIPSInstruction{
int op;
void (*op_func)(CPUMIPSState *, DisasContext
I noticed that in function 'decode_opc()'(/target-mips/translate.c), there are
so many switch case sentence, why don't we change it to a table-driven
architecture? I've written a simple demo as following:
struct MIPSInstruction{
int op;
void (*op_func)(CPUMIPSState *, DisasContext *