summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/Mips64InstrInfo.td
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-05-12 12:28:15 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-05-12 12:28:15 +0000
commitea27d2f50b1666732f2345fcb39be5f71485aa83 (patch)
treeb2dc00db94861ff4148ace4009e5e85f009686e0 /lib/Target/Mips/Mips64InstrInfo.td
parentd46b2e219d5d5aaf1707237ebf8dea976cd16396 (diff)
downloadllvm-ea27d2f50b1666732f2345fcb39be5f71485aa83.tar.gz
llvm-ea27d2f50b1666732f2345fcb39be5f71485aa83.tar.bz2
llvm-ea27d2f50b1666732f2345fcb39be5f71485aa83.tar.xz
[mips] Fold FeatureSEInReg into FeatureMips32r2
Summary: No functional change Reviewers: vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3693 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips64InstrInfo.td')
-rw-r--r--lib/Target/Mips/Mips64InstrInfo.td6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/Mips/Mips64InstrInfo.td b/lib/Target/Mips/Mips64InstrInfo.td
index fd8a92729b..e70817b0c3 100644
--- a/lib/Target/Mips/Mips64InstrInfo.td
+++ b/lib/Target/Mips/Mips64InstrInfo.td
@@ -209,8 +209,10 @@ def PseudoMFLO64 : PseudoMFLOHI<GPR64, ACC128, MipsMFLO>;
def PseudoMTLOHI64 : PseudoMTLOHI<ACC128, GPR64>;
/// Sign Ext In Register Instructions.
-def SEB64 : SignExtInReg<"seb", i8, GPR64Opnd, II_SEB>, SEB_FM<0x10, 0x20>;
-def SEH64 : SignExtInReg<"seh", i16, GPR64Opnd, II_SEH>, SEB_FM<0x18, 0x20>;
+def SEB64 : SignExtInReg<"seb", i8, GPR64Opnd, II_SEB>, SEB_FM<0x10, 0x20>,
+ ISA_MIPS32R2;
+def SEH64 : SignExtInReg<"seh", i16, GPR64Opnd, II_SEH>, SEB_FM<0x18, 0x20>,
+ ISA_MIPS32R2;
}
/// Count Leading