mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 01:26:41 +00:00
MIPS DSP: Add immediate leaves.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164435 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
67032b27cd
commit
ef5fc952e8
20
lib/Target/Mips/MipsDSPInstrInfo.td
Normal file
20
lib/Target/Mips/MipsDSPInstrInfo.td
Normal file
@ -0,0 +1,20 @@
|
||||
//===- MipsDSPInstrInfo.td - DSP ASE instructions -*- tablegen ------------*-=//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file describes Mips DSP ASE instructions.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// ImmLeaf
|
||||
def immZExt2 : ImmLeaf<i32, [{return isUInt<2>(Imm);}]>;
|
||||
def immZExt3 : ImmLeaf<i32, [{return isUInt<3>(Imm);}]>;
|
||||
def immZExt4 : ImmLeaf<i32, [{return isUInt<4>(Imm);}]>;
|
||||
def immZExt8 : ImmLeaf<i32, [{return isUInt<8>(Imm);}]>;
|
||||
def immZExt10 : ImmLeaf<i32, [{return isUInt<10>(Imm);}]>;
|
||||
def immSExt6 : ImmLeaf<i32, [{return isInt<6>(Imm);}]>;
|
Loading…
x
Reference in New Issue
Block a user