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

EE Cache: Shrink tag size by 4 bytes #12154

Merged
merged 1 commit into from
Jan 8, 2025
Merged

EE Cache: Shrink tag size by 4 bytes #12154

merged 1 commit into from
Jan 8, 2025

Conversation

F0bes
Copy link
Member

@F0bes F0bes commented Jan 4, 2025

Instead of storing valid PFN in a boolean in the tag struct, use one of the unused bits in the tag directly. The PS2 documentation states that these bits are unspecified.

There was an observable performance increase while doing this.

Copy link
Member

@JordanTheToaster JordanTheToaster left a comment

Choose a reason for hiding this comment

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

smells beautiful

@F0bes F0bes marked this pull request as ready for review January 8, 2025 23:34
@F0bes F0bes merged commit 16b1095 into master Jan 8, 2025
22 checks passed
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.

2 participants