summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZ.td
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:05:00 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:05:00 +0000
commit747052c1a5c1c2df9f1346d40eaf7aa8ddd0c506 (patch)
treecb5f313f1875b4a3091ab1668b5f1d02630cdbe2 /lib/Target/SystemZ/SystemZ.td
parent71fd2600f4731d966c7237b03a99cc0bbb1bc01e (diff)
downloadllvm-747052c1a5c1c2df9f1346d40eaf7aa8ddd0c506.tar.gz
llvm-747052c1a5c1c2df9f1346d40eaf7aa8ddd0c506.tar.bz2
llvm-747052c1a5c1c2df9f1346d40eaf7aa8ddd0c506.tar.xz
Add z9 and z10 target processors. Mark z10-only instructions as such.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZ.td')
-rw-r--r--lib/Target/SystemZ/SystemZ.td8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/SystemZ/SystemZ.td b/lib/Target/SystemZ/SystemZ.td
index a062dc67f2..7b0a9bd470 100644
--- a/lib/Target/SystemZ/SystemZ.td
+++ b/lib/Target/SystemZ/SystemZ.td
@@ -18,9 +18,8 @@ include "llvm/Target/Target.td"
//===----------------------------------------------------------------------===//
// Subtarget Features.
//===----------------------------------------------------------------------===//
-def FeatureX
- : SubtargetFeature<"dummy", "DummyFeature", "true",
- "Some feature">;
+def FeatureZ10 : SubtargetFeature<"z10", "HasZ10Insts", "true",
+ "Support Z10 instructions">;
//===----------------------------------------------------------------------===//
// SystemZ supported processors.
@@ -28,7 +27,8 @@ def FeatureX
class Proc<string Name, list<SubtargetFeature> Features>
: Processor<Name, NoItineraries, Features>;
-def : Proc<"generic", []>;
+def : Proc<"z9", []>;
+def : Proc<"z10", [FeatureZ10]>;
//===----------------------------------------------------------------------===//
// Register File Description