diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-08-05 11:40:31 +1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-09-04 09:49:23 +0200 |
| commit | b8eb3dd49583729edceb18628e626eac15a15de4 (patch) | |
| tree | f24a34806ca0c8cf21e12067b744654579fcd1ac /include/qemu/cpuid.h | |
| parent | 27ea28a0b369b4b14a485a5d6f045e0dc1db4e38 (diff) | |
| download | focaccia-qemu-b8eb3dd49583729edceb18628e626eac15a15de4.tar.gz focaccia-qemu-b8eb3dd49583729edceb18628e626eac15a15de4.zip | |
cpuinfo/i386: Detect GFNI as an AVX extension
We won't use the SSE GFNI instructions, so delay detection until we know AVX is present. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu/cpuid.h')
| -rw-r--r-- | include/qemu/cpuid.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qemu/cpuid.h b/include/qemu/cpuid.h index b11161555b..de7a900509 100644 --- a/include/qemu/cpuid.h +++ b/include/qemu/cpuid.h @@ -68,6 +68,9 @@ #ifndef bit_AVX512VBMI2 #define bit_AVX512VBMI2 (1 << 6) #endif +#ifndef bit_GFNI +#define bit_GFNI (1 << 8) +#endif /* Leaf 0x80000001, %ecx */ #ifndef bit_LZCNT |