A64: PSTATE access and tests

This commit is contained in:
MerryMage 2018-01-07 14:46:35 +00:00
parent 23f3afe0b3
commit e8bcf72ee5
6 changed files with 86 additions and 2 deletions

View file

@ -125,6 +125,14 @@ public:
jit_state.SetFpcr(value);
}
u32 GetPstate() const {
return jit_state.GetPstate();
}
void SetPstate(u32 value) {
jit_state.SetPstate(value);
}
bool IsExecuting() const {
return is_executing;
}
@ -257,6 +265,14 @@ void Jit::SetFpcr(u32 value) {
impl->SetFpcr(value);
}
u32 Jit::GetPstate() const {
return impl->GetPstate();
}
void Jit::SetPstate(u32 value) {
impl->SetPstate(value);
}
bool Jit::IsExecuting() const {
return impl->IsExecuting();
}