Richard Sandiford | 27d1cfe | 2013-07-19 16:09:03 +0000 | [diff] [blame] | 1 | //===-- SystemZ.td - SystemZ processors and features ---------*- tblgen -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
Ulrich Weigand | 2e5e51b | 2016-10-31 14:33:29 +0000 | [diff] [blame] | 10 | // Processor definitions. |
| 11 | // |
| 12 | // For compatibility with other compilers on the platform, each model can |
| 13 | // be identifed either by the system name (e.g. z10) or the level of the |
| 14 | // architecture the model supports, as identified by the edition level |
| 15 | // of the z/Architecture Principles of Operation document (e.g. arch8). |
| 16 | // |
| 17 | // The minimum architecture level supported by LLVM is as defined in |
| 18 | // the Eighth Edition of the PoP (i.e. as implemented on z10). |
Richard Sandiford | 27d1cfe | 2013-07-19 16:09:03 +0000 | [diff] [blame] | 19 | // |
| 20 | //===----------------------------------------------------------------------===// |
| 21 | |
Ulrich Weigand | 2e5e51b | 2016-10-31 14:33:29 +0000 | [diff] [blame] | 22 | def : ProcessorModel<"generic", NoSchedModel, []>; |
Richard Sandiford | 27d1cfe | 2013-07-19 16:09:03 +0000 | [diff] [blame] | 23 | |
Ulrich Weigand | 2e5e51b | 2016-10-31 14:33:29 +0000 | [diff] [blame] | 24 | def : ProcessorModel<"arch8", NoSchedModel, Arch8SupportedFeatures.List>; |
| 25 | def : ProcessorModel<"z10", NoSchedModel, Arch8SupportedFeatures.List>; |
Richard Sandiford | 41350a5 | 2013-12-24 15:18:04 +0000 | [diff] [blame] | 26 | |
Ulrich Weigand | 2e5e51b | 2016-10-31 14:33:29 +0000 | [diff] [blame] | 27 | def : ProcessorModel<"arch9", Z196Model, Arch9SupportedFeatures.List>; |
| 28 | def : ProcessorModel<"z196", Z196Model, Arch9SupportedFeatures.List>; |
Richard Sandiford | 27d1cfe | 2013-07-19 16:09:03 +0000 | [diff] [blame] | 29 | |
Ulrich Weigand | 2e5e51b | 2016-10-31 14:33:29 +0000 | [diff] [blame] | 30 | def : ProcessorModel<"arch10", ZEC12Model, Arch10SupportedFeatures.List>; |
| 31 | def : ProcessorModel<"zEC12", ZEC12Model, Arch10SupportedFeatures.List>; |
Richard Sandiford | a68e6f5 | 2013-07-25 08:57:02 +0000 | [diff] [blame] | 32 | |
Ulrich Weigand | 2e5e51b | 2016-10-31 14:33:29 +0000 | [diff] [blame] | 33 | def : ProcessorModel<"arch11", Z13Model, Arch11SupportedFeatures.List>; |
| 34 | def : ProcessorModel<"z13", Z13Model, Arch11SupportedFeatures.List>; |
Zhan Jun Liau | def708a | 2016-07-11 18:45:03 +0000 | [diff] [blame] | 35 | |
Ulrich Weigand | 2b3482f | 2017-07-17 17:41:11 +0000 | [diff] [blame] | 36 | def : ProcessorModel<"arch12", Z14Model, Arch12SupportedFeatures.List>; |
| 37 | def : ProcessorModel<"z14", Z14Model, Arch12SupportedFeatures.List>; |
| 38 | |