From 51e70be0543e8871356ff19b9097a93acf5d6ae0 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Mon, 31 Aug 2015 10:51:51 -0500 Subject: [PATCH] Don't assert on VRSAVE mfspr/mtspr (used by gcc) --- src/xenia/cpu/frontend/ppc_emit_control.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/xenia/cpu/frontend/ppc_emit_control.cc b/src/xenia/cpu/frontend/ppc_emit_control.cc index 179ab6800..a8013d9c6 100644 --- a/src/xenia/cpu/frontend/ppc_emit_control.cc +++ b/src/xenia/cpu/frontend/ppc_emit_control.cc @@ -593,6 +593,10 @@ XEEMITTER(mfspr, 0x7C0002A6, XFX)(PPCHIRBuilder& f, InstrData& i) { // CTR v = f.LoadCTR(); break; + case 256: + // VRSAVE + v = f.LoadZeroInt64(); + break; case 268: // TB v = f.LoadClock(); @@ -678,6 +682,9 @@ XEEMITTER(mtspr, 0x7C0003A6, XFX)(PPCHIRBuilder& f, InstrData& i) { // CTR f.StoreCTR(rt); break; + case 256: + // VRSAVE + break; default: XEINSTRNOTIMPLEMENTED(); return 1;