Implement thumb1_MVN_reg

This commit is contained in:
MerryMage 2016-07-10 10:49:01 +08:00
parent d11df9067d
commit ac2fb6b925
3 changed files with 15 additions and 2 deletions

View file

@ -203,6 +203,10 @@ public:
return Common::StringFromFormat("bics %s, %s", RegStr(d_n), RegStr(m));
}
std::string thumb1_MVN_reg(Reg m, Reg d) {
return Common::StringFromFormat("mvns %s, %s", RegStr(d), RegStr(m));
}
std::string thumb1_ADD_reg_t2(bool d_n_hi, Reg m, Reg d_n_lo) {
Reg d_n = d_n_hi ? (d_n_lo + 8) : d_n_lo;
return Common::StringFromFormat("add %s, %s", RegStr(d_n), RegStr(m));