Use the correct format in the STW / SETPSC instruction names.
[oota-llvm.git] / lib / Target / XCore / Disassembler / XCoreDisassembler.cpp
index e785030c3871bf33945d605c4917b9e21b5b7a64..821c33da51675370d5253977e1aefe72d21f4e81 100644 (file)
@@ -401,7 +401,7 @@ DecodeL2OpInstructionFail(MCInst &Inst, unsigned Insn, uint64_t Address,
                     fieldFromInstruction(Insn, 27, 5) << 4;
   switch (Opcode) {
   case 0x0c:
-    Inst.setOpcode(XCore::STW_3r);
+    Inst.setOpcode(XCore::STW_l3r);
     return DecodeL3RInstruction(Inst, Insn, Address, Decoder);
   case 0x1c:
     Inst.setOpcode(XCore::XOR_l3r);