diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-09-27 19:05:08 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-09-27 19:05:08 +0000 |
commit | 23bb38f034a7ff5566c2cea6b69645f4ca40307f (patch) | |
tree | 45dc0f29dd963001763103104850a59cf287c970 /lib/Target/Mips/MipsDSPInstrFormats.td | |
parent | 465251a7ce52161adbcb6e80cb84f135dd440de9 (diff) | |
download | llvm-23bb38f034a7ff5566c2cea6b69645f4ca40307f.tar.gz llvm-23bb38f034a7ff5566c2cea6b69645f4ca40307f.tar.bz2 llvm-23bb38f034a7ff5566c2cea6b69645f4ca40307f.tar.xz |
MIPS DSP: SHLL.QB instruction sub-class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsDSPInstrFormats.td')
-rw-r--r-- | lib/Target/Mips/MipsDSPInstrFormats.td | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsDSPInstrFormats.td b/lib/Target/Mips/MipsDSPInstrFormats.td index 2c6e767cf3..b01da9bfa1 100644 --- a/lib/Target/Mips/MipsDSPInstrFormats.td +++ b/lib/Target/Mips/MipsDSPInstrFormats.td @@ -99,6 +99,21 @@ class PRECR_SRA_PH_W_FMT<bits<5> op> : DSPInst { let Inst{5-0} = 0b010001; } +// SHLL.QB sub-class format. +class SHLL_QB_FMT<bits<5> op> : DSPInst { + bits<5> rd; + bits<5> rt; + bits<5> rs_sa; + + let Opcode = SPECIAL3_OPCODE.V; + + let Inst{25-21} = rs_sa; + let Inst{20-16} = rt; + let Inst{15-11} = rd; + let Inst{10-6} = op; + let Inst{5-0} = 0b010011; +} + // DPA.W.PH sub-class format. class DPA_W_PH_FMT<bits<5> op> : DSPInst { bits<2> ac; |