Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSP/Jit: simplify opcode table by masking #10033

Merged
merged 1 commit into from Aug 16, 2021

Conversation

Pokechu22
Copy link
Contributor

@Pokechu22 Pokechu22 commented Aug 16, 2021

This was done for the interpreter in aaa19ac. From #8831:

The DSP interpreter opcode table can be compacted a little by masking away the condition bits. This table is expanded during initialization, so no perf impact.

The exact same expansion happens with the JIT (note the std::array<JITFunction, 65536> s_op_table), so the same change can be made here.

This was done for the interpreter in aaa19ac.
@lioncash lioncash merged commit d48d6f2 into dolphin-emu:master Aug 16, 2021
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants