[PATCH] [mips][microMIPS] Implement disassembler support for 16-bit instructions

Jozef Kolek jozef.kolek at rt-rk.com
Fri Nov 21 07:01:39 PST 2014


================
Comment at: lib/Target/Mips/Disassembler/MipsDisassembler.cpp:928
@@ +927,3 @@
+    RegNo = 17;
+
+  unsigned Reg = getReg(Decoder, Mips::GPR32RegClassID, RegNo);
----------------
sstankovic wrote:
> Why not use Mips::GPRMM16RegClassID?
Because we are actually using register indexes that doesn't fit into GPRMM16 set.

http://reviews.llvm.org/D6149






More information about the llvm-commits mailing list