A32: Implement ARM-mode RBIT

This commit is contained in:
Lioncash 2019-04-20 10:16:18 -04:00 committed by MerryMage
parent b2f7a0e7ba
commit 7305d13221
5 changed files with 39 additions and 3 deletions

View file

@ -589,6 +589,9 @@ public:
std::string arm_NOP() {
return "nop";
}
std::string arm_RBIT(Cond cond, Reg d, Reg m) {
return fmt::format("rbit{} {}, {}", CondToString(cond), d, m);
}
std::string arm_SEL(Cond cond, Reg n, Reg d, Reg m) {
return fmt::format("sel{} {}, {}, {}", CondToString(cond), d, n, m);
}