[all-commits] [llvm/llvm-project] 983f63: [AArch64][ARM] add Armv8.9-a/Armv9.4-a identifier ...

Ties Stuij via All-commits all-commits at lists.llvm.org
Wed Nov 16 02:24:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 983f63f7f0d1643eb138db004351a18d1b3e91a3
      https://github.com/llvm/llvm-project/commit/983f63f7f0d1643eb138db004351a18d1b3e91a3
  Author: Ties Stuij <ties.stuij at arm.com>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h
    M clang/lib/Basic/Targets/ARM.cpp
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
    A clang/test/Driver/aarch64-v89a.c
    A clang/test/Driver/aarch64-v94a.c
    M clang/test/Driver/arm-cortex-cpus-1.c
    M clang/test/Preprocessor/arm-target-features.c
    M llvm/include/llvm/ADT/Triple.h
    M llvm/include/llvm/Support/AArch64TargetParser.def
    M llvm/include/llvm/Support/ARMTargetParser.def
    M llvm/lib/Support/ARMTargetParser.cpp
    M llvm/lib/Support/ARMTargetParserCommon.cpp
    M llvm/lib/Support/Triple.cpp
    M llvm/lib/Target/AArch64/AArch64.td
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/lib/Target/ARM/ARM.td
    M llvm/lib/Target/ARM/ARMSubtarget.h
    M llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
    M llvm/unittests/Support/TargetParserTest.cpp

  Log Message:
  -----------
  [AArch64][ARM] add Armv8.9-a/Armv9.4-a identifier support

For both ARM and AArch64 add support for specifying -march=armv8.9a/armv9.4a to
clang. Add backend plumbing like target parser and predicate support.

For a summary of Amv8.9/Armv9.4 features, see:
https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/arm-a-profile-architecture-2022

For detailed information, consult the Arm Architecture Reference Manual for
A-profile architecture:
https://developer.arm.com/documentation/ddi0487/latest/

People who contributed to this patch:
- Keith Walker
- Ties Stuij

Reviewed By: tmatheson

Differential Revision: https://reviews.llvm.org/D138010




More information about the All-commits mailing list