[PATCH] D155145: [X86] Add AVX-VNNI-INT16 instructions.
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 2 20:01:19 PDT 2023
pengfei added a comment.
Thanks @anna and @craig.topper
I think we can dump the value with the simple code
$ cat cpuid.c
#include <stdio.h>
#include <cpuid.h>
int main() {
unsigned int info[4];
for (int i = 0; i < 2; ++i) {
__get_cpuid_count(7, 1, info, info + 1, info + 2, info + 3);
printf("%08x\n", info[0]);
printf("%08x\n", info[1]);
printf("%08x\n", info[2]);
printf("%08x\n", info[3]);
}
}
$ clang cpuid.c && ./a.out
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155145/new/
https://reviews.llvm.org/D155145
More information about the llvm-commits
mailing list