[all-commits] [llvm/llvm-project] a690e8: [AArch64] Add native CPU detection for Microsoft A...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Tue Jan 16 01:40:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a690e8675395563aa74d026dc5c0ecc71009f824
      https://github.com/llvm/llvm-project/commit/a690e8675395563aa74d026dc5c0ecc71009f824
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-01-16 (Tue, 16 Jan 2024)

  Changed paths:
    M llvm/lib/TargetParser/Host.cpp
    M llvm/unittests/TargetParser/Host.cpp

  Log Message:
  -----------
  [AArch64] Add native CPU detection for Microsoft Azure Cobalt 100. (#77793)

This patch extends the -mcpu/mtune=native support to handle the
Microsoft Azure Cobalt 100 CPU as a Neoverse N2. We expect users to use
-mcpu=neoverse-n2 when targeting this CPU and all the architecture and
codegen decisions to be identical.

The only difference is that the Microsoft Azure Cobalt 100 has a
different Implementer ID in the /proc/cpuinfo entry that needs to be
detected in getHostCPUNameForARM appropriately.




More information about the All-commits mailing list