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
|
// CTR
|
||||||
v = f.LoadCTR();
|
v = f.LoadCTR();
|
||||||
break;
|
break;
|
||||||
|
case 256:
|
||||||
|
// VRSAVE
|
||||||
|
v = f.LoadZeroInt64();
|
||||||
|
break;
|
||||||
case 268:
|
case 268:
|
||||||
// TB
|
// TB
|
||||||
v = f.LoadClock();
|
v = f.LoadClock();
|
||||||
|
@ -678,6 +682,9 @@ XEEMITTER(mtspr, 0x7C0003A6, XFX)(PPCHIRBuilder& f, InstrData& i) {
|
||||||
// CTR
|
// CTR
|
||||||
f.StoreCTR(rt);
|
f.StoreCTR(rt);
|
||||||
break;
|
break;
|
||||||
|
case 256:
|
||||||
|
// VRSAVE
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
XEINSTRNOTIMPLEMENTED();
|
XEINSTRNOTIMPLEMENTED();
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue