[llvm-branch-commits] [llvm-branch] r164513 - /llvm/branches/R600/lib/Target/Mips/MipsDSPInstrInfo.td

Tom Stellard thomas.stellard at amd.com
Mon Sep 24 08:53:40 PDT 2012


Author: tstellar
Date: Mon Sep 24 10:52:02 2012
New Revision: 164513

URL: http://llvm.org/viewvc/llvm-project?rev=164513&view=rev
Log:
MIPS DSP: Add immediate leaves.

Added:
    llvm/branches/R600/lib/Target/Mips/MipsDSPInstrInfo.td

Added: llvm/branches/R600/lib/Target/Mips/MipsDSPInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/Mips/MipsDSPInstrInfo.td?rev=164513&view=auto
==============================================================================
--- llvm/branches/R600/lib/Target/Mips/MipsDSPInstrInfo.td (added)
+++ llvm/branches/R600/lib/Target/Mips/MipsDSPInstrInfo.td Mon Sep 24 10:52:02 2012
@@ -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);}]>;





More information about the llvm-branch-commits mailing list