[all-commits] [llvm/llvm-project] 0e6c93: [X86] Add cooperlake detection to _cpu_indicator_i...

topperc via All-commits all-commits at lists.llvm.org
Sun Jun 21 13:03:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e6c9316d4c532ba1a024bc0ea552a0b866df4f1
      https://github.com/llvm/llvm-project/commit/0e6c9316d4c532ba1a024bc0ea552a0b866df4f1
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-06-21 (Sun, 21 Jun 2020)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model.c

  Log Message:
  -----------
  [X86] Add cooperlake detection to _cpu_indicator_init.

libgcc has this enum encoding defined for a while, but their
detection code is missing. I've raised a bug with them so that
should get fixed soon.


  Commit: 42c176c32851833f32863412e74235f085adc801
      https://github.com/llvm/llvm-project/commit/42c176c32851833f32863412e74235f085adc801
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-06-21 (Sun, 21 Jun 2020)

  Changed paths:
    M clang/test/CodeGen/target-builtin-noerror.c
    M llvm/include/llvm/Support/X86TargetParser.def

  Log Message:
  -----------
  [X86] Add 'cooperlake' and 'tigerlake' to __builtin_cpu_is.

Cooperlake can be detect by compiler-rt now, but not libgcc yet.
Tigerlake can't be detected by either. Both names are accepted by
gcc. Hopefully the detection code will be in place soon.


Compare: https://github.com/llvm/llvm-project/compare/db90d315706b...42c176c32851


More information about the All-commits mailing list