diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2021-07-20 18:14:38 +0200 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2021-07-26 16:57:28 +0200 |
commit | 8cd8120a7b5d4c6f7674679b53477b51fd054a27 (patch) | |
tree | 4542272c3e8e96e37f607727586dc4a9deb9f18c /llvm/lib/Support/Host.cpp | |
parent | 7a1e73f0b9fcfec0e90aff735f0ac4cfb6b9ec41 (diff) | |
download | llvm-8cd8120a7b5d4c6f7674679b53477b51fd054a27.zip llvm-8cd8120a7b5d4c6f7674679b53477b51fd054a27.tar.gz llvm-8cd8120a7b5d4c6f7674679b53477b51fd054a27.tar.bz2 |
[SystemZ] Add support for new cpu architecture - arch14
This patch adds support for the next-generation arch14
CPU architecture to the SystemZ backend.
This includes:
- Basic support for the new processor and its features.
- Detection of arch14 as host processor.
- Assembler/disassembler support for new instructions.
- New LLVM intrinsics for certain new instructions.
- Support for low-level builtins mapped to new LLVM intrinsics.
- New high-level intrinsics in vecintrin.h.
- Indicate support by defining __VEC__ == 10304.
Note: No currently available Z system supports the arch14
architecture. Once new systems become available, the
official system name will be added as supported -march name.
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r-- | llvm/lib/Support/Host.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index 3336587a..f873ff0 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/lib/Support/Host.cpp @@ -324,8 +324,11 @@ StringRef getCPUNameFromS390Model(unsigned int Id, bool HaveVectorSupport) { return HaveVectorSupport? "z14" : "zEC12"; case 8561: case 8562: - default: return HaveVectorSupport? "z15" : "zEC12"; + case 3931: + case 3932: + default: + return HaveVectorSupport? "arch14" : "zEC12"; } } } // end anonymous namespace |