[LLVMdev] micro mips/mips32

reed kotler rkotler at mips.com
Wed Sep 5 18:59:35 PDT 2012


The micro mips processor assembly language is basically 100% the same as 
mips32/mips64.
There are some assembler directives you add but for a base port, but 
that is all you need to do.

However, the binary instruction encoding is entirely different. There 
are a combination of 16 and 32 bit instruction encodings.

The question is, what's the best way to handle this?

Extending tablegen ?

You would want a single instruction to have multiple encodings dependent 
on the current mode we are compiler for.

Thoughts?

reed



More information about the llvm-dev mailing list