[all-commits] [llvm/llvm-project] 35f7d5: [X86] Set the cpu_vendor in __cpu_indicator_init t...

topperc via All-commits all-commits at lists.llvm.org
Sat Jun 20 15:36:30 PDT 2020


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

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

  Log Message:
  -----------
  [X86] Set the cpu_vendor in __cpu_indicator_init to VENDOR_OTHER if cpuid isn't supported on the CPU.

We need to set the cpu_vendor to a non-zero value to indicate
that we already called __cpu_indicator_init once.

This should only happen on a 386 or 486 CPU.




More information about the All-commits mailing list