Akira Hatanaka | ecfb828 | 2012-09-22 00:07:12 +0000 | [diff] [blame^] | 1 | //===- MipsDSPInstrInfo.td - DSP ASE instructions -*- tablegen ------------*-=// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file describes Mips DSP ASE instructions. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | // ImmLeaf |
| 15 | def immZExt2 : ImmLeaf<i32, [{return isUInt<2>(Imm);}]>; |
| 16 | def immZExt3 : ImmLeaf<i32, [{return isUInt<3>(Imm);}]>; |
| 17 | def immZExt4 : ImmLeaf<i32, [{return isUInt<4>(Imm);}]>; |
| 18 | def immZExt8 : ImmLeaf<i32, [{return isUInt<8>(Imm);}]>; |
| 19 | def immZExt10 : ImmLeaf<i32, [{return isUInt<10>(Imm);}]>; |
| 20 | def immSExt6 : ImmLeaf<i32, [{return isInt<6>(Imm);}]>; |