[all-commits] [llvm/llvm-project] e0c7db: [MS] Preserve base register %rbx around cpuid

Pengfei Wang via All-commits all-commits at lists.llvm.org
Thu Apr 29 19:16:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0c7db7d8ce780df5129b4d0f5bbf145271ef14f
      https://github.com/llvm/llvm-project/commit/e0c7db7d8ce780df5129b4d0f5bbf145271ef14f
  Author: Wang, Pengfei <pengfei.wang at intel.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M clang/lib/Headers/intrin.h
    M clang/test/CodeGen/ms-intrinsics-cpuid.c

  Log Message:
  -----------
  [MS] Preserve base register %rbx around cpuid

This patch copies implementation from cpuid.h, which preserve base register %rbx around cpuid. It fixes PR50133.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D101338




More information about the All-commits mailing list