Current design about opcode implement hook is to hook the corresponding implement to each instruction in env->insts, which the insts is read from file.
Should it be hook on an opcode impl list, then each instruction only need to call from env->impl[opcode](...), this should be more efficient for memory usage and hooking stage.
Current design about opcode implement hook is to hook the corresponding implement to each instruction in
env->insts
, which the insts is read from file.Should it be hook on an opcode impl list, then each instruction only need to call from
env->impl[opcode](...)
, this should be more efficient for memory usage and hooking stage.