[PATCH] D114318: [clang] Add missing CPUID feature bit masks

Adam Bruce via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 21 03:32:37 PST 2021


adamdb5 updated this revision to Diff 388746.
adamdb5 added a comment.

Thanks for the feedback, please see the following comments:

bit_HYPERVISOR:   This seems to be standardized. See the following links:

  - https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/tlfs/feature-discovery
- https://kb.vmware.com/s/article/1009458

  		  Let me know if you think this shouldn't be added.

bit_IA64:         I'm not entirely sure where I found this. I think it might

  		  have been wikipedia or something. I have removed it.

bit_TSCADJUST:    Changed to match Intel SDM (IA32_TSC_ADJUST).

bit_FPUEXCEPT:    Changed to match Intel SDM (FDP_EXCPTN_ONLY).

bit_IA57:         Appears to be defined in June 2021 Intel SDM at Vol. 2A 3-219 (PDF page 794).

bit_AVX512VPCINT: Typo, changed to match Intel SDM (AVX512VP2INT).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114318/new/

https://reviews.llvm.org/D114318

Files:
  clang/lib/Headers/cpuid.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114318.388746.patch
Type: text/x-patch
Size: 4725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211121/2dc2b52f/attachment-0001.bin>


More information about the cfe-commits mailing list