Add the 16 bit version of addiu. To the assembler, the 16 and 32 bit are the
authorReed Kotler <rkotler@mips.com>
Fri, 8 Feb 2013 21:42:56 +0000 (21:42 +0000)
committerReed Kotler <rkotler@mips.com>
Fri, 8 Feb 2013 21:42:56 +0000 (21:42 +0000)
commitb9bf8dca47611cf1f79713c4cddcce13113e13ca
tree8b0ebec4051e6bc2b749717cd47c916b1bd7e09f
parent2581905f8149fa79e3ca75e33f8a08d4d6a23546
Add the 16 bit version of addiu. To the assembler, the 16 and 32 bit are the
same so we put in the comment field an indicator when we think we are
emitting the 16 bit version. For the direct object emitter, the difference is
important as well as for other passes which need an accurate count of
program size. There will be other similar putbacks to this for various
instructions.

llvm-svn: 174747
llvm/lib/Target/Mips/Mips16InstrInfo.td
llvm/lib/Target/Mips/MipsInstrInfo.td
llvm/test/CodeGen/Mips/addi.ll [new file with mode: 0644]