A32: Implement ARM-mode MLS

This commit is contained in:
Lioncash 2019-04-21 21:37:27 -04:00 committed by MerryMage
parent 8b338b7def
commit 7fc3bd689d
5 changed files with 25 additions and 0 deletions

View file

@ -664,6 +664,9 @@ public:
std::string arm_MLA(Cond cond, bool S, Reg d, Reg a, Reg m, Reg n) {
return fmt::format("mla{}{} {}, {}, {}, {}", S ? "s" : "", CondToString(cond), d, n, m, a);
}
std::string arm_MLS(Cond cond, Reg d, Reg a, Reg m, Reg n) {
return fmt::format("mls{} {}, {}, {}, {}", CondToString(cond), d, n, m, a);
}
std::string arm_MUL(Cond cond, bool S, Reg d, Reg m, Reg n) {
return fmt::format("mul{}{} {}, {}, {}", S ? "s" : "", CondToString(cond), d, n, m);
}