| commit | 8affe9a0351552e09d3718300f60db53ef65e96f | [log] [tgz] |
|---|---|---|
| author | Liu Hao <lh_mouse@126.com> | Tue May 11 00:39:58 2021 +0800 |
| committer | Ozkan Sezer <sezeroz@gmail.com> | Thu May 30 15:55:25 2024 +0300 |
| tree | 0fae676f2bf849a723b9d56943572696af34dd06 | |
| parent | b4ce5100c2ac3b38024f5053af3350c0fb678635 [diff] |
include/intrin: Don't define `__cpuid` and `__cpuidex` for GCC 11 GCC has `__cpuid` as a macro. GCC 11 has `__cpuidex` as a static inline function taking the same arguments, but without any indicative macros. Reference: https://github.com/gcc-mirror/gcc/blob/23855a176609fe8dda6abaf2b21846b4517966eb/gcc/config/i386/cpuid.h#L333 Signed-off-by: Liu Hao <lh_mouse@126.com> (cherry picked from commit d2374f898457b0f4ea8bd4084a94f2dafc87a99a)