1 //===-- SystemZ.td - SystemZ processors and features ---------*- tblgen -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Processor and feature definitions.
12 //===----------------------------------------------------------------------===//
14 class SystemZFeature<string extname, string intname, string desc>
15 : Predicate<"Subtarget.has"##intname##"()">,
16 AssemblerPredicate<"Feature"##intname, extname>,
17 SubtargetFeature<extname, "Has"##intname, "true", desc>;
19 def FeatureDistinctOps : SystemZFeature<
20 "distinct-ops", "DistinctOps",
21 "Assume that the distinct-operands facility is installed"
24 def : Processor<"z10", NoItineraries, []>;
25 def : Processor<"z196", NoItineraries, [FeatureDistinctOps]>;
26 def : Processor<"zEC12", NoItineraries, [FeatureDistinctOps]>;