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

Fix all the current issues with the AArch64 register cache. #1065

Merged
merged 1 commit into from Sep 15, 2014

Conversation

Sonicadvance1
Copy link
Contributor

Fixes all the current issues I've been experiencing.
Scaled back the register cache idea for now so I can actually work on some real instructions.

Tested this work with unit tests so I know it works.
Unit tests are pretty great things.

@@ -29,6 +33,15 @@ ARM64Reg Arm64RegCache::GetReg(void)
return INVALID_REG;
}

u32 Arm64RegCache::GetUnlockedRegisters()

This comment was marked as off-topic.

@@ -292,6 +372,24 @@ void Arm64GPRCache::GetAllocationOrder(void)
m_host_registers.push_back(HostReg(reg));
}

void Arm64GPRCache::FlushMostStaleRegister(void)

This comment was marked as off-topic.

Fixes all the current issues I've been experiencing.
Scaled back the register cache idea for now so I can actually work on some real instructions.

Tested this work with unit tests so I know it works.
Unit tests are pretty great things.
@phire
Copy link
Member

phire commented Sep 12, 2014

Well, I can't really test this in anyway; But the code looks fine.

skidau added a commit that referenced this pull request Sep 15, 2014
Fix all the current issues with the AArch64 register cache.
@skidau skidau merged commit 1458b59 into dolphin-emu:master Sep 15, 2014
@Sonicadvance1 Sonicadvance1 deleted the AArch64-fix-regcache branch August 9, 2015 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants