[all-commits] [llvm/llvm-project] 3550e2: [Clang][ARM][AArch64] Add support for Armv9-A, Arm...

Victor Campos via All-commits all-commits at lists.llvm.org
Mon Oct 11 09:45:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3550e242fad672696da361f7ddadf53a41114dfd
      https://github.com/llvm/llvm-project/commit/3550e242fad672696da361f7ddadf53a41114dfd
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

  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
    M clang/test/Driver/aarch64-cpus.c
    M clang/test/Driver/arm-cortex-cpus.c
    M clang/test/Preprocessor/aarch64-target-features.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/AArch64TargetParser.cpp
    M llvm/lib/Support/ARMTargetParser.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/AArch64Subtarget.h
    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/test/MC/AArch64/SME/directives-negative.s
    M llvm/test/MC/AArch64/SME/directives.s
    M llvm/test/MC/AArch64/SVE2/directive-arch-negative.s
    M llvm/test/MC/AArch64/SVE2/directive-arch.s
    M llvm/unittests/Support/TargetParserTest.cpp

  Log Message:
  -----------
  [Clang][ARM][AArch64] Add support for Armv9-A, Armv9.1-A and Armv9.2-A

armv9-a, armv9.1-a and armv9.2-a can be targeted using the -march option
both in ARM and AArch64.

 - Armv9-A maps to Armv8.5-A.
 - Armv9.1-A maps to Armv8.6-A.
 - Armv9.2-A maps to Armv8.7-A.
 - The SVE2 extension is enabled by default on these architectures.
 - The cryptographic extensions are disabled by default on these
 architectures.

The Armv9-A architecture is described in the ArmĀ® Architecture Reference
Manual Supplement Armv9, for Armv9-A architecture profile
(https://developer.arm.com/documentation/ddi0608/latest).

Reviewed By: SjoerdMeijer

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




More information about the All-commits mailing list