pseudo-jit icon indicating copy to clipboard operation
pseudo-jit copied to clipboard

Reorder Opcode Table

Open nonarkitten opened this issue 2 years ago • 2 comments

Now that the opcode table is split we need to rearrange the fragments to optimize cache locality. Consult the Cyclone 68000 project for a good template to use for which opcodes to group together.

nonarkitten avatar Apr 19 '22 03:04 nonarkitten

This was partially implemented along with some mild compression. We broke the main table of 65536 opcodes into chunks of eight and then had an index into those chunks. This should now allow the table to get priority shuffled, but this part is not yet done.

nonarkitten avatar Jul 05 '22 20:07 nonarkitten

This COULD still be implemented on the stub functions for opcodes more likely to be executed. It's value is specious now, though.

nonarkitten avatar Feb 03 '23 16:02 nonarkitten