From ef5fc952e8de9c76ff00cd7638ae85cf709264bd Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Sat, 22 Sep 2012 00:07:12 +0000 Subject: [PATCH] MIPS DSP: Add immediate leaves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164435 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsDSPInstrInfo.td | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/Target/Mips/MipsDSPInstrInfo.td diff --git a/lib/Target/Mips/MipsDSPInstrInfo.td b/lib/Target/Mips/MipsDSPInstrInfo.td new file mode 100644 index 00000000000..1a4fd8733ae --- /dev/null +++ b/lib/Target/Mips/MipsDSPInstrInfo.td @@ -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(Imm);}]>; +def immZExt3 : ImmLeaf(Imm);}]>; +def immZExt4 : ImmLeaf(Imm);}]>; +def immZExt8 : ImmLeaf(Imm);}]>; +def immZExt10 : ImmLeaf(Imm);}]>; +def immSExt6 : ImmLeaf(Imm);}]>;