thumb32: Implement YIELD

This commit is contained in:
Lioncash 2021-02-22 07:28:18 -05:00
parent a73ea9e111
commit 48fe7afe72
3 changed files with 6 additions and 1 deletions

View file

@ -96,7 +96,7 @@ INST(thumb32_MOVT, "MOVT", "11110i101100iiii0iiidd
//INST(thumb32_MSR_reg_4, "MSR (reg)", "111100111000----10-0--00--0-----")
INST(thumb32_NOP, "NOP", "11110011101011111000000000000000")
//INST(thumb32_YIELD, "YIELD", "111100111010----10-0-00000000001")
INST(thumb32_YIELD, "YIELD", "11110011101011111000000000000001")
//INST(thumb32_WFE, "WFE", "111100111010----10-0-00000000010")
//INST(thumb32_WFI, "WFI", "111100111010----10-0-00000000011")
//INST(thumb32_SEV, "SEV", "111100111010----10-0-00000000100")

View file

@ -38,4 +38,8 @@ bool ThumbTranslatorVisitor::thumb32_UDF() {
return thumb16_UDF();
}
bool ThumbTranslatorVisitor::thumb32_YIELD() {
return thumb16_YIELD();
}
} // namespace Dynarmic::A32

View file

@ -170,6 +170,7 @@ struct ThumbTranslatorVisitor final {
bool thumb32_ISB(Imm<4> option);
bool thumb32_NOP();
bool thumb32_UDF();
bool thumb32_YIELD();
// thumb32 branch instructions
bool thumb32_BL_imm(Imm<1> S, Imm<10> hi, Imm<1> j1, Imm<1> j2, Imm<11> lo);