diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-05 21:26:34 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-05 21:26:34 +0000 |
commit | d6bc5237d8c961949fbc57dfa1a07f5833262388 (patch) | |
tree | 76df05e6f75e3b5840eb319b569c8ce282cabea1 /lib/Target/Mips/Mips64InstrInfo.td | |
parent | cee46abc169226ba799c012d9f8c3bec52ccf90d (diff) | |
download | llvm-d6bc5237d8c961949fbc57dfa1a07f5833262388.tar.gz llvm-d6bc5237d8c961949fbc57dfa1a07f5833262388.tar.bz2 llvm-d6bc5237d8c961949fbc57dfa1a07f5833262388.tar.xz |
Add definitions of 64-bit extract and insert instrucions and make
PerformANDCombine and PerformOrCombine aware of them. Test cases are included
too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145853 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips64InstrInfo.td')
-rw-r--r-- | lib/Target/Mips/Mips64InstrInfo.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/Mips/Mips64InstrInfo.td b/lib/Target/Mips/Mips64InstrInfo.td index b0fb4fa184..d5676120ba 100644 --- a/lib/Target/Mips/Mips64InstrInfo.td +++ b/lib/Target/Mips/Mips64InstrInfo.td @@ -206,6 +206,9 @@ let Uses = [SP_64] in def DynAlloc64 : EffectiveAddress<"daddiu\t$rt, $addr", CPU64Regs, mem_ea_64>, Requires<[IsN64]>; +def DEXT : ExtBase<3, "dext", CPU64Regs>; +def DINS : InsBase<7, "dins", CPU64Regs>; + //===----------------------------------------------------------------------===// // Arbitrary patterns that map to one or more instructions //===----------------------------------------------------------------------===// |