aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2024-07-11 15:57:37 -0700
committerGitHub <noreply@github.com>2024-07-11 15:57:37 -0700
commit1cafde234865cdcd37311dcd77d3ef9a3e12f177 (patch)
tree28059800ccd87cecae6275fd375b9a63ab78fba5 /clang/lib/CodeGen/CodeGenModule.cpp
parentce4aada6e2135e29839f672a6599db628b53295d (diff)
downloadllvm-1cafde234865cdcd37311dcd77d3ef9a3e12f177.zip
llvm-1cafde234865cdcd37311dcd77d3ef9a3e12f177.tar.gz
llvm-1cafde234865cdcd37311dcd77d3ef9a3e12f177.tar.bz2
[clang][X86] Add __cpuidex function to cpuid.h (#97785)
MSVC has a __cpuidex function implemented to call the underlying cpuid instruction which accepts a leaf, subleaf, and data array that the output data is written into. This patch adds this functionality into clang under the cpuid.h header. This also makes clang match GCC's behavior. GCC has had __cpuidex in its cpuid.h since 2020. This is another attempt to land https://reviews.llvm.org/D158348.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions