[all-commits] [llvm/llvm-project] 677da0: AArch64: add support for newer Apple CPUs

Tim Northover via All-commits all-commits at lists.llvm.org
Thu Sep 22 03:59:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 677da09d0259d7530d32e85cb561bee15f0066e2
      https://github.com/llvm/llvm-project/commit/677da09d0259d7530d32e85cb561bee15f0066e2
  Author: Tim Northover <tnorthover at apple.com>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

  Changed paths:
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/include/llvm/Support/AArch64TargetParser.def
    M llvm/lib/Target/AArch64/AArch64.td
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    M llvm/unittests/Support/TargetParserTest.cpp

  Log Message:
  -----------
  AArch64: add support for newer Apple CPUs

They're roughly ARMv8.6. This works in the .td file, but in
AArch64TargetParser.def, marking them v8.6 brings in support for the SM4
cryptographic hash and we don't actually have that. So TargetParser side
they're marked as v8.5, with the extra features (BF16 and I8MM added manually).

Finally, A16 supports the HCX extension in addition to v8.6. This has no
TargetParser implications.




More information about the All-commits mailing list