[all-commits] [llvm/llvm-project] 8cd812: [SystemZ] Add support for new cpu architecture - a...

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Mon Jul 26 07:58:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8cd8120a7b5d4c6f7674679b53477b51fd054a27
      https://github.com/llvm/llvm-project/commit/8cd8120a7b5d4c6f7674679b53477b51fd054a27
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsSystemZ.def
    M clang/lib/Basic/Targets/SystemZ.cpp
    M clang/lib/Basic/Targets/SystemZ.h
    M clang/lib/Headers/vecintrin.h
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/SystemZ/builtins-systemz-vector4-error.c
    A clang/test/CodeGen/SystemZ/builtins-systemz-vector4.c
    A clang/test/CodeGen/SystemZ/builtins-systemz-zvector4-error.c
    A clang/test/CodeGen/SystemZ/builtins-systemz-zvector4.c
    M clang/test/CodeGen/SystemZ/systemz-abi-vector.c
    M clang/test/CodeGen/SystemZ/systemz-abi.c
    M clang/test/CodeGen/target-data.c
    M clang/test/Driver/systemz-march.c
    M clang/test/Misc/target-invalid-cpu-note.c
    M clang/test/Preprocessor/predefined-arch-macros.c
    M llvm/include/llvm/IR/IntrinsicsSystemZ.td
    M llvm/lib/Support/Host.cpp
    M llvm/lib/Target/SystemZ/SystemZFeatures.td
    M llvm/lib/Target/SystemZ/SystemZInstrFormats.td
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
    M llvm/lib/Target/SystemZ/SystemZInstrSystem.td
    M llvm/lib/Target/SystemZ/SystemZInstrVector.td
    M llvm/lib/Target/SystemZ/SystemZProcessors.td
    M llvm/lib/Target/SystemZ/SystemZSubtarget.cpp
    M llvm/lib/Target/SystemZ/SystemZSubtarget.h
    A llvm/test/CodeGen/SystemZ/vec-intrinsics-04.ll
    A llvm/test/MC/Disassembler/SystemZ/insns-arch14.txt
    A llvm/test/MC/SystemZ/insn-bad-arch14.s
    M llvm/test/MC/SystemZ/insn-bad-z15.s
    A llvm/test/MC/SystemZ/insn-good-arch14.s
    M llvm/unittests/Support/Host.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list