Merge pull request #412 from DrChat/vrsave
Don't assert on VRSAVE mfspr/mtspr (used by gcc)
This commit is contained in:
commit
1cd8ed7db7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue