OSDN Git Service

Mips assembler: Add TwoOperandConstraint definitions
authorJack Carter <jack.carter@imgtec.com>
Thu, 16 May 2013 20:24:27 +0000 (20:24 +0000)
committerJack Carter <jack.carter@imgtec.com>
Thu, 16 May 2013 20:24:27 +0000 (20:24 +0000)
commite351865b65e92bea8ceeb32ad757d783d0ecea0f
tree79f57d33ed5bf0dc676bedb29f2c86915874d9eb
parentd761004bfd61c96ad650b82ab262e220530ea6d9
Mips assembler: Add TwoOperandConstraint definitions

This patch removes alias definition for addiu $rs,$imm
and instead uses the TwoOperandAliasConstraint field in
the ArithLogicI instruction class.

This way all instructions that inherit ArithLogicI class
have the same macro defined.

The usage examples are added to test files.

Patch by Vladimir Medic

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