Fixing #105 enough to get the games moving along.

This commit is contained in:
Ben Vanik
2014-07-08 21:47:31 -07:00
parent deaf8308fc
commit fd2a1f85a6
5 changed files with 63 additions and 37 deletions

View File

@@ -268,6 +268,15 @@ void PPCHIRBuilder::UpdateCR6(Value* src_value) {
StoreContext(offsetof(PPCContext, cr6.cr6_none_equal), IsFalse(src_value));
}
Value* PPCHIRBuilder::LoadFPSCR() {
return LoadContext(offsetof(PPCContext, fpscr), INT64_TYPE);
}
void PPCHIRBuilder::StoreFPSCR(Value* value) {
XEASSERT(value->type == INT64_TYPE);
StoreContext(offsetof(PPCContext, fpscr), value);
}
Value* PPCHIRBuilder::LoadXER() {
XEASSERTALWAYS();
return NULL;