[LLVMdev] micro mips/mips32

Chris Lattner clattner at apple.com
Thu Sep 6 12:22:37 PDT 2012


On Sep 6, 2012, at 2:55 AM, Reed Kotler <rkotler at mips.com> wrote:

> Micro mips is really 100% .s compatible with mips32.
> 
> There are no register field size constraints and such.
> 
> It's a strict superset of mips32. For the gcc port, the assembler is basically the only thing we changed.

In LLVM, the assembler is integrated into the compiler.  This is one major reason that duplicating the entire instruction set is the right thing to do.

> The entire .td file would have to be duplicated and just the instruction binary encoding changed.

Right, I suspect a large amount of code was added to gas to support micromips, right?

-Chris




More information about the llvm-dev mailing list