From 01ceff367a0dc43722ce9a27497329cebba994fa Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Tue, 22 Feb 2011 02:00:12 +0000 Subject: [PATCH] Add ARM encoding entries for "CMN (immediate)" and "CMN (register)" operations. llvm-svn: 126179 --- lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp index 3970222141f8..e52fe7260e6a 100644 --- a/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp +++ b/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp @@ -6216,6 +6216,10 @@ EmulateInstructionARM::GetARMOpcodeForInstruction (const uint32_t opcode) { 0x0fef0000, 0x03e00000, ARMvAll, eEncodingA1, eSize32, &EmulateInstructionARM::EmulateMVNImm, "mvn{s} , #"}, // mvn (register) { 0x0fef0010, 0x01e00000, ARMvAll, eEncodingA1, eSize32, &EmulateInstructionARM::EmulateMVNReg, "mvn{s} , {,}"}, + // cmn (immediate) + { 0x0ff0f000, 0x03700000, ARMvAll, eEncodingA1, eSize32, &EmulateInstructionARM::EmulateCMNImm, "cmn , #"}, + // cmn (register) + { 0x0ff0f010, 0x01700000, ARMvAll, eEncodingA1, eSize32, &EmulateInstructionARM::EmulateCMNReg, "cmn , {,}"}, // cmp (immediate) { 0x0ff0f000, 0x03500000, ARMvAll, eEncodingA1, eSize32, &EmulateInstructionARM::EmulateCMPImm, "cmp , #"}, // cmp (register)