mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-06 16:31:45 +00:00
b759f25d87
Instead of a primary opcode lookup table with 64 entries and a few smaller tables with 4-2048 entries, use a single 64 * 2048 (128K) entry table to dispatch opcodes. Helps with performance, since we avoid the function call overhead for some frequently-used instructions (e.g. branch, integer, floating point). Saves ~2 seconds from the time to Welcome to Macintosh (same measurement methodology as #125) Secondarily also makes opcode registration/decoding a bit more uniform, and scannable, since it's now all in initialize_ppc_opcode_table. |
||
---|---|---|
.. | ||
genppctests.py | ||
ppcdisasmtest.csv | ||
ppcfloattest.txt | ||
ppcfloattests.csv | ||
ppcinttest.txt | ||
ppcinttests.csv | ||
ppctests.cpp | ||
testdisasm.cpp |