OSDN Git Service

The Mips standalone assembler aliased instruction support.
authorJack Carter <jcarter@mips.com>
Fri, 7 Sep 2012 01:42:38 +0000 (01:42 +0000)
committerJack Carter <jcarter@mips.com>
Fri, 7 Sep 2012 01:42:38 +0000 (01:42 +0000)
commit04376ebe9f203213ef1eb4c69396fe280dc8c8b1
treee26689aef43addd63b6d4db4003b9e8876a6c8cc
parentacbea45573078631e116c2aa91e57d3a9cb2dde1
The Mips standalone assembler aliased instruction support.

The assembler can alias one instruction into another based
on the operands. For example the jump instruction "J" takes
and immediate operand, but if the operand is a register the
assembler will change it into a jump register "JR" instruction.

These changes are in the instruction td file.

Test cases included

Contributer: Vladimir Medic

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163368 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsInstrInfo.td
test/MC/Mips/mips-alu-instructions.s
test/MC/Mips/mips-jump-instructions.s