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

Optimize SPU interpreter #4223

Merged
merged 4 commits into from Mar 1, 2018
Merged

Optimize SPU interpreter #4223

merged 4 commits into from Mar 1, 2018

Conversation

Nekotekina
Copy link
Member

No description provided.

// Next instruction
pc += 4;
// Decode single instruction (may be step)
const u32 op = *reinterpret_cast<const be_t<u32>*>(base + pc);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, if you already put this optimization in your pr, I might close mine

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll wait for testing. It once almost doubled PPU performance, buf I have no idea how it will affect SPU.

@elad335 elad335 mentioned this pull request Feb 27, 2018
@Nekotekina Nekotekina force-pushed the master branch 4 times, most recently from 0525a32 to 75f4260 Compare March 1, 2018 10:52
Added operators ==, !=, >, <, >=, <=
Made SPU decoder similar to PPU decoder
Use atomic variable to sync TTY size
Implement console_putc (liblv2)
Write plaintext instead of HTML
Slightly improve performance
Fix random line breaks in TTY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants