A64: Implement system register CTR_EL0

This commit is contained in:
MerryMage 2018-02-20 16:44:13 +00:00
parent 58fbb3ff1b
commit 1e15283d00
6 changed files with 22 additions and 0 deletions

View file

@ -60,6 +60,9 @@ bool TranslatorVisitor::MRS(Imm<1> o0, Imm<3> op1, Imm<4> CRn, Imm<4> CRm, Imm<3
case 0b11'011'0000'0000'111: // DCZID_EL0
X(32, Rt, ir.GetDCZID());
return true;
case 0b11'011'0000'0000'001: // CTR_EL0
X(32, Rt, ir.GetCTR());
return true;
}
return InterpretThisInstruction();
}