diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:05:00 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:05:00 +0000 |
commit | 09a0de11213ce1db9f2b528a549ee09619336a96 (patch) | |
tree | cb5f313f1875b4a3091ab1668b5f1d02630cdbe2 /lib/Target/SystemZ/SystemZ.td | |
parent | 6f52154def11b0ecd4f4cfc138891dc7222cf44c (diff) | |
download | external_llvm-09a0de11213ce1db9f2b528a549ee09619336a96.zip external_llvm-09a0de11213ce1db9f2b528a549ee09619336a96.tar.gz external_llvm-09a0de11213ce1db9f2b528a549ee09619336a96.tar.bz2 |
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.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/SystemZ/SystemZ.td b/lib/Target/SystemZ/SystemZ.td index a062dc6..7b0a9bd 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 |