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

@ -56,7 +56,7 @@ private:
};
template <typename V>
static const std::array<Thumb1Matcher<V>, 27> g_thumb1_instruction_table {{
static const std::array<Thumb1Matcher<V>, 28> g_thumb1_instruction_table {{
#define INST(fn, name, bitstring) detail::detail<Thumb1Matcher, u16, 16>::GetMatcher<decltype(fn), fn>(name, bitstring)
@ -89,7 +89,7 @@ static const std::array<Thumb1Matcher<V>, 27> g_thumb1_instruction_table {{
{ INST(&V::thumb1_ORR_reg, "ORR (reg)", "0100001100mmmddd") },
//{ INST(&V::thumb1_MULS_rr, "MULS (rr)", "0100001101mmmddd") },
{ INST(&V::thumb1_BIC_reg, "BIC (reg)", "0100001110mmmddd") },
//{ INST(&V::thumb1_MVNS_rr, "MVNS (rr)", "0100001111mmmddd") },
{ INST(&V::thumb1_MVN_reg, "MVN (reg)", "0100001111mmmddd") },
// Special data instructions
{ INST(&V::thumb1_ADD_reg_t2, "ADD (reg, T2)", "01000100Dmmmmddd") }, // v4T, Low regs: v6T2