[all-commits] [llvm/llvm-project] a15532: [X86] Add CPU detection for more znver2 CPUs (#74955)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Thu Dec 21 23:39:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a15532d7647a8a4b7fd2889bd97f6f72f273c4bf
      https://github.com/llvm/llvm-project/commit/a15532d7647a8a4b7fd2889bd97f6f72f273c4bf
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-12-21 (Thu, 21 Dec 2023)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model/x86.c
    M llvm/lib/TargetParser/Host.cpp

  Log Message:
  -----------
  [X86] Add CPU detection for more znver2 CPUs (#74955)

This patch adds proper detection support for more znver2 CPUs.

Specifically, this adds in support for CPUs codenamed Renoir, Lucienne,
and Mendocino.

This was originally proposedfor Renoir in
https://reviews.llvm.org/D96220 and
got approved, but slipped through the cracks. However, there is still a
demand for this feature.

In addition to adding support for more znver2 CPUs, this patch also includes
some additional refactoring and comments related to cpu model
information for zen CPUs.

Fixes https://github.com/llvm/llvm-project/issues/74934.




More information about the All-commits mailing list