frontend/ir/ir_emitter: Add A32 equivalent to A64's SetCheckBit

This will be used in a subsequent change to implement ARMv6T2's CBZ/CBNZ
Thumb-1 instructions.
This commit is contained in:
Lioncash 2019-05-03 18:28:02 -04:00 committed by MerryMage
parent 1c47e638fc
commit bd755ae494
7 changed files with 29 additions and 3 deletions

View file

@ -106,6 +106,10 @@ void IREmitter::SetCpsrNZCVQ(const IR::U32& value) {
Inst(Opcode::A32SetCpsrNZCVQ, value);
}
void IREmitter::SetCheckBit(const IR::U1& value) {
Inst(Opcode::A32SetCheckBit, value);
}
IR::U1 IREmitter::GetCFlag() {
return Inst<IR::U1>(Opcode::A32GetCFlag);
}