microinstruction: bug: Add missing opcodes

This commit is contained in:
MerryMage 2018-01-23 17:45:14 +00:00
parent bb1c5bd3b2
commit 394bd57bb6

View file

@ -113,6 +113,8 @@ bool Inst::ReadsFromCPSR() const {
case Opcode::A32GetCFlag: case Opcode::A32GetCFlag:
case Opcode::A32GetVFlag: case Opcode::A32GetVFlag:
case Opcode::A32GetGEFlags: case Opcode::A32GetGEFlags:
case Opcode::ConditionalSelect32:
case Opcode::ConditionalSelect64:
return true; return true;
default: default:
@ -147,6 +149,8 @@ bool Inst::ReadsFromCoreRegister() const {
case Opcode::A32GetExtendedRegister64: case Opcode::A32GetExtendedRegister64:
case Opcode::A64GetW: case Opcode::A64GetW:
case Opcode::A64GetX: case Opcode::A64GetX:
case Opcode::A64GetD:
case Opcode::A64GetQ:
case Opcode::A64GetSP: case Opcode::A64GetSP:
return true; return true;
@ -163,6 +167,8 @@ bool Inst::WritesToCoreRegister() const {
case Opcode::A32BXWritePC: case Opcode::A32BXWritePC:
case Opcode::A64SetW: case Opcode::A64SetW:
case Opcode::A64SetX: case Opcode::A64SetX:
case Opcode::A64SetD:
case Opcode::A64SetQ:
case Opcode::A64SetSP: case Opcode::A64SetSP:
case Opcode::A64SetPC: case Opcode::A64SetPC:
return true; return true;